Documentation ¶
Index ¶
Constants ¶
View Source
const ( // Raw constant for DataType Raw = "raw" // Rate constant for DataType Rate = "rate" // Histogram constant for DataType Histogram = "histogram" )
Variables ¶
View Source
var KialiMonitoringGroupVersion = schema.GroupVersion{
Group: "monitoring.kiali.io",
Version: "v1alpha1",
}
Functions ¶
This section is empty.
Types ¶
type MonitoringDashboard ¶
type MonitoringDashboard struct { meta_v1.TypeMeta `json:",inline"` meta_v1.ObjectMeta `json:"metadata"` Spec MonitoringDashboardSpec `json:"spec"` }
func (*MonitoringDashboard) DeepCopy ¶
func (in *MonitoringDashboard) DeepCopy() *MonitoringDashboard
func (*MonitoringDashboard) DeepCopyInto ¶
func (in *MonitoringDashboard) DeepCopyInto(out *MonitoringDashboard)
func (*MonitoringDashboard) DeepCopyObject ¶
func (in *MonitoringDashboard) DeepCopyObject() runtime.Object
type MonitoringDashboardChart ¶
type MonitoringDashboardChart struct { Name string `json:"name"` Unit string `json:"unit"` Spans int `json:"spans"` MetricName string `json:"metricName"` DataType string `json:"dataType"` // DataType is either "raw", "rate" or "histogram" Aggregator string `json:"aggregator"` // Aggregator can be set for raw data. Ex: "sum", "avg". See https://prometheus.io/docs/prometheus/latest/querying/operators/#aggregation-operators Aggregations []MonitoringDashboardAggregation `json:"aggregations"` }
type MonitoringDashboardItem ¶
type MonitoringDashboardItem struct { // Items are exclusive: either Include or Chart must be set (if both are set, Chart will be ignored) // Include is a reference to another dashboard and/or chart // Ex: "microprofile-1.0" will include the whole dashboard named "microprofile-1.0" at this position // "microprofile-1.0$Thread count" will include only the chart named "Thread count" from that dashboard at this position Include string `json:"include"` Chart MonitoringDashboardChart `json:"chart"` }
type MonitoringDashboardSpec ¶
type MonitoringDashboardSpec struct { Title string `json:"title"` Runtime string `json:"runtime"` DiscoverOn string `json:"discoverOn"` Items []MonitoringDashboardItem `json:"items"` }
type MonitoringDashboardsList ¶
type MonitoringDashboardsList struct { meta_v1.TypeMeta `json:",inline"` meta_v1.ListMeta `json:"metadata"` Items []MonitoringDashboard `json:"items"` }
func (*MonitoringDashboardsList) DeepCopy ¶
func (in *MonitoringDashboardsList) DeepCopy() *MonitoringDashboardsList
func (*MonitoringDashboardsList) DeepCopyInto ¶
func (in *MonitoringDashboardsList) DeepCopyInto(out *MonitoringDashboardsList)
func (*MonitoringDashboardsList) DeepCopyObject ¶
func (in *MonitoringDashboardsList) DeepCopyObject() runtime.Object
Click to show internal directories.
Click to hide internal directories.