diff --git a/snmp_setcomm_ee_vnf/helm-charts/eechart/prometheus-job-template.j2 b/snmp_setcomm_ee_vnf/helm-charts/eechart/prometheus-job-template.j2 index f82adfc1b6fcb70ec0c1d3efd13813439af5f49b..e1c0be1e490e4f4ef3ebb4714b921a30e46c1906 100644 --- a/snmp_setcomm_ee_vnf/helm-charts/eechart/prometheus-job-template.j2 +++ b/snmp_setcomm_ee_vnf/helm-charts/eechart/prometheus-job-template.j2 @@ -1,3 +1,7 @@ +{# change to 'true' or 'false' according to your requirements #} +{% set snmpexporter = true %} + +{% if snmpexporter %} - job_name: '{{ JOB_NAME }}' static_configs: - targets: @@ -12,4 +16,4 @@ target_label: instance - target_label: __address__ replacement: {{ EXPORTER_POD_IP }}:{{ EXPORTER_POD_PORT }} # The SNMP exporter's real hostname:port. - +{% endif %}