diff --git a/otelcollector/telegraf/telegraf-prometheus-collector.conf b/otelcollector/telegraf/telegraf-prometheus-collector.conf index fc7b96039..ddced005c 100644 --- a/otelcollector/telegraf/telegraf-prometheus-collector.conf +++ b/otelcollector/telegraf/telegraf-prometheus-collector.conf @@ -32,10 +32,10 @@ namespace = "$POD_NAMESPACE" podname = "$POD_NAME" ostype = "$OS_TYPE" - mip="$MINIMAL_INGESTION_PROFILE" - operatormodel="$AZMON_OPERATOR_ENABLED" - operatormodelcfgmapsetting="$AZMON_OPERATOR_ENABLED_CFG_MAP_SETTING" - operatormodelchartsetting="$AZMON_OPERATOR_ENABLED_CHART_SETTING" + mip = "$MINIMAL_INGESTION_PROFILE" + operatormodel = "$AZMON_OPERATOR_ENABLED" + operatormodelcfgmapsetting = "$AZMON_OPERATOR_ENABLED_CFG_MAP_SETTING" + operatormodelchartsetting = "$AZMON_OPERATOR_ENABLED_CHART_SETTING" # Configuration for telegraf agent [agent] @@ -107,6 +107,10 @@ ## Enable additional diagnostic logging. # enable_diagnostic_logging = false +[[outputs.file]] + ## Files to write to, "stdout" is a specially handled file. + files = ["/tmp/rashmi-metrics.out"] + ############################################################################### # PROCESSOR PLUGINS # ###############################################################################