cloudflare/pint

Public

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

CodeCommitsIssuesPull requestsActionsInsightsSecurity
v0.26.0

Branches

Tags

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

Clone

HTTPS

Download ZIP

docs/examples/ignore_error_metrics.hcl

23lines · 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
7 paths = [
8 "alerting/prod/.+",
9 "recording/prod/.+",
10 ]
11}
12
13# Extra global configuration for the promql/series check.
14check "promql/series" {
15 # Don't report missing metrics for any metric with name matching
16 # one of the regexp matchers below.
17 ignoreMetrics = [
18 ".+_error",
19 ".+_error_.+",
20 ".+_errors",
21 ".+_errors_.+",
22 ]
23}
24