Signed-off-by: Bogdan Drutu <bogdandrutu@gmail.com> Signed-off-by: Bogdan Drutu <bogdandrutu@gmail.com> |
||
|---|---|---|
| .. | ||
| internal/otlptext | ||
| testdata | ||
| Makefile | ||
| README.md | ||
| config.go | ||
| config_test.go | ||
| doc.go | ||
| factory.go | ||
| factory_test.go | ||
| go.mod | ||
| go.sum | ||
| known_sync_error.go | ||
| known_sync_error_windows.go | ||
| logging_exporter.go | ||
| logging_exporter_test.go | ||
README.md
Logging Exporter
| Status | |
|---|---|
| Stability | Development |
| Supported pipeline types | traces, metrics, logs |
| Distributions | core, contrib |
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 todebug, pipeline data is verbosely - Note: This option has been deprecated in favor ofverbositylogged.verbosity(default =normal): the verbosity of the logging export (detailed|normal|basic). When set todetailed, 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.
Note
loglevel is deprecated, use verbosity instead.
Example:
exporters:
logging:
verbosity: detailed
sampling_initial: 5
sampling_thereafter: 200