created docker-prometheus compose file and edited the Prometheus yml file
This commit is contained in:
11
prom/retrieval/discovery/fixtures/target_groups.json
Normal file
11
prom/retrieval/discovery/fixtures/target_groups.json
Normal file
@ -0,0 +1,11 @@
|
||||
[
|
||||
{
|
||||
"targets": ["localhost:9090", "example.org:443"],
|
||||
"labels": {
|
||||
"foo": "bar"
|
||||
}
|
||||
},
|
||||
{
|
||||
"targets": ["my.domain"]
|
||||
}
|
||||
]
|
5
prom/retrieval/discovery/fixtures/target_groups.yml
Normal file
5
prom/retrieval/discovery/fixtures/target_groups.yml
Normal file
@ -0,0 +1,5 @@
|
||||
- targets: ['localhost:9090', 'example.org:443']
|
||||
labels:
|
||||
foo: bar
|
||||
|
||||
- targets: ['my.domain']
|
Reference in New Issue
Block a user