forked from canonical/grafana-agent-operator
-
Notifications
You must be signed in to change notification settings - Fork 0
/
metadata.yaml
71 lines (63 loc) · 2.25 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
70
71
# Copyright 2021 Canonical Ltd.
# See LICENSE file for licensing details.
name: grafana-agent
description: |
Grafana Agent Subordinate Charm
summary: |
Grafana Agent is a telemetry collector for sending metrics, logs,
and trace data to the opinionated Grafana observability stack.
maintainers:
- Jose Massón <jose.masson@canonical.com>
- Ryan Barry <ryan.barry@canonical.com>
- Leon Mintz <leon.mintz@canonical.com>
- Pietro Pasotti <pietro.pasotti@canonical.com>
- Dylan Stephano-Shachter <dylan.stephano-shachter@canonical.com>
- Luca Bello <luca.bello@canonical.com>
- Simon Aronsson <simon.aronsson@canonical.com>
#docs: https://discourse.charmhub.io/t/grafana-agent-k8s-docs-index/5605
website: https://charmhub.io/grafana-agent
#source: https://github.com/canonical/grafana-agent-k8s-operator
#issues: https://github.com/canonical/grafana-agent-k8s-operator/issues
subordinate: true
series:
- jammy
- focal
requires:
certificates:
interface: tls-certificates
limit: 1
description: |
Certificate for the grafana agent server (API endpoint is served on :12345 by default)
to use to authenticate to clients, and the CA certificate of the signing CA.
We currently assume that the same CA signs all scrape targets (e.g. principal units).
juju-info:
description: |
`juju-info` provides basic compatibility with all charms.
If all you want is /var/log logs and node_exporter metrics,
this relation will be enough.
interface: juju-info
scope: container
cos-agent:
description: |
`cos-agent` is a dedicated relation for the grafana agent machine
charm. It will allow you to set up custom scrape jobs, fetch files
from arbitrary locations, send alert rules, dashboards, etc.
interface: cos_agent
scope: container
send-remote-write:
interface: prometheus_remote_write
logging-consumer:
interface: loki_push_api
grafana-cloud-config:
interface: grafana_cloud_config
limit: 1
receive-ca-cert:
interface: certificate_transfer
description: |
Obtain TLS information (certificate, ca, chain) from another charm.
provides:
grafana-dashboards-provider:
interface: grafana_dashboard
peers:
peers:
interface: grafana_agent_replica