Prometheus
- By Canonical Observability
Channel | Revision | Published | Runs on |
---|---|---|---|
latest/stable | 189 | 01 Aug 2024 | |
latest/candidate | 209 | 28 Jun 2024 | |
latest/beta | 210 | 01 Aug 2024 | |
latest/edge | 212 | 28 Aug 2024 | |
1.0/stable | 159 | 16 Feb 2024 | |
1.0/candidate | 159 | 12 Dec 2023 | |
1.0/beta | 159 | 12 Dec 2023 | |
1.0/edge | 159 | 12 Dec 2023 |
juju deploy prometheus-k8s --channel 1.0/candidate
Deploy Kubernetes operators easily with Juju, the Universal Operator Lifecycle Manager. Need a Kubernetes cluster? Install MicroK8s to create a full CNCF-certified Kubernetes system in under 60 seconds.
Platform:
-
cpu | string
K8s cpu resource limit, e.g. "1" or "500m". Default is unset (no limit). This value is used for the "limits" portion of the resource requirements (the "requests" portion is automatically deduced from it). See https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/
-
evaluation_interval | string
Default: 1m
How frequently rules will be evaluated.
-
log_level | string
Default: info
Prometheus server log level (only log messages with the given severity or above). Must be one of: [debug, info, warn, error, fatal]. If not set, the Prometheus default one (info) will be used.
-
maximum_retention_size | string
Default: 80%
The maximum storage to retain, expressed as a percentage (0-100) of the PVC capacity (e.g. "80%"). The percentage value is then converted to bytes and passed to prometheus with the `--storage.tsdb.retention.size` argument. Default is 80%.
-
memory | string
K8s memory resource limit, e.g. "1Gi". Default is unset (no limit). This value is used for the "limits" portion of the resource requirements (the "requests" portion is automatically deduced from it). See https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/
-
metrics_retention_time | string
Default: 15d
How long to retain samples in the storage. Units Supported: y, w, d, h, m, s
-
metrics_wal_compression | boolean
This flag enables compression of the write-ahead log (WAL). Depending on your data, you can expect the WAL size to be halved with little extra cpu load.
-
web_external_url | string
DEPRECATED. This config option is no longer used, in favor of "skipPrefix". 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. The URL provided must point to the root of the Prometheus web application, e.g.: http://foo.bar/ Note, do *not* set this configuration to a specific to an API path, e.g., http://foo.bar//api/v1/write # DO NOT TRY THIS AT HOME This configuration option takes precedence over the URL provided over the "ingress" relation.