cloudflare/pint

Public

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

CodeCommitsIssuesPull requestsActionsInsightsSecurity
v0.40.0

Branches

Tags

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

Clone

HTTPS

Download ZIP

docs/examples/ignore_error_metrics.hcl

22lines · modecode

1# Define "prod" Prometheus instance that will only be used for
2# rules defined in file matching "alerting/prod/.+" or "recording/prod/.+".
3prometheus "prod" {
4 uri = "https://prod.example.com"
5 timeout = "30s"
6 include = [
7 "alerting/prod/.+",
8 "recording/prod/.+",
9 ]
10}
11
12# Extra global configuration for the promql/series check.
13check "promql/series" {
14 # Don't report missing metrics for any metric with name matching
15 # one of the regexp matchers below.
16 ignoreMetrics = [
17 ".+_error",
18 ".+_error_.+",
19 ".+_errors",
20 ".+_errors_.+",
21 ]
22}
23