Grafana Agent

  • Canonical Observability
Channel Revision Published Runs on
latest/stable 260 10 Dec 2024
Ubuntu 24.04 Ubuntu 22.04 Ubuntu 20.04
latest/stable 225 03 Dec 2024
Ubuntu 24.04 Ubuntu 22.04 Ubuntu 20.04
latest/stable 223 03 Dec 2024
Ubuntu 24.04 Ubuntu 22.04 Ubuntu 20.04
latest/stable 226 03 Dec 2024
Ubuntu 24.04 Ubuntu 22.04 Ubuntu 20.04
latest/stable 224 03 Dec 2024
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/candidate 224 01 Aug 2024
Ubuntu 24.04 Ubuntu 22.04 Ubuntu 20.04
latest/candidate 226 01 Aug 2024
Ubuntu 24.04 Ubuntu 22.04 Ubuntu 20.04
latest/candidate 225 01 Aug 2024
Ubuntu 24.04 Ubuntu 22.04 Ubuntu 20.04
latest/candidate 223 01 Aug 2024
Ubuntu 24.04 Ubuntu 22.04 Ubuntu 20.04
latest/beta 335 03 Dec 2024
Ubuntu 22.04 Ubuntu 20.04
latest/beta 332 03 Dec 2024
Ubuntu 22.04 Ubuntu 20.04
latest/beta 334 03 Dec 2024
Ubuntu 22.04 Ubuntu 20.04
latest/beta 333 03 Dec 2024
Ubuntu 22.04 Ubuntu 20.04
latest/edge 364 17 Dec 2024
Ubuntu 24.04 Ubuntu 22.04 Ubuntu 20.04
latest/edge 363 17 Dec 2024
Ubuntu 24.04 Ubuntu 22.04 Ubuntu 20.04
latest/edge 362 17 Dec 2024
Ubuntu 24.04 Ubuntu 22.04 Ubuntu 20.04
latest/edge 361 17 Dec 2024
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 edge
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.