blob: 4f95b925391eff8544262c95024af41686ca6f37 [file] [log] [blame]
[[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' %}