API Gateway Community v1.4

Older version: v1.4

Released on June 10, 2021

Document updated on

Exporting to the logger

Opencensus can export data to the system logger as another exporter.

Enabling it only requires you to add the logger exporter in the opencensus module.

The following configuration snippet enables the logger:

"github_com/devopsfaith/krakend-opencensus": {
    "exporters": {
      "logger": {
          "stats": true,
          "spans": true
      }
    }
}
  • stats: Whether to log the statistics or not
  • spans: Whether to log the spans or not

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