-
Notifications
You must be signed in to change notification settings - Fork 23
/
metadata.yaml
69 lines (62 loc) · 1.77 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
67
68
69
# Copyright 2021 Canonical Ltd.
# See LICENSE file for licensing details.
name: grafana-k8s
assumes:
- k8s-api
summary: Data visualization and observability with Grafana
website: https://charmhub.io/grafana-k8s
source: https://github.com/canonical/grafana-k8s-operator
issues: https://github.com/canonical/alertmanager-k8s-operator/issues
docs: https://discourse.charmhub.io/t/grafana-operator-k8s-docs-index/5612
maintainers:
- Ryan Barry <ryan.barry@canonical.com>
description: |
Grafana provides dashboards for monitoring data and this
charm is written to allow for HA on Kubernetes and can take
multiple data sources (for example, Prometheus).
containers:
grafana:
resource: grafana-image
mounts:
- storage: database
location: /var/lib/grafana
litestream:
resource: litestream-image
mounts:
- storage: database
location: /var/lib/grafana
storage:
database:
type: filesystem
requires:
grafana-source:
interface: grafana_datasource
grafana-dashboard:
interface: grafana_dashboard
grafana-auth:
interface: grafana_auth
database:
interface: db
limit: 1
catalogue:
interface: catalogue
ingress:
interface: traefik_route
limit: 1
description: Grafana needs "ingress per leader" (not per app and not per unit).
provides:
metrics-endpoint:
interface: prometheus_scrape
description: Links to grafana's own `/metrics` endpoint.
peers:
grafana:
interface: grafana_peers
resources:
grafana-image:
type: oci-image
description: upstream docker image for Grafana
upstream-source: docker.io/ubuntu/grafana:9.2-22.04_beta
litestream-image:
type: oci-image
description: upstream image for sqlite streaming
upstream-source: docker.io/litestream/litestream:0.4.0-beta.2