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

netdev: Change valueType to CounterValue #749

Merged
merged 1 commit into from
Dec 6, 2017
Merged

netdev: Change valueType to CounterValue #749

merged 1 commit into from
Dec 6, 2017

Conversation

klausenbusk
Copy link
Contributor

@klausenbusk klausenbusk commented Nov 30, 2017

All the metric only goes up, so the type should be counter.

Fix: #747

@SuperQ
Copy link
Member

SuperQ commented Nov 30, 2017

We should also fix the metric names to end in _total.

@SuperQ
Copy link
Member

SuperQ commented Nov 30, 2017

Have you validated that netdev_(bsd|darwin|openbsd) are also all proper counters? I'm guessing they are, but it would be good to validate this assumption if we can.

@klausenbusk
Copy link
Contributor Author

We should also fix the metric names to end in _total.

Oh, forgot that.. Will do when I get home.

Have you validated that netdev_(bsd|darwin|openbsd) are also all proper counters? I'm guessing they are, but it would be good to validate this assumption if we can.

I haven't, but looking through all the naming I won't expect them to decrease.

All the metric only goes up, so the type should be counter.
This also add _total to all the metric name.

Fix: #747
@klausenbusk
Copy link
Contributor Author

We should also fix the metric names to end in _total.

Done..

Copy link
Member

@SuperQ SuperQ left a comment

Choose a reason for hiding this comment

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

LGTM

@discordianfish
Copy link
Member

Great, LGTM!

@SuperQ SuperQ merged commit a96f173 into prometheus:master Dec 6, 2017
oblitorum pushed a commit to shatteredsilicon/node_exporter that referenced this pull request Apr 9, 2024
All the metric only goes up, so the type should be counter.
This also add _total to all the metric name.

Fix: prometheus#747
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.

3 participants