Skip to content

Prometheus exporter emits target_info for Resource #3073

Closed

Description

@dashpole

From the spec for handling resource in prometheus exporters:

In SDK Prometheus (pull) exporters, resource attributes SHOULD be converted to a single target_info metric; otherwise, they MUST be dropped, and MUST NOT be attached as labels to other metric families. 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.

Activity

  1. nerstak commented on May 13, 2023

    @nerstak
    Contributor

    Oops, forgot to mention I was taking this issue. My bad

  2. ocelotl commented on Jun 7, 2023

    @ocelotl
    Contributor

    Assigned you, @nerstak

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Type

No type

Fields

Priority

None yet

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions