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

All counters have _total suffix #559

Closed
wants to merge 1 commit into from
Closed

All counters have _total suffix #559

wants to merge 1 commit into from

Conversation

mdlayher
Copy link
Contributor

[zsh|matt@nerr-2]:~/src/github.com/prometheus/node_exporter 0 (counters-total) ± curl -s http://localhost:9101/metrics | promtool check-metrics
http_request_duration_microseconds: use base unit "seconds" instead of "microseconds"

Fixes #558 .

@discordianfish
Copy link
Member

I agree that we should do these changes, I'm just not sure yet how to roll them out.

I'd say it's okay to break these now, but I would try to do all foreseeable renaming now instead of breaking things again later.

@SuperQ
Copy link
Member

SuperQ commented Jul 7, 2017

Looks like this needs a rebase.

@discordianfish
Copy link
Member

@SuperQ How do you feel about this? Merging and breaking now? I feel like if we do that, we should probably also address all other forseeable changes that break metrics.

@grobie
Copy link
Member

grobie commented Jul 7, 2017

Please let's create a proper roadmap first and list all the breaking changes we want to include.

@discordianfish
Copy link
Member

@grobie You want to start one?

@grobie
Copy link
Member

grobie commented Jul 7, 2017 via email

@brian-brazil
Copy link
Contributor

#150 is the original issue around that, though it didn't go into exact detail. There's also #453.

@SuperQ
Copy link
Member

SuperQ commented Oct 14, 2017

I think we should continue this work to cleanup the node_exporter's metric names, types, etc.

@SuperQ
Copy link
Member

SuperQ commented Dec 25, 2017

Ping, want to rebase this?

@discordianfish
Copy link
Member

@SuperQ: What about rebasing+merging this now and make the next release 1.0? I don't feel like doing more 'roadmapping'.

@SuperQ
Copy link
Member

SuperQ commented Jan 4, 2018

Yes, I was thinking the same thing. I want to cleanup more metric names, add types where we can, etc.

"The total number of sectors read successfully.",
diskLabelNames,
nil,
), valueType: prometheus.CounterValue,
},
{
desc: prometheus.NewDesc(
prometheus.BuildFQName(Namespace, diskSubsystem, "read_time_ms"),
prometheus.BuildFQName(Namespace, diskSubsystem, "read_time_ms_total"),
Copy link
Contributor

Choose a reason for hiding this comment

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

We should convert this to seconds while we're at it.

@mdlayher
Copy link
Contributor Author

Thanks for following up on this, closing this PR.

@mdlayher mdlayher closed this Jan 15, 2018
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.

5 participants