Skip to content
This repository has been archived by the owner on Dec 5, 2023. It is now read-only.

Commit

Permalink
Merge branch 'master' of github.com:microservices-demo/payment into b…
Browse files Browse the repository at this point in the history
…ug/wiringname
  • Loading branch information
jasonrichardsmith committed Dec 19, 2016
2 parents 0a53cc2 + 6fd8895 commit 631edd5
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions wiring.go
Original file line number Diff line number Diff line change
Expand Up @@ -29,16 +29,16 @@ func WireUp(ctx context.Context, declineAmount float32) (http.Handler, log.Logge
service = NewInstrumentingService(
kitprometheus.NewCounterFrom(
stdprometheus.CounterOpts{
Namespace: "microservices_demo",
Subsystem: "payment",
Name: "request_count",
Namespace: "http",
Subsystem: "requests",
Name: "total",
Help: "Number of requests received.",
},
fieldKeys),
kitprometheus.NewSummaryFrom(stdprometheus.SummaryOpts{
Namespace: "microservices_demo",
Subsystem: "payment",
Name: "request_latency_microseconds",
Namespace: "http",
Subsystem: "request",
Name: "duration_microseconds_sum",
Help: "Total duration of requests in microseconds.",
}, fieldKeys),
service,
Expand Down

0 comments on commit 631edd5

Please sign in to comment.