Skip to content

compute: adjust reconciliation metrics#20939

Merged
teskje merged 1 commit into
MaterializeInc:mainfrom
teskje:reconciliation-metrics
Aug 3, 2023
Merged

compute: adjust reconciliation metrics#20939
teskje merged 1 commit into
MaterializeInc:mainfrom
teskje:reconciliation-metrics

Conversation

@teskje

@teskje teskje commented Aug 2, 2023

Copy link
Copy Markdown
Contributor

This PR makes two adjustments to the compute reconciliation metrics, as proposed in the design doc.

  • renames them to bring them in line with the Prometheus naming conventions
  • adds a worker_id label to bring them in line with the other metrics exported by replicas

Motivation

  • This PR adds a known-desirable feature.

Part of MaterializeInc/database-issues#5547.

Tips for reviewer

This includes a metrics rename, so it can potentially break existing metrics. I doubt that any dashboard uses reconciliation metrics currently, but I will find a way to verify this.

Checklist

  • This PR has adequate test coverage / QA involvement has been duly considered.
  • This PR has an associated up-to-date design doc, is a design doc (template), or is sufficiently small to not require a design.
  • If this PR evolves an existing $T ⇔ Proto$T mapping (possibly in a backwards-incompatible way), then it is tagged with a T-proto label.
  • If this PR will require changes to cloud orchestration, there is a companion cloud PR to account for those changes that is tagged with the release-blocker label (example).
  • This PR includes the following user-facing behavior changes:
    • N/A

@teskje teskje force-pushed the reconciliation-metrics branch from 01f2765 to 5f635ce Compare August 2, 2023 13:05
@teskje teskje marked this pull request as ready for review August 2, 2023 13:54
@teskje teskje requested a review from a team August 2, 2023 13:54
@teskje

teskje commented Aug 2, 2023

Copy link
Copy Markdown
Contributor Author

I think all failing tests are unrelated to the changes in this PR, so this should be ready to review.

@teskje teskje requested review from antiguru and vmarcos August 2, 2023 13:54
This commit makes two adjustments to the compute reconciliation metrics:
 * renames them to bring them in line with the Prometheus naming
   conventions
 * adds a `worker_id` label to bring them in line with the other metrics
   exported by replicas
@teskje teskje force-pushed the reconciliation-metrics branch from 5f635ce to a0f741a Compare August 3, 2023 07:59
@teskje

teskje commented Aug 3, 2023

Copy link
Copy Markdown
Contributor Author

TFTR!

@teskje teskje merged commit ea4ff60 into MaterializeInc:main Aug 3, 2023
@teskje teskje deleted the reconciliation-metrics branch August 3, 2023 08:35
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.

2 participants