Skip to content

Commit

Permalink
Merge pull request #406 from Artmann/patch-1
Browse files Browse the repository at this point in the history
Update the Histogram example to reflect API changes
  • Loading branch information
peterbourgon authored Dec 9, 2016
2 parents 0d6c91c + 23f43cb commit afebedc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion metrics/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ import (
)

func main() {
var dur metrics.Histogram = prometheus.NewSummary(stdprometheus.SummaryOpts{
var dur metrics.Histogram = prometheus.NewSummaryFrom(stdprometheus.SummaryOpts{
Namespace: "myservice",
Subsystem: "api",
Name: "request_duration_seconds",
Expand Down

0 comments on commit afebedc

Please sign in to comment.