Skip to content

Commit

Permalink
Add note about limit: 1 for the provider. (#237)
Browse files Browse the repository at this point in the history
  • Loading branch information
sed-i authored Jan 17, 2025
1 parent 8afb120 commit 15df18c
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion lib/charms/grafana_agent/v0/cos_agent.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,8 @@
- `COSAgentProvider`: Use in machine charms that need to have a workload's metrics
or logs scraped, or forward rule files or dashboards to Prometheus, Loki or Grafana through
the Grafana Agent machine charm.
NOTE: Be sure to add `limit: 1` in your charm for the cos-agent relation. That is the only
way we currently have to prevent two different grafana agent apps deployed on the same VM.
- `COSAgentConsumer`: Used in the Grafana Agent machine charm to manage the requirer side of
the `cos_agent` interface.
Expand Down Expand Up @@ -252,7 +254,7 @@ class _MetricsEndpointDict(TypedDict):

LIBID = "dc15fa84cef84ce58155fb84f6c6213a"
LIBAPI = 0
LIBPATCH = 15
LIBPATCH = 16

PYDEPS = ["cosl", "pydantic"]

Expand Down

0 comments on commit 15df18c

Please sign in to comment.