juju deploy prometheus-charmers-prometheus2
|latest/stable||16||16||19 Mar 2021|
|latest/candidate||14||14||19 Mar 2021|
|latest/beta||14||14||19 Mar 2021|
|latest/edge||14||14||19 Mar 2021|
Monitoring system and timeseries database. v2.0 and later only Read more
Discuss this charm
Share your thoughts on this charm with the community on discourse.
The prometheus2 charm will no longer be maintained by prometheus-charmers. If you have this charm installed without a publisher (i.e. "cs:prometheus2") you do not need to do anything. The charm will automatically update to the new maintainer. If you are referencing "~prometheus-charmers/prometheus2" you will need to update to the new maintainer: "~llama-charmers/prometheus2" (https://jaas.ai/u/llama-charmers/prometheus2)
Juju prometheus2 charm
This charm provides the Prometheus monitoring system from http://prometheus.io/.
It supports version 2.0 and later. If you want to deploy prometheus 1.x please use cs:prometheus charm.
Optionally the charm will install the Prometheus Registration daemon alongside Prometheus to aid in the registration of targets.
The charm can be related to the following charms to extend functionality:
The charm is designed to work out of the box without need to set any configuration options. Please refer to config.yaml for detailed help on support settings. Below is a list of the most common options:
- daemon-args - add extra CLI arguments, for example
- scrape-jobs - allows for custom scrape jobs to be configured
- snap_proxy - web proxy address to use when accessing the snap store
- remote-read/remote-write - configure read/write to remote datastore endpoints
Juju storage support
The charm supports juju storage (requires juju 1.25 or later). For example to deploy with local filesystem run:
juju deploy local:trusty/prometheus2 --storage metrics-filesystem=rootfs prometheus2
Juju resources support
The charm support juju resources, which is handy in offline deployments. Prefetch the snaps:
snap download --channel=stable core snap download --channel=2/stable prometheus
Provide downloaded snaps as resources to the application:
juju deploy cs:prometheus2 --resource core=core_6818.snap --resource prometheus=prometheus_20.snap