Canonical Bootstack Prometheus

Channel Revision Published Runs on
latest/stable 5 18 Mar 2021
Ubuntu 14.04
latest/edge 5 18 Mar 2021
Ubuntu 14.04
juju deploy canonical-bootstack-prometheus
Show information

Platform:

Ubuntu
14.04

Learn about configurations >

  • custom-rules | string

    base64 encoded rules to be loaded by prometheus.yml (custom.rules file)

  • evaluation-interval | string

    Default: 15s

    Default evaluation interval

  • external_url | string

    The URL under which Prometheus is externally reachable (for example, if Prometheus is served via a reverse proxy). Used for generating relative and absolute links back to Prometheus itself. If the URL has a path portion, it will be used to prefix all HTTP endpoints served by Prometheus. If omitted, relevant URL components will be derived automatically. It's templatized to accept the following vars: {private_address}, {public_address}, {port}, thus you can use e.g.: juju set prometheus external_url="http://{private_address}:{port}/"

  • install_keys | string

    YAML list of GPG keys for installation sources, as a string. For apt repository URLs, use the public key ID used to verify package signatures. For other sources such as PPA, use empty string. This list must have the same number of elements as install_sources, even if the key items are all empty string. An example to go with the above for install_sources: install_keys: | - "ABC" - ""

  • install_sources | string

    Default: [ "ppa:canonical-bootstack/prometheus" ]

    YAML list of additional installation sources, as a string. The number of install_sources must match the number of install_keys. For example: install_sources: | - ppa:project1/ppa - ppa:project2/ppa

  • monitor-name | string

    Prometheus monitor name, will default <service_name>-monitor if not set

  • nagios_context | string

    Default: juju

    A string that will be prepended to instance name to set the host name in nagios. So for instance the hostname would be something like: juju-myservice-0 If you're running multiple environments with the same services in them this allows you to differentiate between them.

  • nagios_servicegroups | string

    Default: juju

    Comma separated list of nagios servicegroups for the graphite check

  • scrape-interval | string

    Default: 15s

    Interval at which to scrape targets

  • static-targets | string

    Where to gather metrics from. Examples: host1.maas:9090 host1.maas:9090, host2.maas:9090