-
Notifications
You must be signed in to change notification settings - Fork 232
Open
Labels
bugCategorizes issue or PR as related to a bug.Categorizes issue or PR as related to a bug.triage/pendingIssue or PR is pending for triage and prioritization.Issue or PR is pending for triage and prioritization.
Description
Bug Report
Expected Behavior
When configuring prometheus.extraArgs in the newrelic-prometheus-agent chart, the additional arguments should be added to the Prometheus container in the deployed StatefulSet.
Actual Behavior
The extraArgs configuration is not being applied to the Prometheus container arguments in the StatefulSet. The container only contains the default arguments:
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'
Configuration used
newrelic-prometheus-agent:
enabled: true
prometheus:
extraArgs:
- --log.level=warn
Chart Version
Chart: nri-bundle v5.0.80
newrelic-prometheus-agent configurator image: 1.16.2
Use Case
Need to suppress info-level logs from Prometheus remote write component to reduce log noise while keeping error and warning logs.Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
bugCategorizes issue or PR as related to a bug.Categorizes issue or PR as related to a bug.triage/pendingIssue or PR is pending for triage and prioritization.Issue or PR is pending for triage and prioritization.