News KrakenD CE v2.7 released with better rate-limiting and security options

Enterprise Documentation

Recent changes

You are viewing a previous version of KrakenD Enterprise Edition (v1.3) , go to the latest version

Exporting metrics to Prometheus

Document updated on Sep 15, 2019

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.