Skip to content

Commit 8e6ead5

Browse files
author
ci.datadog-api-spec
committed
Regenerate client from commit 2ce6d32 of spec repo
1 parent 0dab2cf commit 8e6ead5

File tree

5 files changed

+132
-18
lines changed

5 files changed

+132
-18
lines changed

content/en/api/v1/service-level-objectives/examples.json

Lines changed: 6 additions & 6 deletions
Large diffs are not rendered by default.
Lines changed: 43 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,43 @@
1+
{
2+
"type": "metric",
3+
"description": "Metric SLO using sli_specification",
4+
"name": "Example-Service-Level-Objective",
5+
"sli_specification": {
6+
"count": {
7+
"good_events_formula": {
8+
"formula": "query1 - query2"
9+
},
10+
"total_events_formula": {
11+
"formula": "query1"
12+
},
13+
"queries": [
14+
{
15+
"data_source": "metrics",
16+
"name": "query1",
17+
"query": "sum:httpservice.hits{*}.as_count()"
18+
},
19+
{
20+
"data_source": "metrics",
21+
"name": "query2",
22+
"query": "sum:httpservice.errors{*}.as_count()"
23+
}
24+
]
25+
}
26+
},
27+
"tags": [
28+
"env:prod",
29+
"type:count"
30+
],
31+
"thresholds": [
32+
{
33+
"target": 99.0,
34+
"target_display": "99.0",
35+
"timeframe": "7d",
36+
"warning": 99.5,
37+
"warning_display": "99.5"
38+
}
39+
],
40+
"timeframe": "7d",
41+
"target_threshold": 99.0,
42+
"warning_threshold": 99.5
43+
}

0 commit comments

Comments
 (0)