Skip to content

Commit

Permalink
Renamed grafana relation (#30)
Browse files Browse the repository at this point in the history
* Removed prometheus-app direct relation in test

* Changed relation name

* Removed relation name as default is used
  • Loading branch information
natalian98 authored May 11, 2022
1 parent 8a74a66 commit c447a7c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 5 deletions.
2 changes: 1 addition & 1 deletion charms/argo-controller/metadata.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -22,5 +22,5 @@ deployment:
provides:
metrics-endpoint:
interface: prometheus_scrape
grafana-dashboards:
grafana-dashboard:
interface: grafana_dashboard
5 changes: 1 addition & 4 deletions charms/argo-controller/src/charm.py
Original file line number Diff line number Diff line change
Expand Up @@ -58,10 +58,7 @@ def __init__(self, *args):

# The provided dashboard template is based on https://grafana.com/grafana/dashboards/13927
# by user M4t3o
self.dashboard_provider = GrafanaDashboardProvider(
charm=self,
relation_name="grafana-dashboards",
)
self.dashboard_provider = GrafanaDashboardProvider(self)

for event in [
self.on.install,
Expand Down

0 comments on commit c447a7c

Please sign in to comment.