Skip to content

database_observability: add cloud provider labels to all metrics#5057

Closed
matthewnolf wants to merge 1 commit into
mainfrom
mn/csp-labels-3
Closed

database_observability: add cloud provider labels to all metrics#5057
matthewnolf wants to merge 1 commit into
mainfrom
mn/csp-labels-3

Conversation

@matthewnolf
Copy link
Copy Markdown
Contributor

PR Description

Followup to #4942 - with verified git commit.

This change adds cloud provider information as labels to all metrics exported by the database_observability components. This enables more effective correlation and attribution across Grafana Cloud.

Some of the implementation is duplicated across MySQL and Postgres components. The reasoning being that cloud-providers sometimes vary their naming / URI structure to include engine information. Keeping things strongly tied to the database engine helps make this determination easier.

Which issue(s) this PR fixes

Notes to the Reviewer

PR Checklist

  • CHANGELOG.md updated
  • Documentation added
  • Tests updated
  • Config converters updated

@matthewnolf matthewnolf requested review from a team as code owners December 10, 2025 12:59
@matthewnolf matthewnolf changed the title add cloud-provider labels to target metrics database_observability: add cloud provider labels to all metrics Dec 10, 2025
@matthewnolf matthewnolf deleted the mn/csp-labels-3 branch December 10, 2025 13:24
@github-actions github-actions Bot locked as resolved and limited conversation to collaborators Dec 25, 2025
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant