1
0
Fork 0
mirror of synced 2024-10-31 15:58:59 -04: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) }}'