[[inputs.nginx]] | |
{%- include 'telegraf/files/input/_common.conf' %} | |
urls = {% if values.urls is string %}[ "{{ values.urls }}" ]{%- else %}{{ values.urls|json }}{%- endif %} | |
{%- if values.response_timeout is defined %} | |
response_timeout = "{{ values.response_timeout }}" | |
{%- endif %} | |
{%- include 'telegraf/files/input/_filters.conf' %} |