Skip to content
This repository has been archived by the owner on Aug 9, 2024. It is now read-only.

Commit

Permalink
feat: add grafana dashboards
Browse files Browse the repository at this point in the history
  • Loading branch information
jedel1043 committed Jul 19, 2024
1 parent 9364fe0 commit 585576c
Show file tree
Hide file tree
Showing 4 changed files with 592 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/charm.py
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,8 @@ def __init__(self, *args):
self._grafana_agent = COSAgentProvider(
self,
metrics_endpoints=[{"path": "/metrics", "port": 9092}],
metrics_rules_dir="./src/alert_rules/prometheus",
metrics_rules_dir="./src/cos/alert_rules/prometheus",
dashboard_dirs=["./src/cos/grafana_dashboards"],
recurse_rules_dirs=True,
)

Expand Down
Loading

0 comments on commit 585576c

Please sign in to comment.