1
0
Fork 0
mirror of synced 2024-11-26 18:55:35 -05:00
formula-grafana/grafana/files/_grafana.conf

14 lines
475 B
Text
Raw Normal View History

2016-10-21 18:36:50 -04:00
{%- from "grafana/map.jinja" import client with context %}
grafana_version: {{ client.server.get('version', 3) }}
2016-10-21 18:36:50 -04:00
grafana:
grafana_timeout: 3
{%- if client.server.token is defined %}
2016-10-21 18:36:50 -04:00
grafana_token: {{ client.server.token }}
{%- else %}
grafana_user: {{ client.server.user }}
grafana_password: {{ client.server.password }}
{%- endif %}
grafana_url: '{{ client.server.get('protocol', 'http') }}://{{ client.server.host }}:{{ client.server.get('port', 80) }}'