Open nscriptdotgo opened 1 year ago
I'm not sure how OTEL_RESOURCE_ATTRIBUTES
would be affecting the collector's pipeline, though. If that variable exists on the Collector sidecar then it will affect the collector's telemetry about itself, but it will not affect the telemetry that the collector is processing.
Does the data the collector is processing actually have an attribute called k8s-cluster
on it? You resourceprocessor needs that attribute to be present in order to set a new attribute called k8s.cluster.name
.
Hello,
I am using the operator, and have many dotnet services I would like to instrument. I have traces getting sent to Grafana Tempo, however I am trying to add the cluster name attribute via Collector CRD config and I believe the OTEL_RESOURCE_ATTRIBUTES env var that is created from the sidecar injection is totally overriding whatever I put in the config which is below (trying to insert the k8s cluster name)