mirror of
https://github.com/prometheus/prometheus.git
synced 2024-11-09 23:24:05 -08:00
Fix YAML and JSON doc section (#11023)
Signed-off-by: Julien Pivotto <roidelapluie@o11y.eu>
This commit is contained in:
parent
7bbc19de75
commit
a6c6155092
|
@ -1269,6 +1269,7 @@ changes resulting in well-formed target groups are applied.
|
||||||
Files must contain a list of static configs, using these formats:
|
Files must contain a list of static configs, using these formats:
|
||||||
|
|
||||||
**JSON**
|
**JSON**
|
||||||
|
|
||||||
```json
|
```json
|
||||||
[
|
[
|
||||||
{
|
{
|
||||||
|
@ -1282,6 +1283,7 @@ Files must contain a list of static configs, using these formats:
|
||||||
```
|
```
|
||||||
|
|
||||||
**YAML**
|
**YAML**
|
||||||
|
|
||||||
```yaml
|
```yaml
|
||||||
- targets:
|
- targets:
|
||||||
[ - '<host>' ]
|
[ - '<host>' ]
|
||||||
|
|
Loading…
Reference in a new issue