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

Adding regex pattern to the APM-to-Elasticsearch relationship configuration #1796

Merged
merged 8 commits into from
Dec 4, 2024

Conversation

AravindKumar8520
Copy link
Contributor

Relevant information

Summary

This PR adds a new attribute server.address with a regex pattern to the APM-to-Elasticsearch relationship configuration.

Changes

  • Attribute Added: server.address
  • Regex Pattern: ^search-[a-zA-Z0-9-]+-[a-zA-Z0-9]+\.([a-zA-Z0-9-]+)\.es\.amazonaws\.com$

Details

The regex pattern matches Elasticsearch server addresses like search-example-1234.us-west-2.es.amazonaws.com.

Implementation

attribute: server.address
regex: ^search-[a-zA-Z0-9-]+-[a-zA-Z0-9]+\.([a-zA-Z0-9-]+)\.es\.amazonaws\.com$

Notes

  • Enhances the identification of Elasticsearch instances in APM data.

Please review and provide feedback. Thank you!

Checklist

  • I've read the guidelines and understand the acceptance criteria.
  • The value of the attribute marked as identifier will be unique and valid.
  • I've confirmed that my entity type wasn't already defined. If it is I'm providing an explanation above.

github-actions[bot]
github-actions bot previously approved these changes Nov 25, 2024
@AravindKumar8520 AravindKumar8520 changed the title Nr 293100 2 Adding regex pattern to the APM-to-Elasticsearch relationship configuration Nov 25, 2024
@apoloa apoloa merged commit 0e6c344 into newrelic:main Dec 4, 2024
4 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.

3 participants