Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[exporter/prometheus] add with_resource_as_constant_labels
This add support for the following from the spec: > A Prometheus Exporter MAY offer configuration to add > resource attributes as metric attributes. By default, > it MUST NOT add any resource attributes as metric > attributes. The configuration SHOULD allow the user > to select which resource attributes to copy (e.g. > include / exclude or regular expression based). Copied > Resource attributes MUST NOT be excluded from target_info. Signed-off-by: Alex Boten <aboten@lightstep.com>
- Loading branch information