github.com/gozix/prometheus


License
MIT
Install
go get github.com/gozix/prometheus

Documentation

GoZix Prometheus

License Documentation

Release Build Status Go Report Card Code Coverage

The bundle provide a Prometheus integration to GoZix application.

Installation

go get github.com/gozix/prometheus/v2

Dependencies

Configuration example

{
  "prometheus": {
    "host": "0.0.0.0",
    "port": 8683,
    "path": "/metrics"
  }
}

Flags

--prometheus-port - Prometheus metrics port. The same `prometheus.port` config, but with high priority.

Documentation

You can find documentation on pkg.go.dev and read source code if needed.

Questions

If you have any questions, feel free to create an issue.