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

Map cluster name to DB instance #150

Merged
merged 2 commits into from
Sep 14, 2023
Merged

Conversation

stevejgordon
Copy link
Contributor

We recently added two additional OTel attributes to the Elasticsearch semantic conventions. db.elasticsearch.cluster.name is used to pass back the cluster name if it is identifiable from response headers. Per out agent spec, we need to map this, when present, to the db.instance field. This PR maps the data from the attribute.

@stevejgordon stevejgordon requested a review from a team as a code owner September 13, 2023 07:05
@carsonip carsonip changed the title Map cluster name to DB insance Map cluster name to DB instance Sep 13, 2023
@axw axw enabled auto-merge (squash) September 14, 2023 02:36
@axw axw merged commit 4c1dc48 into elastic:main Sep 14, 2023
2 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