metrics: expvar: fix typo in doc comment
Peter Bourgon
8 years ago
5 | 5 | // bucket (key) names. That is, |
6 | 6 | // |
7 | 7 | // c := NewFieldedCounter(..., "path", "status") |
8 | // c.Add(1) // "myprefix_unknown_unknown" += 1 | |
8 | // c.Add(1) // "myprefix.unknown.unknown" += 1 | |
9 | 9 | // c2 := c.With("path", "foo").With("status": "200") |
10 | // c2.Add(1) // "myprefix_foo_status" += 1 | |
10 | // c2.Add(1) // "myprefix.foo.200" += 1 | |
11 | 11 | // |
12 | 12 | // It would also be possible to have an implementation that generated more |
13 | 13 | // sophisticated expvar.Values. For example, a Counter could be implemented as |