diff --git a/docs/customizations/prometheus-agent.md b/docs/customizations/prometheus-agent.md index 499b92d04b..386fa078c4 100644 --- a/docs/customizations/prometheus-agent.md +++ b/docs/customizations/prometheus-agent.md @@ -14,7 +14,6 @@ local kp = resources: { requests: { memory: '100Mi' }, }, - enableFeatures: ['agent'], }, }, prometheus+: { @@ -32,7 +31,7 @@ local kp = args+: [ '--config.file=/etc/prometheus/config_out/prometheus.env.yaml', '--storage.agent.path=/prometheus', - '--enable-feature=agent', + '--agent', '--web.enable-lifecycle', ], }, diff --git a/examples/prometheus-agent.jsonnet b/examples/prometheus-agent.jsonnet index 373bf4878d..c970069887 100644 --- a/examples/prometheus-agent.jsonnet +++ b/examples/prometheus-agent.jsonnet @@ -9,7 +9,6 @@ local kp = resources: { requests: { memory: '100Mi' }, }, - enableFeatures: ['agent'], }, }, prometheus+: { @@ -27,7 +26,7 @@ local kp = args+: [ '--config.file=/etc/prometheus/config_out/prometheus.env.yaml', '--storage.agent.path=/prometheus', - '--enable-feature=agent', + '--agent', '--web.enable-lifecycle', ], },