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

Update the Histogram example to reflect API changes #406

Merged
merged 1 commit into from
Dec 9, 2016

Conversation

Artmann
Copy link
Contributor

@Artmann Artmann commented Dec 9, 2016

prometheus.NewSummary() takes a *"github.com/prometheus/client_golang/prometheus".SummaryVec as argument. prometheus.NewSummaryFrom() has the behaivour described in the example.

  • Update the Histogram example so it uses prometheus.NewSummaryFrom() instead of prometheus.NewSummary().

`prometheus.NewSummary()` takes a ` *"github.com/prometheus/client_golang/prometheus".SummaryVec` as argument. `prometheus.NewSummaryFrom()` has the behaivour described in the example.

- Update the Histogram example so it uses `prometheus.NewSummaryFrom()` instead of `prometheus.NewSummary()`.
@peterbourgon peterbourgon merged commit afebedc into go-kit:master Dec 9, 2016
@peterbourgon
Copy link
Member

Ah, thank you! :)

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