Skip to content

[DBAAS-8750] | Whitelist mysql_up in dbaas metrics for Advanced MySQL data-plane alerting - #358

Merged
agarg291 merged 1 commit into
digitalocean:masterfrom
shivamp296:shivampatel/DBAAS-8750-whitelist-mysql-up-in-do-agent
Jul 3, 2026
Merged

[DBAAS-8750] | Whitelist mysql_up in dbaas metrics for Advanced MySQL data-plane alerting#358
agarg291 merged 1 commit into
digitalocean:masterfrom
shivamp296:shivampatel/DBAAS-8750-whitelist-mysql-up-in-do-agent

Conversation

@shivamp296

Copy link
Copy Markdown
Contributor

Summary

Adds mysql_up to dbaasWhitelist so the mysqld_exporter up gauge is forwarded when do-agent scrapes --dbaas-metrics-path.

Why

mysql_up is the MySQL equivalent of the already-whitelisted pg_up (1 = MySQL reachable, 0 = not). The exporter emits it, but do-agent currently drops it before metrics reach Insights/metis.

Needed for Advanced MySQL data-plane paging alerts (same pattern as Advanced PG pg_up).

Test plan

  • go test ./cmd/do-agent/... ./pkg/collector/...

@shivamp296
shivamp296 requested a review from a team as a code owner July 2, 2026 05:56

@rshahdo rshahdo left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

LGTM

@agarg291
agarg291 merged commit bc91446 into digitalocean:master Jul 3, 2026
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