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

feat: add new metrics #180

Merged
merged 1 commit into from
Oct 6, 2023

Conversation

bavarianbidi
Copy link
Contributor

add info metrics about providers, enterprises, organizations, repositories and pools.

Also expose most of the configurable pool information as metric like e.g. max Runners as garm_pool_max_runners

Copy link
Member

@gabriel-samfira gabriel-samfira left a comment

Choose a reason for hiding this comment

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

This looks great! There is one small nit that happens in most collectors. You can replace // continue anyway with a simple return and get the same effect.

metrics/enterprise.go Outdated Show resolved Hide resolved
add info metrics about providers, enterprises, organizations,
repositories and pools.

Also expose most of the configurable pool information as metric like
e.g. max Runners as garm_pool_max_runners

Signed-off-by: Mario Constanti <mario.constanti@mercedes-benz.com>
@gabriel-samfira gabriel-samfira merged commit 7fda604 into cloudbase:main Oct 6, 2023
4 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.

2 participants