Skip to content

Latest commit

 

History

History
29 lines (22 loc) · 811 Bytes

File metadata and controls

29 lines (22 loc) · 811 Bytes

Logging Exporter

Exports data to the console via zap.Logger.

Supported pipeline types: traces, metrics, logs

Getting Started

The following settings are optional:

  • loglevel (default = info): the log level of the logging export (debug|info|warn|error). When set to debug, pipeline data is verbosely logged.
  • sampling_initial (default = 2): number of messages initially logged each second.
  • sampling_thereafter (default = 500): sampling rate after the initial messages are logged (every Mth message is logged). Refer to Zap docs for more details. on how sampling parameters impact number of messages.

Example:

exporters:
  logging:
    loglevel: debug
    sampling_initial: 5
    sampling_thereafter: 200