diff options
Diffstat (limited to 'microprom/microprom.go')
| -rw-r--r-- | microprom/microprom.go | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/microprom/microprom.go b/microprom/microprom.go index 4055c8b..6b2ca46 100644 --- a/microprom/microprom.go +++ b/microprom/microprom.go @@ -22,8 +22,8 @@ // // # How to use // -// To get started with microprom, declare your metric families in a [Metadata] instance, -// and then call [Metadata.Handler] to obtain a handler for your "GET /metrics" endpoint. +// To get started with microprom, look at how to build a [Handler] instance, +// and follow the documentation from there. // // [promhttp]: https://pkg.go.dev/github.com/prometheus/client_golang/prometheus/promhttp // [prometheus/client_golang]: https://pkg.go.dev/github.com/prometheus/client_golang @@ -35,7 +35,7 @@ import ( "regexp" ) -// MetricFamilyInfo appears in type [HandlerInfo]. +// MetricFamilyInfo appears in type [Handler]. type MetricFamilyInfo struct { Type MetricType Help string |
