Skip to content

Commit

Permalink
casing
Browse files Browse the repository at this point in the history
  • Loading branch information
matmerr committed Oct 18, 2023
1 parent 6bda9f7 commit 001ec2c
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion otelcollector/configmapparser/prometheus-config-merger.rb
Original file line number Diff line number Diff line change
Expand Up @@ -315,7 +315,7 @@ def populateDefaultPrometheusConfig
end
end

if !ENV["AZMON_PROMETHEUS_retinaBASIC_SCRAPING_ENABLED"].nil? && ENV["AZMON_PROMETHEUS_retinaBASIC_SCRAPING_ENABLED"].downcase == "true"
if !ENV["AZMON_PROMETHEUS_RETINABASIC_SCRAPING_ENABLED"].nil? && ENV["AZMON_PROMETHEUS_RETINABASIC_SCRAPING_ENABLED"].downcase == "true"
retinabasicMetricsKeepListRegex = @regexHash["retinaBASIC_METRICS_KEEP_LIST_REGEX"]
retinabasicScrapeInterval = @intervalHash["retinaBASIC_SCRAPE_INTERVAL"]
if currentControllerType == @replicasetControllerType
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -167,7 +167,7 @@ def populateSettingValuesFromConfigMap(parsedConfig)
file.write($export + "AZMON_PROMETHEUS_COLLECTOR_HEALTH_SCRAPING_ENABLED=#{@prometheusCollectorHealthEnabled}\n")
file.write($export + "AZMON_PROMETHEUS_WINDOWSEXPORTER_SCRAPING_ENABLED=#{@windowsexporterEnabled}\n")
file.write($export + "AZMON_PROMETHEUS_WINDOWSKUBEPROXY_SCRAPING_ENABLED=#{@windowskubeproxyEnabled}\n")
file.write($export + "AZMON_PROMETHEUS_retinaBASIC_SCRAPING_ENABLED=#{@retinabasicEnabled}\n")
file.write($export + "AZMON_PROMETHEUS_RETINABASIC_SCRAPING_ENABLED=#{@retinabasicEnabled}\n")
file.write($export + "AZMON_PROMETHEUS_POD_ANNOTATION_SCRAPING_ENABLED=#{@podannotationEnabled}\n")
# Close file after writing all metric collection setting environment variables
file.close
Expand Down
2 changes: 1 addition & 1 deletion otelcollector/telegraf/telegraf-prometheus-collector.conf
Original file line number Diff line number Diff line change
Expand Up @@ -170,7 +170,7 @@
defaultscrapewindowskubeproxy = "$AZMON_PROMETHEUS_WINDOWSKUBEPROXY_SCRAPING_ENABLED"
defaultscrapepodannotations = "$AZMON_PROMETHEUS_POD_ANNOTATION_SCRAPING_ENABLED"
podannotationns = "$AZMON_PROMETHEUS_POD_ANNOTATION_NAMESPACES_REGEX"
defaultscraperetinabasic = "$AZMON_PROMETHEUS_retinaBASIC_SCRAPING_ENABLED"
defaultscraperetinabasic = "$AZMON_PROMETHEUS_RETINABASIC_SCRAPING_ENABLED"
nodeexportertargetport= "$NODE_EXPORTER_TARGETPORT"
nodeexportername = "$NODE_EXPORTER_NAME"
kubestatename = "$KUBE_STATE_NAME"
Expand Down

0 comments on commit 001ec2c

Please sign in to comment.