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

Report the number of times a feature is used as a metric #8342

Merged
merged 2 commits into from
Feb 15, 2025

Conversation

msullivan
Copy link
Member

Currently we only report how many branches it is used in total.

Also report how many branches have their schemas introspected
currently. This is helpful here because we only get feature count
info from introspected branches.

Currently we only report how many branches it is used in total.

Also report how many branches have their schemas introspected
currently.  This is helpful here because we only get feature count
info from introspected branches.
'feature_used_branch_count_current',
'How many branches a schema feature is used by.',
labels=('tenant', 'feature'),
)
feature_used = registry.new_labeled_gauge(
'feature_used_num_count_current',
'How many branches a schema feature is used by.',
Copy link
Contributor

Choose a reason for hiding this comment

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

can you update this description so it's not the same as the other one?

@msullivan msullivan added the to-backport-6.x PRs that *should* be backported to 6.x label Feb 15, 2025
@msullivan msullivan merged commit f2b7be8 into master Feb 15, 2025
23 checks passed
@msullivan msullivan deleted the more-metrics branch February 15, 2025 00:58
deepbuzin pushed a commit that referenced this pull request Feb 18, 2025
Currently we only report how many branches it is used in total.

Also report how many branches have their schemas introspected
currently.  This is helpful here because we only get feature count
info from introspected branches.
@msullivan msullivan added backported-6.x PRs that *have* been backported to 6.x and removed to-backport-6.x PRs that *should* be backported to 6.x labels Feb 21, 2025
msullivan added a commit that referenced this pull request Feb 21, 2025
Currently we only report how many branches it is used in total.

Also report how many branches have their schemas introspected
currently.  This is helpful here because we only get feature count
info from introspected branches.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
backported-6.x PRs that *have* been backported to 6.x
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants