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

bulkio: Correctly export backup specific metrics. #57488

Merged
merged 1 commit into from
Dec 3, 2020

Conversation

miretskiy
Copy link
Contributor

Fixes #57459

Fix backup metrics struct to be compatible with metrics registry,
which expects all metrics to be exported struct fields, and embedded
structs to implement "metrics.Struct" interface.

Release Note: Correctly export schedules_BACKUP_* metrics as well
as backup RPO metric.

@miretskiy miretskiy requested review from dt and a team December 3, 2020 18:10
@cockroach-teamcity
Copy link
Member

This change is Reviewable

Fix backup metrics struct to be compatible with metrics registry,
which expects all metrics to be exported struct fields, and embedded
structs to implement "metrics.Struct" interface.

Release Note: Correctly export schedules_BACKUP_* metrics as well
as backup RPO metric.
@miretskiy
Copy link
Contributor Author

bors r+

@craig
Copy link
Contributor

craig bot commented Dec 3, 2020

Build succeeded:

@craig craig bot merged commit 1421d00 into cockroachdb:master Dec 3, 2020
@rafiss rafiss added this to the 20.2 milestone Apr 22, 2021
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.

Scheduled backups do not create prometheus metrics
4 participants