grafana-agent

Grafana Agent

  • Canonical Observability
Channel Revision Published Runs on
latest/stable 335 21 Jan 2025
Ubuntu 24.04 Ubuntu 22.04 Ubuntu 20.04
latest/stable 332 21 Jan 2025
Ubuntu 24.04 Ubuntu 22.04 Ubuntu 20.04
latest/stable 334 21 Jan 2025
Ubuntu 24.04 Ubuntu 22.04 Ubuntu 20.04
latest/stable 333 21 Jan 2025
Ubuntu 24.04 Ubuntu 22.04 Ubuntu 20.04
latest/stable 319 07 Jan 2025
Ubuntu 24.04 Ubuntu 22.04 Ubuntu 20.04
latest/candidate 368 21 Jan 2025
Ubuntu 24.04 Ubuntu 22.04 Ubuntu 20.04
latest/candidate 365 21 Jan 2025
Ubuntu 24.04 Ubuntu 22.04 Ubuntu 20.04
latest/candidate 367 21 Jan 2025
Ubuntu 24.04 Ubuntu 22.04 Ubuntu 20.04
latest/candidate 366 21 Jan 2025
Ubuntu 24.04 Ubuntu 22.04 Ubuntu 20.04
latest/candidate 319 10 Dec 2024
Ubuntu 24.04 Ubuntu 22.04 Ubuntu 20.04
latest/beta 390 21 Jan 2025
Ubuntu 22.04 Ubuntu 20.04
latest/beta 389 21 Jan 2025
Ubuntu 22.04 Ubuntu 20.04
latest/beta 391 21 Jan 2025
Ubuntu 22.04 Ubuntu 20.04
latest/beta 386 21 Jan 2025
Ubuntu 22.04 Ubuntu 20.04
latest/edge 399 Today
Ubuntu 24.04 Ubuntu 22.04 Ubuntu 20.04
latest/edge 398 Today
Ubuntu 24.04 Ubuntu 22.04 Ubuntu 20.04
latest/edge 397 Today
Ubuntu 24.04 Ubuntu 22.04 Ubuntu 20.04
latest/edge 396 Today
Ubuntu 24.04 Ubuntu 22.04 Ubuntu 20.04
latest/edge 356 10 Dec 2024
Ubuntu 24.04 Ubuntu 22.04 Ubuntu 20.04
juju deploy grafana-agent --channel candidate
Show information

Platform:

Ubuntu
24.04 22.04 20.04

Learn about configurations >

  • always_enable_jaeger_grpc | boolean

    Force-enable the receiver for the 'jaeger_grpc' protocol in Grafana Agent, 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 Grafana Agent, even if there is no integration currently requesting it.

  • always_enable_otlp_grpc | boolean

    Force-enable the receiver for the 'otlp_grpc' protocol in Grafana Agent, even if there is no integration currently requesting it.

  • always_enable_otlp_http | boolean

    Force-enable the receiver for the 'otlp_http' protocol in Grafana Agent, even if there is no integration currently requesting it.

  • always_enable_zipkin | boolean

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

  • classic_snap | boolean

    Default: True

    Choose whether to use the classic snap over the strictly confined one. Defaults to "true".

  • 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.

  • log_level | string

    Default: info

    Grafana Agent server log level (only log messages with the given severity or above). Must be one of: [debug, info, warn, error]. If not set, the Grafana Agent default (info) will be used.

  • path_exclude | string

    Glob for a set of log files present in /var/log that should be ignored by Grafana Agent. 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. 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/**. Ref (path_exclude): https://grafana.com/docs/loki/latest/send-data/promtail/scraping/

  • reporting_enabled | boolean

    Default: True

    Toggle reporting of usage info to grafana, such as enabled feature flags.

    Ref: https://grafana.com/docs/agent/latest/static/configuration/flags/#report-information-usage

  • tls_insecure_skip_verify | boolean

    Flag to skip the verification for insecure TLS. If "true", self-signed certs can be seamlessly used; this setting will be applied to all of the Agent configurations (Prometheus, Loki).

  • tracing_sample_rate_charm | float

    Default: 100.0

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

  • tracing_sample_rate_error | float

    Default: 100.0

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

  • tracing_sample_rate_workload | float

    Default: 1.0

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