Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Add info metric type #16

Merged
merged 1 commit into from
Oct 19, 2022
Merged

Add info metric type #16

merged 1 commit into from
Oct 19, 2022

Conversation

janstenpickle
Copy link
Contributor

This is a very special type, it just takes a map of labels which are then represented like gauges with just a value of 1. In the Java library it is possible to create a labelled version of this, where the label names and values can be provided separately, but this seems entirely pointless to me, as does having a callback version.

Copy link
Contributor

@TimWSpence TimWSpence left a comment

Choose a reason for hiding this comment

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

LGTM!

@@ -0,0 +1,44 @@
/*
Copy link
Contributor

Choose a reason for hiding this comment

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

I assume this will be moved to internal like the others?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Yep, that's in the other PR

@janstenpickle janstenpickle merged commit da48bce into main Oct 19, 2022
@janstenpickle janstenpickle deleted the info-metric-type branch October 19, 2022 16:43
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants