bundles/grafana: introduce, add to htz-cloud.influxdb
This commit is contained in:
parent
1a1ea721d9
commit
c548a88ee7
14 changed files with 1631 additions and 1 deletions
15
bundles/grafana/files/dashboards.yaml
Normal file
15
bundles/grafana/files/dashboards.yaml
Normal file
|
@ -0,0 +1,15 @@
|
|||
apiVersion: 1
|
||||
|
||||
providers:
|
||||
- name: 'managed by bundlewrap'
|
||||
orgId: 1
|
||||
folder: 'Managed by BundleWrap'
|
||||
folderUid: '222af3a08b'
|
||||
type: file
|
||||
disableDeletion: true
|
||||
updateIntervalSeconds: 10
|
||||
allowUiUpdates: false
|
||||
options:
|
||||
path: /var/lib/grafana/dashboards
|
||||
foldersFromFilesStructure: false
|
||||
|
104
bundles/grafana/files/grafana.ini
Normal file
104
bundles/grafana/files/grafana.ini
Normal file
|
@ -0,0 +1,104 @@
|
|||
app_mode = production
|
||||
instance_name = ${node.name}
|
||||
|
||||
[paths]
|
||||
data = /var/lib/grafana
|
||||
;temp_data_lifetime = 24h
|
||||
logs = /var/log/grafana
|
||||
plugins = /var/lib/grafana/plugins
|
||||
provisioning = /etc/grafana/provisioning
|
||||
|
||||
[server]
|
||||
protocol = http
|
||||
http_port = 21010
|
||||
domain = ${domain}
|
||||
root_url = https://${domain}/
|
||||
|
||||
[database]
|
||||
type = sqlite3
|
||||
|
||||
# for postgres
|
||||
;host = 127.0.0.1:3306
|
||||
;name = grafana
|
||||
;user = root
|
||||
;password =
|
||||
;ssl_mode = disable
|
||||
|
||||
# for sqlite
|
||||
;path = grafana.db
|
||||
;cache_mode = private
|
||||
|
||||
[remote_cache]
|
||||
% if node.has_bundle('redis'):
|
||||
type = redis
|
||||
connstr = addr=127.0.0.1:6379
|
||||
% else:
|
||||
type = database
|
||||
% endif
|
||||
|
||||
[analytics]
|
||||
reporting_enabled = false
|
||||
check_for_updates = false
|
||||
|
||||
[security]
|
||||
disable_initial_admin_creation = false
|
||||
secret_key = ${secret_key}
|
||||
disable_gravatar = true
|
||||
cookie_secure = true
|
||||
allow_embedding = ${str(allow_embedding).lower()}
|
||||
|
||||
[dashboards]
|
||||
min_refresh_interval = 10s
|
||||
|
||||
[users]
|
||||
allow_sign_up = ${str(allow_sign_up).lower()}
|
||||
allow_org_create = false
|
||||
auto_assign_org = false
|
||||
verify_email_enabled = true
|
||||
default_theme = dark
|
||||
viewers_can_edit = false
|
||||
editors_can_admin = false
|
||||
|
||||
[auth]
|
||||
login_maximum_inactive_lifetime_duration = ${login_max_duration}
|
||||
login_maximum_lifetime_duration = ${login_max_duration}
|
||||
|
||||
[auth.anonymous]
|
||||
enabled = ${str(allow_anonymous).lower()}
|
||||
org_name = ${anonymous_org}
|
||||
org_role = Viewer
|
||||
|
||||
[smtp]
|
||||
enabled = ${str(enable_smtp).lower()}
|
||||
host = localhost:25
|
||||
from_address = noreply@${domain}
|
||||
from_name = Grafana
|
||||
|
||||
[emails]
|
||||
welcome_email_on_sign_up = false
|
||||
templates_pattern = emails/*.html
|
||||
|
||||
[log]
|
||||
mode = syslog
|
||||
|
||||
[alerting]
|
||||
enabled = false
|
||||
|
||||
[explore]
|
||||
enabled = true
|
||||
|
||||
[plugins]
|
||||
enable_alpha = true
|
||||
|
||||
[date_formats]
|
||||
full_date = YYYY-MM-DD HH:mm:ss
|
||||
interval_second = HH:mm:ss
|
||||
interval_minute = HH:mm
|
||||
interval_hour = YYYY-MM-DD HH:mm
|
||||
interval_day = YYYY-MM-DD
|
||||
interval_month = YYYY-MM
|
||||
interval_year = YYYY
|
||||
default_timezone = browser
|
||||
|
||||
[expressions]
|
||||
enabled = true
|
Loading…
Add table
Add a link
Reference in a new issue