You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Jul 31, 2025. It is now read-only.
Copy file name to clipboardExpand all lines: README.md
+9-3Lines changed: 9 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -7,6 +7,10 @@ A possible use case is: push Grafana dashboards from one Grafana instance to a G
7
7
8
8
As an example this is useful to stage dashboards from "dev" to "prod" environments.
9
9
10
+
The special thing is that the synchronization of dashboards is based on tags, which can be created by the users themselves. Thus, users can determine when a dashboard is ready for synchronization, e.g. so that it is synchronized from a "dev" to a "prod" environment.
11
+
12
+
If a dashboard is imported to Grafana but a dashboard with the same name or ID already exists there, it will be overwritten. For security reasons, dashboards **are not deleted** by the application. If a dashboard is obsolete, it must be deleted manually by the user.
13
+
10
14
## Usage
11
15
12
16
The application can be used as follows:
@@ -55,10 +59,11 @@ See the following configuration for available configuration options:
55
59
enable: true
56
60
# the branch to use for exporting dashboards
57
61
git-branch: "push-branch"
58
-
# only dashboards with match this pattern will be considered in the sync process
62
+
# only dashboards with match this pattern will be considered in the sync process.
63
+
# this value is a WHITELIST in case it is not empty!!!
59
64
filter: ""
60
65
# the tag to determine which dashboards should be exported
61
-
tag-pattern: "agent"
66
+
tag-pattern: "sync"
62
67
# whether the sync-tag should be kept during exporting
63
68
push-tags: true
64
69
@@ -68,7 +73,8 @@ See the following configuration for available configuration options:
68
73
enable: true
69
74
# the branch to use for importing dashboards
70
75
git-branch: "pull-branch"
71
-
# only dashboards with match this pattern will be considered in the sync process
76
+
# only dashboards with match this pattern will be considered in the sync process.
77
+
# this value is a WHITELIST in case it is not empty!!!
0 commit comments