Skip to content

service-graph: Support the new db.namespace attribute - #5602

Merged
joe-elliott merged 2 commits into
grafana:mainfrom
gouthamve:servicegraph-db-namespace-attribute
Sep 4, 2025
Merged

service-graph: Support the new db.namespace attribute#5602
joe-elliott merged 2 commits into
grafana:mainfrom
gouthamve:servicegraph-db-namespace-attribute

Conversation

@gouthamve-but-enterprise

@gouthamve-but-enterprise gouthamve-but-enterprise commented Sep 3, 2025

Copy link
Copy Markdown
Contributor

What this PR does:

The latest DB semantic conventions have renamed the db.name attribute to db.namespace.

This updates the service graph to support the new attribute.

Checklist

  • Tests updated
  • Documentation added
  • CHANGELOG.md updated - the order of entries should be [CHANGE], [FEATURE], [ENHANCEMENT], [BUGFIX]
The latest DB semantic conventions have renamed the `db.name` attribute
to `db.namespace`.

This updates the service graph to support the new attribute.

Signed-off-by: gouthamve <gouthamve@gmail.com>
@mapno

mapno commented Sep 3, 2025

Copy link
Copy Markdown
Contributor

Could you add a changelog entry? 🙏

@joe-elliott

Copy link
Copy Markdown
Collaborator
Signed-off-by: gouthamve <gouthamve@gmail.com>
@gouthamve-but-enterprise

Copy link
Copy Markdown
Contributor Author

I've updated the CHANGELOG and docs.

@joe-elliott I already updated that test with the attribute, is there something that is missing?

@joe-elliott

Copy link
Copy Markdown
Collaborator

Nope. I think i just missed it when I glanced at the PR. Apologies!

Thanks, Goutham 🙏

@joe-elliott
joe-elliott merged commit 5509028 into grafana:main Sep 4, 2025
23 checks passed
mattdurham pushed a commit to mattdurham/tempo that referenced this pull request Jun 18, 2026
* service-graph: Support the new `db.namespace` attribute

The latest DB semantic conventions have renamed the `db.name` attribute
to `db.namespace`.

This updates the service graph to support the new attribute.

Signed-off-by: gouthamve <gouthamve@gmail.com>

* Update changelog and docs

Signed-off-by: gouthamve <gouthamve@gmail.com>

---------

Signed-off-by: gouthamve <gouthamve@gmail.com>
Co-authored-by: gouthamve <gouthamve@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

5 participants