You are viewing a previous version of KrakenD Community Edition (v1.3), go to the
latest version
Document updated on Sep 15, 2019
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 notspans
: Whether to log the spans or not
See also the additional settings of the Opencensus module that can be declared.