Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add job and instance as well-known attribute in prometheus receiver (#…
…2897) In Prometheus, `job` and `instance` are the two auto generated labels, however they are both dropped by prometheus receiver. Although these information is still available in `service.name` and `host`:`port`, it breaks the data contract for most Prometheus users (who use `job` and `instance` to consume metrics in their own system). This PR adds `job` and `instance` as well-known labels in prometheus receiver to fix the issue. **Link to tracking Issue:** #575 #2499 #2363 open-telemetry/prometheus-interoperability-spec#7
- Loading branch information