API Gateway Community v2.0

Older version: v2.0

Released on March 7, 2022

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:

{
  "extra_config":{
    "telemetry/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.