opentelemetry-collector

Opentelemetry Collector

Channel Revision Published Runs on
2/edge 74 Yesterday
Ubuntu 24.04 Ubuntu 22.04
2/edge 73 Yesterday
Ubuntu 24.04 Ubuntu 22.04
2/edge 72 Yesterday
Ubuntu 24.04 Ubuntu 22.04
2/edge 71 Yesterday
Ubuntu 24.04 Ubuntu 22.04
juju deploy opentelemetry-collector --channel 2/edge
Show information

Platform:

Ubuntu
24.04 22.04

Learn about configurations >

  • always_enable_jaeger_grpc | boolean

    Force-enable the receiver for the 'jaeger_grpc' protocol in OpenTelemetry Collector, even if there is no integration currently requesting it.

  • always_enable_jaeger_thrift_http | boolean

    Force-enable the receiver for the 'jaeger_thrift_http' protocol in OpenTelemetry Collector, even if there is no integration currently requesting it.

  • always_enable_zipkin | boolean

    Force-enable the receiver for the 'zipkin' protocol in OpenTelemetry Collector, even if there is no integration currently requesting it.

  • extra_alert_labels | string

    Comma separated key-value pairs of labels to be added to all alerts. This could be useful for differentiating between staging and production environments.

  • forward_alert_rules | boolean

    Default: True

    Toggle forwarding of alert rules.

  • global_scrape_interval | string

    Default: 1m

    How frequently should instances be scraped. Supported units: y, w, d, h, m, s.

  • global_scrape_timeout | string

    Default: 10s

    How long to wait before timing out a scrape from a target. Supported units: y, w, d, h, m, s.

  • max_elapsed_time_min | int

    Default: 5

    Maximum time in minutes to wait for the storage backend. After this time, data loss will occur.

  • path_exclude | string

    Glob for a set of log files present in /var/log that should be ignored by OpenTelemetry Collector. For example, /var/log/**/{app_one,app_two}.log will result in the agent ignoring both /var/log/app_one.log and /var/log/app_two.log. To provide multiple path exclusion globs, separate with semicolons (;), such as /var/log/app_one.log;/var/log/juju. Note that the value you provide here is not interpreted as a path, but rather as a glob matcher. Specifically, if you want to exclude logs in the /var/log/test folder, you should set the config to /var/log/test/**.

  • processors | string

    A global opentelemetry-collector "processors" config in YAML format, without the "processors:" top-level key. For example, to represent a "processors" section such as:

    processors:
      batch:
      memory_limiter:
        limit_mib: 4000

    you could use juju config otelcol processors=@processors.yaml, with:

    # processors.yaml
    batch:
    memory_limiter:
      limit_mib: 4000

    The provided processors section will be applied to all relevant pipelines.

    Reference: https://opentelemetry.io/docs/collector/configuration/#processors

  • queue_size | int

    Default: 1000

    Maximum number of incoming batches of metrics, logs, traces the queue can accept. Ref: https://github.com/open-telemetry/opentelemetry-collector/blob/main/exporter/exporterhelper/README.md#configuration

  • tls_insecure_skip_verify | boolean

    Flag to skip the validation of certificates from servers we connect to with TLS. If "true", self-signed certs can be used seamlessly; this setting will be applied to all the otelcol exporter configurations and any receivers which actively make requests to servers, e.g. the prometheus receiver scraping metrics endpoints.

  • tracing_sampling_rate_charm | float

    Default: 100.0

    This property defines the percentage of charm traces that are sent to the tracing backend. Setting it to 100 would mean all charm traces are kept, setting to 0 means charm traces aren't sent to the tracing backend at all. Anything outside of 0-100 range will be clamped to this range by OpenTelemetry Collector.

  • tracing_sampling_rate_error | float

    Default: 100.0

    This property defines the percentage of error traces (from all sources) that are sent to the tracing backend. Setting it to 100 would mean all error traces are kept, setting to 0 means error traces aren't sent to the tracing backend at all. Anything outside of 0-100 range will be clamped to this range by OpenTelemetry Collector.

  • tracing_sampling_rate_workload | float

    Default: 1.0

    This property defines the percentage of workload traces that are sent to the tracing backend. Setting it to 100 would mean all workload traces are kept, setting to 0 means workload traces aren't sent to the tracing backend at all. Anything outside of 0-100 range will be clamped to this range by OpenTelemetry Collector.