Skip to content

Commit

Permalink
fix: remove metrics buckets
Browse files Browse the repository at this point in the history
  • Loading branch information
razbroc committed May 15, 2024
1 parent 59b20f9 commit 32212e2
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 14 deletions.
12 changes: 0 additions & 12 deletions helm/templates/_helpers.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -142,15 +142,3 @@ Returns the metrics url from global if exists or from the chart's values
{{- .Values.env.metrics.url -}}
{{- end -}}
{{- end -}}


{{/*
Returns the metrics buckets from global if exists or from the chart's values
*/}}
{{- define "exporter-trigger.metricsBuckets" -}}
{{- if .Values.global.metrics.buckets }}
{{- .Values.global.metrics.buckets -}}
{{- else -}}
{{- .Values.env.metrics.buckets -}}
{{- end -}}
{{- end -}}
2 changes: 0 additions & 2 deletions helm/templates/configmap.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@
{{- $metricsUrl := include "exporter-trigger.metricsUrl" . -}}
{{- $tracingEnabled := include "raster-catalog-manager.tracingEnabled" . -}}
{{- $metricsEnabled := include "raster-catalog-manager.metricsEnabled" . -}}
{{- $metricsBuckets := include "raster-catalog-manager.metricsBuckets" . -}}
{{- $serviceUrls := (include "common.serviceUrls.merged" .) | fromYaml }}
{{- $jobManagement := (include "common.jobManagement.merged" .) | fromYaml }}
{{- $storage := (include "common.storage.merged" .) | fromYaml }}
Expand All @@ -25,7 +24,6 @@ data:
TELEMETRY_METRICS_ENABLED: {{ $metricsEnabled | quote }}
{{ if $metricsEnabled }}
TELEMETRY_METRICS_URL: {{ $metricsUrl }}
TELEMETRY_METRICS_BUCKETS: {{ $metricsBuckets | toJson | quote }}
{{ end }}
JOB_MANAGER_URL: {{ $serviceUrls.jobManager | quote }}
CLEANUP_EXPIRATION_DAYS: {{ .Values.env.cleanupExpirationDays | quote }}
Expand Down

0 comments on commit 32212e2

Please sign in to comment.