newrelic / newrelic-prometheus-configurator

New Relic Prometheus Configurator
Apache License 2.0
13 stars 13 forks source link

Let the helm chart specifcy additional args for prometheus #429

Open david-garcia-garcia opened 2 days ago

david-garcia-garcia commented 2 days ago

Description

The set of arguments that are passed to the prometheus agent container is locked down and cannot be customized through the chart:

          args:
            - --config.file=/etc/prometheus/config/config.yaml
            - --enable-feature=agent,expand-external-labels
            - --storage.agent.retention.max-time=30m
            - --storage.agent.wal-truncate-frequency=30m
            - --storage.agent.path=/etc/prometheus/storage
            {{- if include "newrelic.common.verboseLog" . }}
            - --log.level=debug
            {{- end }}

Acceptance Criteria

Add the ability to configure additional args.

Describe Alternatives

None

Dependencies

None

Additional context

None

Estimates

S

For Maintainers Only or Hero Triaging this bug

Suggested Priority (P1,P2,P3,P4,P5): Suggested T-Shirt size (S, M, L, XL, Unknown):

workato-integration[bot] commented 2 days ago

https://new-relic.atlassian.net/browse/NR-344802