mirror of
https://github.com/ScuroNeko/mtg.git
synced 2026-09-01 07:34:01 +03:00
Update docs
This commit is contained in:
+3
-4
@@ -139,12 +139,11 @@ func (p prometheusProcessor) Shutdown() {
|
||||
}
|
||||
}
|
||||
|
||||
// PrometheusFactory is a factory of events.Observers which collect
|
||||
// PrometheusFactory is a factory of [events.Observer] which collect
|
||||
// information in a format suitable for Prometheus.
|
||||
//
|
||||
// This factory can also serve on a given listener. In that case it
|
||||
// starts HTTP server with a single endpoint - a Prometheus-compatible
|
||||
// scrape output.
|
||||
// This factory can also serve on a given listener. In that case it starts HTTP
|
||||
// server with a single endpoint - a Prometheus-compatible scrape output.
|
||||
type PrometheusFactory struct {
|
||||
httpServer *http.Server
|
||||
|
||||
|
||||
Reference in New Issue
Block a user