{% if collectd_load_prometheus_plugin %}
LoadPlugin write_prometheus
{% endif %}
<Plugin write_prometheus>
Port {{ collectd_prometheus_port }}
{% if collectd_prometheus_host is defined %}
Host "{{ collectd_prometheus_host }}"
</Plugin>