cloudflare/pint

Public

mirrored fromhttps://github.com/cloudflare/pintAvailable

CodeCommitsIssuesPull requestsActionsInsightsSecurity
v0.75.0

Branches

Tags

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

Clone

HTTPS

Download ZIP

docs/checks/yaml/parse.md

32lines · modepreview

---
layout: default
parent: Checks
grand_parent: Documentation
---

# yaml/parse

You will only ever see this check reporting problems if a file containing
Prometheus rules to check doesn't parse as valid [YAML](https://yaml.org/),
meaning that pint is unable to read any rules from that file.

This includes basic YAML parser checks but will also fail if a rule
block contains duplicated keys, example:

```yaml
- record: foo
  expr: sum(my_metric)
  expr: sum(my_metric) without(instance)
```

## Configuration

This check doesn't have any configuration options.

## How to enable it

This check is enabled by default.

## How to disable it

You cannot disable this check.