-
Notifications
You must be signed in to change notification settings - Fork 19
/
metadata.yaml
80 lines (71 loc) · 2.24 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
72
73
74
75
76
77
78
79
80
# Copyright 2021 Canonical Ltd.
# See LICENSE file for licensing details.
name: grafana-agent-k8s
description: |
Grafana Agent for Kubernetes cluster
summary: |
Grafana Agent is a telemetry collector for sending metrics, logs, and trace data to the opinionated Grafana observability stack.
maintainers:
- Jose Massón <[email protected]>
- Ryan Barry <[email protected]>
- Leon Mintz <[email protected]>
- Pietro Pasotti <[email protected]>
- Dylan Stephano-Shachter <[email protected]>
- Luca Bello <[email protected]>
- Simon Aronsson <[email protected]>
assumes:
- k8s-api
docs: https://discourse.charmhub.io/t/grafana-agent-k8s-docs-index/5605
website: https://charmhub.io/grafana-agent-k8s
source: https://github.com/canonical/grafana-agent-k8s-operator
issues: https://github.com/canonical/grafana-agent-k8s-operator/issues
containers:
agent:
resource: agent-image
mounts:
- storage: data
location: /tmp/agent/data
resources:
agent-image:
type: oci-image
upstream-source: ubuntu/grafana-agent:0.40.4-22.04_stable
description: OCI image for Grafana Agent
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.
send-remote-write:
interface: prometheus_remote_write
metrics-endpoint:
interface: prometheus_scrape
logging-consumer:
interface: loki_push_api
grafana-dashboards-consumer:
interface: grafana_dashboard
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.
tracing:
interface: tracing
limit: 1
provides:
tracing-provider:
interface: tracing
logging-provider:
interface: loki_push_api
grafana-dashboards-provider:
interface: grafana_dashboard
peers:
peers:
interface: grafana_agent_replica
storage:
data:
type: filesystem