cloudflare/pint

Public

mirrored from https://github.com/cloudflare/pintAvailable

CodeCommitsIssuesPull requestsActionsInsightsSecurity
v0.13.1

Branches

Tags

  • No tags available.
0Branches0Tags
Go to file
Add file
Code

Clone

HTTPS

Download ZIP

docs/checks/yaml/parse.md

32lines · modecode

1---
2layout: default
3parent: Checks
4grand_parent: Documentation
5---
6
7# yaml/parse
8
9You will only ever see this check reporting problems if a file containing
10Prometheus rules to check doesn't parse as valid [YAML](https://yaml.org/),
11meaning that pint is unable to read any rules from that file.
12
13This includes basic YAML parser checks but will also fail if a rule
14block contains duplicated keys, example:
15
16```yaml
17- record: foo
18 expr: sum(my_metric)
19 expr: sum(my_metric) without(instance)
20```
21
22## Configuration
23
24This check doesn't have any configuration options.
25
26## How to enable it
27
28This check is enabled by default.
29
30## How to disable it
31
32You cannot disable this check.
33