Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[prometheus-stackdriver-exporter] Adding new params: aggregate-deltas and aggregate-deltas-ttl #2987

Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions charts/prometheus-stackdriver-exporter/Chart.yaml
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
apiVersion: v1
description: Stackdriver exporter for Prometheus
name: prometheus-stackdriver-exporter
version: 4.1.0
appVersion: 0.12.0
version: 4.2.0
appVersion: 0.13.0
home: https://www.stackdriver.com/
sources:
- https://github.com/prometheus-community/helm-charts/tree/main/charts/prometheus-stackdriver-exporter
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -86,6 +86,10 @@ spec:
{{- if .Values.stackdriver.metrics.ingestDelay }}
- --monitoring.metrics-ingest-delay
{{- end }}
{{- if .Values.stackdriver.metrics.aggregateDeltas }}
- --monitoring.aggregate-deltas
- --monitoring.aggregate-deltas-ttl={{ .Values.stackdriver.metrics.aggregateDeltasTTL }}
{{- end }}
{{- if .Values.extraArgs }}
{{- range $key, $value := .Values.extraArgs }}
{{- if $value }}
Expand Down
6 changes: 5 additions & 1 deletion charts/prometheus-stackdriver-exporter/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ restartPolicy: Always

image:
repository: prometheuscommunity/stackdriver-exporter
tag: v0.12.0
tag: v0.13.0
pullPolicy: IfNotPresent

## Optionally specify an array of imagePullSecrets.
Expand Down Expand Up @@ -81,6 +81,10 @@ stackdriver:
offset: '0s'
# Offset for the Google Stackdriver Monitoring Metrics interval into the past by the ingest delay from the metric's metadata.
ingestDelay: false
# If enabled will treat all DELTA metrics as an in-memory counter instead of a gauge.
aggregateDeltas: false
# How long should a delta metric continue to be exported after GCP stops producing a metric
aggregateDeltasTTL: '30m'

web:
# Port to listen on
Expand Down