KrakenD 1.0 is here!. Read our announcement.

Recent changes

Edit this page

Exporting metrics to Prometheus

Prometheus is an open-source systems monitoring and alerting toolkit.

The Opencensus exporter allows you push data to Prometheus. Enabling it only requires you to include in the root level of your configuration the Opencensus middleware with the prometheus exporter. Specify the port on which Prometheus is running, the namespace (optional), and Prometheus will start receiving the data.

"github_com/devopsfaith/krakend-opencensus": {
  "exporters": {
    "prometheus": {
        "port": 9091,
        "namespace": "krakend"
    }
  }
}
  • port on which Prometheus is listening
  • namespace sets the domain the metric belongs to. Optional field.

See also the additional settings of the Opencensus module that can be declared.

Unresolved issues?

The documentation is only a piece of the help you can get! Whether you are looking for Open Source or Enterprise support, see more support channels that can help you.