init: infrastructure
This commit is contained in:
1 parent
4c8998cdfb
commit
c1bdc0cc4e
23 files changed
+15438
No files matched your search
File diff suppressed because it is too large.
Load diff
File diff suppressed because it is too large.
Load diff
File diff suppressed because it is too large.
Load diff
File diff suppressed because it is too large.
Load diff
File diff suppressed because it is too large.
Load diff
@@ -0,0 +1,11 @@
|
||||
apiVersion: 1
|
||||
|
||||
providers:
|
||||
- name: "celery"
|
||||
orgId: 1
|
||||
folder: ""
|
||||
type: file
|
||||
updateIntervalSeconds: 10
|
||||
options:
|
||||
path: /etc/grafana/provisioning/dashboards
|
||||
foldersFromFilesStructure: true
|
||||
@@ -0,0 +1,18 @@
|
||||
apiVersion: 1
|
||||
|
||||
datasources:
|
||||
- name: Prometheus
|
||||
type: prometheus
|
||||
access: proxy
|
||||
url: http://prometheus:9090
|
||||
orgId: 1
|
||||
uid: prometheus
|
||||
isDefault: false
|
||||
editable: false
|
||||
- name: Infinity
|
||||
type: yesoreyeram-infinity-datasource
|
||||
access: proxy
|
||||
orgId: 1
|
||||
uid: infinity
|
||||
isDefault: false
|
||||
editable: false
|
||||
@@ -0,0 +1,4 @@
|
||||
apiVersion: 1
|
||||
|
||||
apps:
|
||||
- type: yesoreyeram-infinity-datasource
|
||||
Executable
+9
@@ -0,0 +1,9 @@
|
||||
#!/bin/sh
|
||||
|
||||
set -e
|
||||
|
||||
echo "Installing Grafana plugins..."
|
||||
grafana cli plugins install yesoreyeram-infinity-datasource
|
||||
|
||||
echo "Starting Grafana..."
|
||||
exec /run.sh
|
||||
Reference in new issue
Block a user