[processor/resourcedetection] instance hostname missing on GKE with new detector #12354
Labels
bug
Something isn't working
comp:google
Google Cloud components
processor/resourcedetection
Resource detection processor
Describe the bug
Before #10347, someone using the
gke
andgce
detectors would have the instance hostname on GKE. After this change, the newgcp
detector would not add this attribute. This is a regression on v0.55.0, and also makes it difficult for people to transition to the new detector.Datadog needs this attribute in order to correctly correlate telemetry reported by the Collector with telemetry reported by the Datadog GCP integration, which uses this as part of the hostname.
Steps to reproduce
Add the
gke
andgce
detectors to your Collector on a GKE cluster.What did you expect to see?
The
host.name
attribute would be present as it happened on v0.54.0 and belowWhat did you see instead?
The
host.name
attribute is missing.What version did you use?
v0.55.0
What config did you use?
Environment
v0.55.0 Docker image
The text was updated successfully, but these errors were encountered: