grafana-agent

Grafana Agent

  • Canonical Observability
Channel Revision Published Runs on
latest/stable 406 19 Feb 2025
Ubuntu 24.04 Ubuntu 22.04 Ubuntu 20.04
latest/stable 404 19 Feb 2025
Ubuntu 24.04 Ubuntu 22.04 Ubuntu 20.04
latest/stable 407 19 Feb 2025
Ubuntu 24.04 Ubuntu 22.04 Ubuntu 20.04
latest/stable 405 19 Feb 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 406 18 Feb 2025
Ubuntu 24.04 Ubuntu 22.04 Ubuntu 20.04
latest/candidate 404 18 Feb 2025
Ubuntu 24.04 Ubuntu 22.04 Ubuntu 20.04
latest/candidate 407 18 Feb 2025
Ubuntu 24.04 Ubuntu 22.04 Ubuntu 20.04
latest/candidate 405 18 Feb 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 431 18 Feb 2025
Ubuntu 22.04 Ubuntu 20.04
latest/beta 429 18 Feb 2025
Ubuntu 22.04 Ubuntu 20.04
latest/beta 433 18 Feb 2025
Ubuntu 22.04 Ubuntu 20.04
latest/beta 428 18 Feb 2025
Ubuntu 22.04 Ubuntu 20.04
latest/edge 433 17 Feb 2025
Ubuntu 24.04 Ubuntu 22.04 Ubuntu 20.04
latest/edge 432 17 Feb 2025
Ubuntu 24.04 Ubuntu 22.04 Ubuntu 20.04
latest/edge 431 17 Feb 2025
Ubuntu 24.04 Ubuntu 22.04 Ubuntu 20.04
latest/edge 430 17 Feb 2025
Ubuntu 24.04 Ubuntu 22.04 Ubuntu 20.04
latest/edge 429 17 Feb 2025
Ubuntu 24.04 Ubuntu 22.04 Ubuntu 20.04
latest/edge 428 17 Feb 2025
Ubuntu 24.04 Ubuntu 22.04 Ubuntu 20.04
juju deploy grafana-agent
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.