forked from JosephPatrickCabanilla/support-engineer
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathapi_timeboard.json
60 lines (59 loc) · 2.05 KB
/
api_timeboard.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
{
"graphs": [
{
"definition": {
"viz": "timeseries",
"requests": [
{
"q": "avg:my_metric{role:database}",
"style": {
"palette": "dog_classic",
"width": "normal",
"type": "solid"
},
"type": "line"
}
]
},
"title": "Average of my_metric on the DB"
},
{
"definition": {
"autoscale": true,
"text_align": "center",
"precision": 2,
"viz": "query_value",
"requests": [
{
"q": "avg:my_metric{*}.rollup(sum, 3600)",
"aggregator": "sum",
"conditional_formats": []
}
]
},
"title": "Rollup Sum of my_metric"
},
{
"definition": {
"viz": "timeseries",
"requests": [
{
"q": "anomalies(avg:postgresql.percent_usage_connections{*}, 'basic', 2)",
"style": {
"palette": "dog_classic",
"width": "normal",
"type": "solid"
},
"type": "line"
}
]
},
"title": "Percentage of DB Connections (with Anomaly)"
}
],
"title" : "Hiring Exercise Timeboard Created Using API",
"description" : "Hey! I used the API to make a timeboard!",
"template_variables": [{
}],
"read_only": "True"
}