examples/prometheus-agent: Fix broken configurations

Signed-off-by: ArthurSens <arthursens2005@gmail.com>
This commit is contained in:
ArthurSens
2021-11-06 20:52:35 +00:00
parent eac0eb5cb1
commit 25d5f86c80

View File

@@ -4,20 +4,24 @@ local kp =
values+:: {
common+: {
namespace: 'monitoring',
versions+: {
prometheus: '2.32.0',
},
},
prometheus+: {
version: '2.32.0',
resources: {
requests: { memory: '100Mi' },
},
enableFeatures: ['agent']
enableFeatures: ['agent'],
},
},
prometheus+: {
prometheus+: {
alerting:: {},
remoteWrite: {
// Remote-write config
spec+: {
alerting:: {},
remoteWrite: [{
url: 'http://remote-write-url.com',
}],
},
},
},