@@ -129,7 +129,7 @@ func ExampleCounterVec() {
129
129
httpReqs := prometheus .NewCounterVec (
130
130
prometheus.CounterOpts {
131
131
Name : "http_requests_total" ,
132
- Help : "How many HTTP requests processed, partitioned by status code and http method." ,
132
+ Help : "How many HTTP requests processed, partitioned by status code and HTTP method." ,
133
133
ConstLabels : prometheus.Labels {"env" : * binaryVersion },
134
134
},
135
135
[]string {"code" , "method" },
@@ -200,7 +200,7 @@ func ExampleRegister() {
200
200
fmt .Println ("taskCounter registered." )
201
201
}
202
202
// Don't forget to tell the HTTP server about the Prometheus handler.
203
- // (In a real program, you still need to start the http server...)
203
+ // (In a real program, you still need to start the HTTP server...)
204
204
http .Handle ("/metrics" , prometheus .Handler ())
205
205
206
206
// Now you can start workers and give every one of them a pointer to
@@ -240,7 +240,7 @@ func ExampleRegister() {
240
240
241
241
// Prometheus will not allow you to ever export metrics with
242
242
// inconsistent help strings or label names. After unregistering, the
243
- // unregistered metrics will cease to show up in the /metrics http
243
+ // unregistered metrics will cease to show up in the /metrics HTTP
244
244
// response, but the registry still remembers that those metrics had
245
245
// been exported before. For this example, we will now choose a
246
246
// different name. (In a real program, you would obviously not export
0 commit comments