Skip to content

Emit event and partition metrics from the catalog #2363

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

Merged
merged 1 commit into from
Jun 20, 2022

Conversation

dominiklohmann
Copy link
Member

This adds catalog.num-{events,partitions} metrics to the output of the catalog, both containing the schema name and the partition version in the metrics metadata under metadata_schema and metadata_partition-version respectively.

📝 Checklist

  • All user-facing changes have changelog entries.
  • The changes are reflected on docs.tenzir.com/vast, if necessary.
  • The PR description contains instructions for the reviewer, if necessary.

🎯 Review Instructions

@tobim we talked about having such a metric this morning, and I happened to need this for debugging another thing I was looking at, so I figured I'd just create a quick PR for this.

I think the review should be straightforward. I tested this locally by looking at the metrics.log file and verifying the numbers match what's in the status output.

This adds `catalog.num-{events,partitions}` metrics to the output of the
catalog, both containing the schema name and the partition version in the
metrics metadata under `metadata_schema` and `metadata_partition-version`
respectively.
@dominiklohmann dominiklohmann force-pushed the topic/catalog-metrics branch from ad8cd85 to 74b855a Compare June 20, 2022 12:37
Copy link
Member

@tobim tobim left a comment

Choose a reason for hiding this comment

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

Looks promising. Looking forward to seeing this on a dashboard.

@dominiklohmann dominiklohmann enabled auto-merge June 20, 2022 13:30
@dominiklohmann dominiklohmann merged commit fde083c into master Jun 20, 2022
@dominiklohmann dominiklohmann deleted the topic/catalog-metrics branch June 20, 2022 13:48
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