Skip to content

canonical/opentelemetry-collector-snap

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

70 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

[Project]
OpenTelemetry Collector

This is the snap for OpenTelemetry Collector, a vendor-agnostic way to receive, process and export telemetry data.. It works on Ubuntu, Fedora, Debian, and other major Linux distributions.

Published for with 💝 by The Canonical Observability Team

Install

sudo snap install opentelemetry-collector

(Don't have snapd installed?)

Configuration

Once installed, a default configuration file will be created at /snap/opentelemetry-collector/etc/config.yaml. The snap will try to use all configuration files under the /etc/otelcol/config.d folder, in alphabetical order. If none is present, it will use the default config file.

To write a configuration file to suit you needs, consult the official documentation.

Enable feature gates

Feature gates can be enabled using the feature-gates configuration options with this snap. To specify multiple gates, use a quoted string with comma-separated values. For example:

sudo snap set opentelemetry-collector feature-gates=confighttp.framedSnappy sudo snap set opentelemetry-collector feature-gates="confighttp.framedSnappy,exporter.kafkaexporter.UseFranzGo"

To explicitly disable a feature gate, prefix the gate name with a - symbol:

sudo snap set opentelemetry-collector feature-gates="confighttp.framedSnappy,-exporter.kafkaexporter.UseFranzGo"

Reference the prometheus/node_exporter README.md for the list of collectors enabled by default.

About

Resources

License

Stars

1 star

Watchers

3 watching

Forks

Packages

 
 
 

Contributors