You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: modules/distr-tracing-tempo-config-spanmetrics.adoc
+19-11Lines changed: 19 additions & 11 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -93,30 +93,38 @@ spec:
93
93
<1> Enables the monitoring tab in the Jaeger console.
94
94
<2> The service name for Thanos Querier from user-workload monitoring.
95
95
96
-
== Enable alerting on span RED metrics
96
+
== Span RED metrics and alerting rules
97
97
98
-
The metrics generated by the `spanmetrics` connector can be used in alerting rules. For instance to alert on a slow service or define service level objectives (SLOs).
99
-
The connector creates `duration_bucket` histogram and `calls` counter metric. These metrics have labels that identify service, API name, operation type and other attributes.
98
+
The metrics generated by the `spanmetrics` connector are usable with alerting rules. For example, for alerts about a slow service or to define service level objectives (SLOs), the connector creates a `duration_bucket` histogram and the `calls` counter metric. These metrics have labels that identify the service, API name, operation type, and other attributes.
100
99
101
-
.Labels present on the metrics created oin the `spanmetrics` connector.
100
+
.Labels of the metrics created in the `spanmetrics` connector
102
101
[options="header"]
103
102
[cols="l, a, a"]
104
103
|===
105
104
|Label |Description |Values
105
+
106
106
|service_name
107
-
|Service name set by `otel_service_name` environment variable.
107
+
|Service name set by the `otel_service_name` environment variable.
108
108
|`frontend`
109
109
110
110
|span_name
111
111
| Name of the operation.
112
-
|`/`, `/customer`
112
+
|
113
+
* `/`
114
+
* `/customer`
113
115
114
116
|span_kind
115
-
| Span kind identifies the server, client, messaging or internal operation.
<1> The expression to check if 95% of frontend server response time is below 2000 ms. The time range (`[5m]`) should be at least four times the scrape interval and long enough to accommodate change in the metric.
146
+
<1> The expression for checking if 95% of the front-end server response time values are below 2000 ms. The time range (`[5m]`) must be at least four times the scrape interval and long enough to accommodate a change in the metric.
0 commit comments