mirror of
https://github.com/lalanza808/xmr.sh.git
synced 2025-06-29 11:47:08 -04:00
add grafana labels
This commit is contained in:
parent
1d641da19b
commit
720974857d
9 changed files with 5574 additions and 3 deletions
5426
config/grafana/dashboards/monero.json
Normal file
5426
config/grafana/dashboards/monero.json
Normal file
File diff suppressed because it is too large
Load diff
29
config/grafana/grafana.ini
Normal file
29
config/grafana/grafana.ini
Normal file
|
@ -0,0 +1,29 @@
|
|||
[analytics]
|
||||
reporting_enabled = false
|
||||
check_for_updates = false
|
||||
|
||||
|
||||
[auth]
|
||||
disable_login_form = true
|
||||
|
||||
|
||||
[auth.anonymous]
|
||||
enabled = true
|
||||
org_role = Admin
|
||||
|
||||
|
||||
[dashboards]
|
||||
min_refresh_interval = 1m
|
||||
|
||||
|
||||
[paths]
|
||||
provisioning = /etc/grafana/provisioning
|
||||
|
||||
|
||||
[server]
|
||||
enable_gzip = true
|
||||
read_timeout = 2m
|
||||
|
||||
|
||||
[snapshots]
|
||||
external_enabled = false
|
12
config/grafana/provisioning/dashboards/all.yaml
Normal file
12
config/grafana/provisioning/dashboards/all.yaml
Normal file
|
@ -0,0 +1,12 @@
|
|||
apiVersion: 1
|
||||
|
||||
providers:
|
||||
- name: 'fs'
|
||||
orgId: 1
|
||||
folder: ''
|
||||
type: 'file'
|
||||
updateIntervalSeconds: 30
|
||||
allowUiUpdates: true
|
||||
options:
|
||||
path: '/var/lib/grafana/dashboards'
|
||||
foldersFromFilesStructure: true
|
12
config/grafana/provisioning/datasources/all.yaml
Normal file
12
config/grafana/provisioning/datasources/all.yaml
Normal file
|
@ -0,0 +1,12 @@
|
|||
apiVersion: 1
|
||||
|
||||
datasources:
|
||||
- name: prometheus
|
||||
type: prometheus
|
||||
access: proxy
|
||||
orgId: 1
|
||||
url: http://prometheus:9090
|
||||
isDefault: true
|
||||
version: 1
|
||||
editable: false
|
||||
timeInterval: 30s
|
Loading…
Add table
Add a link
Reference in a new issue