Documentation
¶
Index ¶
Constants ¶
View Source
const ( // Metrics. PromSLIErrorMetricFmt = "slo:sli_error:ratio_rate%s" // Labels. PromSLONameLabelName = "sloth_slo" PromSLOIDLabelName = "sloth_id" PromSLOServiceLabelName = "sloth_service" PromSLOWindowLabelName = "sloth_window" PromSLOSeverityLabelName = "sloth_severity" PromSLOVersionLabelName = "sloth_version" PromSLOModeLabelName = "sloth_mode" PromSLOSpecLabelName = "sloth_spec" PromSLOObjectiveLabelName = "sloth_objective" )
Prometheus metrics conventions.
Variables ¶
This section is empty.
Functions ¶
func GetSLIErrorMetric ¶
GetSLIErrorMetric returns the SLI error Prometheus metric name.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.