The Charm Store will undergo scheduled database maintenance on July 5, 2026 22:00 to July 6, 02:00 UTC. During this time, you may be unable to access charm and bundle metadata or publish updates. No user action is required and services will automatically resume once maintenance is complete.

Prometheus scrape target

Platform:

Ubuntu
26.04 24.04 20.04
Channel Revision Published Runs on
2/stable 41 13 Nov 2025
Ubuntu 24.04
2/candidate 41 08 Oct 2025
Ubuntu 24.04
2/beta 41 31 Mar 2026
Ubuntu 24.04
2/edge 41 15 May 2025
Ubuntu 24.04
dev/edge 42 30 Jun 2026
Ubuntu 26.04
1/stable 39 08 Jul 2025
Ubuntu 20.04
1/candidate 39 26 Jun 2025
Ubuntu 20.04
1/beta 39 10 Jun 2025
Ubuntu 20.04
1/edge 39 14 May 2025
Ubuntu 20.04
juju deploy prometheus-scrape-target-k8s --channel 2/stable

Learn about configurations >

  • basic_auth | string

    Sets the Authorization header prometheus uses on every scrape request. The expected format is username:password.

  • job_name | string

    Default: external_jobs

    Name of external scrape configuration jobs.

  • labels | string

    Comma separated list of label:value pairs.

  • metrics_path | string

    Metrics path for external jobs.

  • params | string

    Configures optional HTTP URL parameters as a key-value collection.

  • scheme | string

    Configures the protocol scheme prometheus uses for requests.

  • targets | string

    Comma separated list of external scrape targets, e.g., "192.168.5.2:7000,192.168.5.3:7000"; do not add the protocol!

  • tls_config_ca_file | string

    CA certificate to validate API server certificate with.

  • tls_config_cert_file | string

    Certificate to request API server access with.

  • tls_config_insecure_skip_verify | boolean

    Disable validation of the server certificate.

  • tls_config_key_file | string

    Certificate key to request API server access with.

  • tls_config_server_name | string

    Server name to access the API server with. Only relevant if the cert is not including it's name in the SANs.