-
Notifications
You must be signed in to change notification settings - Fork 9.7k
Closed
Description
Proposal
On Prometheus version 3.0,
We can export Otel metrics to Prometheus.
To promote the resource attributes
we need to configure it. For example:
otlp:
promote_resource_attributes:
- service.instance.id
- deployment.environment
- k8s.cluster.name
I would like to propose a new configuration field to allow promoting all the resource attributes
as metric attribute
. Something like
otlp:
promote_resource_attributes_all: true
In Cisco ThousandEyes, in our use case, we add new resource attributes
from time to time. So we need to notify the customer to modify their configuration with the latest resource attribute
.
So, this feature would be really useful for us.
I would like to contribute and do the code chagnes if I am allowed.
- Limitation
otlp.promote_resource_attributes
andotlp.promote_resource_attributes_all
cannot be configured simultaneously. - Default
otlp.promote_resource_attributes_all
:false
pavolloffay and adrianliechti