]>
Commit | Line | Data |
---|---|---|
08e40e4a GD |
1 | {% if netdata_streaming_configuration.upstream is defined %} |
2 | [stream] | |
3 | enabled = yes | |
4 | destination = {{ netdata_streaming_configuration.upstream["destination"] }} | |
5 | api key = {{ netdata_streaming_configuration.upstream["api key"] }} | |
6 | {% endif %} | |
7 | {% if netdata_streaming_configuration.downstreams is defined %} | |
8 | {% for downstream in netdata_streaming_configuration.downstreams %} | |
9 | [{{ downstream.api_key }}] | |
10 | enabled = yes | |
11 | {% for (key,value) in downstream | dictsort if not key in ['name','api_key'] %} | |
12 | {{ key }} = {{ value }} | |
13 | {% endfor %} | |
14 | {% endfor %} | |
15 | {% endif %} |