Skip to content

Commit 7e9f47e

Browse files
Update content/docs/guides/opentelemetry.md
Co-authored-by: Jesus Vazquez <[email protected]> Signed-off-by: Arve Knudsen <[email protected]>
1 parent 415941c commit 7e9f47e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

content/docs/guides/opentelemetry.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,7 @@ target_info
8282

8383
What happens in this query is that the time series resulting from `rate(http_server_request_duration_seconds_count[2m])` are augmented with the `k8s_cluster_name` label from the `target_info` series that share the same `job` and `instance` labels.
8484
In other words, the `job` and `instance` labels are shared between `http_server_request_duration_seconds_count` and `target_info`, akin to SQL foreign keys.
85-
The `k8s_cluster_name` label, OTOH, corresponds to the OTel resource attribute `k8s.cluster.name` (Prometheus converts dots to underscores).
85+
The `k8s_cluster_name` label, On the other hand, corresponds to the OTel resource attribute `k8s.cluster.name` (Prometheus converts dots to underscores).
8686

8787
So, what is the relation between the `target_info` metric and OTel resource attributes?
8888
When Prometheus processes an OTLP write request, and provided that contained resources include the attributes `service.instance.id` and/or `service.name`, Prometheus generates the info metric `target_info` for every (OTel) resource.

0 commit comments

Comments
 (0)