forked from canonical/prometheus-k8s-operator
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathmetadata.yaml
66 lines (65 loc) · 2.53 KB
/
metadata.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
# Copyright 2021 Canonical Ltd.
# See LICENSE file for licensing details.
name: prometheus-k8s
display-name: Prometheus
summary: Prometheus for Kubernetes clusters
maintainers:
- Balbir Thomas <[email protected]>
description: |
Prometheus is an open source monitoring solution. Prometheus
supports aggregating high dimensional data and exposes a powerful
query language PromQL. This charm deploys and operates Prometheus on
Kubernetes clusters. Prometheus can raise alerts through a relation
with the Altermanager charm. Alerting rules for Prometheus need to
be provided through a relation with the application that requires
alerting. Prometheus provides its own dashboard for data
visualization but a richer visualization interface may be obtained
through a relation with the Grafana charm.
containers:
prometheus:
resource: prometheus-image
mounts:
- storage: database
location: /var/lib/prometheus
provides:
grafana-source:
interface: grafana_datasource
receive-remote-write:
interface: prometheus_remote_write
requires:
metrics-endpoint:
interface: prometheus_scrape
alertmanager:
interface: alertmanager_dispatch
ingress:
interface: ingress_per_unit
limit: 1
peers:
prometheus-peers:
interface: prometheus_peers
storage:
database:
type: filesystem
resources:
prometheus-image:
type: oci-image
description: Container image for Prometheus
upstream-source: docker.io/ubuntu/prometheus@sha256:03936a740851b8786c328e08803a70feaa97731714a8dbe4b709c44366699b0c
promql-transform-amd64:
# When picking which version to use with the charm, use the latest one from
# https://github.com/canonical/promql-transform that has the same version number
# as the Prometheus shipped within the `prometheus-image` resource.
type: file
description: |
Promql-transform binary for adding label selectors on amd64. Promql-transform is available
as a stand-alone tool on https://github.com/canonical/promql-transform
filename: promql-transform-amd64
promql-transform-arm64:
# When picking which version to use with the charm, use the latest one from
# https://github.com/canonical/promql-transform that has the same version number
# as the Prometheus shipped within the `prometheus-image` resource.
type: file
description: |
Promql-transform binary for adding label selectors on arm64. Promql-transform is available
as a stand-alone tool on https://github.com/canonical/promql-transform
filename: promql-transform-arm64