Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

go.opentelemetry.io/collector/exporter/loggingexporter

Package Overview
Dependencies
Alerts
File Explorer
Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

go.opentelemetry.io/collector/exporter/loggingexporter

  • v0.110.0
  • Go
  • Socket score

Version published
Created
Source

Logging Exporter

Status
Stabilitydeprecated: traces, metrics, logs
Distributionscore, contrib
IssuesOpen issues Closed issues

This exporter is being deprecated in favour of the debug exporter. It will be removed in September 2024.

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.
    • Note: This option has been deprecated in favor of verbosity
  • verbosity (default = normal): the verbosity of the logging export (detailed|normal|basic). When set to detailed, 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

FAQs

Package last updated on 23 Sep 2024

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc