Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add K8s resoure attributes to apm services #49

Merged
merged 1 commit into from
Aug 14, 2024

Conversation

rogercoll
Copy link
Collaborator

Changes

Adds the k8s.node.name resource attribute (among others) to all the APM services, this will be used as hostname by the apm server.

Merge Requirements

For new features contributions, please make sure you have completed the following
essential items:

  • CHANGELOG.md updated to document new feature additions
  • Appropriate documentation updates in the docs
  • Appropriate Helm chart updates in the helm-charts

Maintainers will not merge until the above have been completed. If you're unsure
which docs need to be changed ping the
@open-telemetry/demo-approvers.

@@ -37,7 +37,7 @@ data:
resourcedetection/gcp:
detectors: [env, gcp]
timeout: 2s
override: false
override: true
Copy link
Collaborator Author

@rogercoll rogercoll Aug 14, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ensures that the host.name is the instance name. (also k8s.node.name)

@rogercoll rogercoll requested a review from ChrsMark August 14, 2024 13:13
Copy link
Member

@ChrsMark ChrsMark left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good!

@rogercoll rogercoll merged commit 159ff0a into elastic:main Aug 14, 2024
22 of 23 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants