You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
My environment is deployed on Kubernetes.
Version : Chart Helm opentelemetry-collector-0.111.1 app Version : 0.115.1
I would like to collect metrics from a Redis database and enrich the labels using environment variables defined in the Redis containers.
In the Redis containers, the env OTEL_RESOURCE_ATTRIBUTES="myenv=redis" is defined
My configuration is as follows:
I am using the Redis receiver
receivers:
redis:
endpoint: "redis-otlp-tcp:6379"
collection_interval: 10s
password: pwd
username: user
In the processors, I use the environment and system detectors.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Hi,
My environment is deployed on Kubernetes.
Version : Chart Helm opentelemetry-collector-0.111.1 app Version : 0.115.1
I would like to collect metrics from a Redis database and enrich the labels using environment variables defined in the Redis containers.
In the Redis containers, the env OTEL_RESOURCE_ATTRIBUTES="myenv=redis" is defined
My configuration is as follows:
I am using the Redis receiver
In the processors, I use the environment and system detectors.
My pipeline
Issues
In the Resource Attributes, I can only get information related to the system, not the env
Maybe my configuration is incorrect or incomplete
Thanks for your support
Beta Was this translation helpful? Give feedback.
All reactions