Skip to content

Exporting metrics to Prometheus

Rico edited this page Jan 10, 2023 · 1 revision

For detailed instructions on setting up your own monitoring stack alongside certstream-server-go, check this guide.

If you already have a Prometheus/Grafana stack in operation, you can easily ingest your certstream-server-go metrics into the Prometheus database. Make sure add the Prometheus configuration to your configuration file (config.yml) looks like this:

prometheus:
  enabled: true
  listen_addr: "127.0.0.1"
  listen_port: 8080
  metrics_url: "/metrics"

Configure the desired interface and port and update the configuration of your prometheus database to pull the metrics from your new exporter.

Clone this wiki locally