Skip to content

Commit

Permalink
Update specification/compatibility/prometheus_and_openmetrics.md
Browse files Browse the repository at this point in the history
Co-authored-by: David Ashpole <[email protected]>
  • Loading branch information
asafm and dashpole authored Nov 21, 2023
1 parent fe19c4c commit c7546c2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions specification/compatibility/prometheus_and_openmetrics.md
Original file line number Diff line number Diff line change
Expand Up @@ -386,8 +386,8 @@ OpenMetrics exemplar unless they would exceed the OpenMetrics
In SDK Prometheus (pull) exporters, resource attributes SHOULD be converted to
a single [`target_info` metric](https://github.com/OpenObservability/OpenMetrics/blob/main/specification/OpenMetrics.md#supporting-target-metadata-in-both-push-based-and-pull-based-systems)
if the resource is not [empty](../resource/sdk.md#the-empty-resource);
The resource attributes MAY be copied as labels of exported metric families,
as defined by an SDK configuration. The target_info metric MUST be an info-typed
The resource attributes MAY be copied to labels of exported metric families,
if required by the exporter configuration, or MUST be dropped. The target_info metric MUST be an info-typed
metric whose labels MUST include the resource attributes, and MUST NOT include
any other labels. There MUST be at most one target_info metric exposed on an SDK
Prometheus endpoint.
Expand Down

0 comments on commit c7546c2

Please sign in to comment.