-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathexampleMetricConfig.yml
More file actions
39 lines (39 loc) · 878 Bytes
/
exampleMetricConfig.yml
File metadata and controls
39 lines (39 loc) · 878 Bytes
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
timeSeries:
- name: test
instances:
- server1
- server2
labels:
- job: job1
region: region1
az: region1-a
method: GET
- job: job1
region: region1
az: region1-a
method: POST
- job: job1
region: region1
az: region1-b
method: GET
- job: job1
region: region1
az: region1-b
method: POST
- job: job1
region: region2
az: region2-a
method: GET
- job: job1
region: region2
az: region2-b
method: GET
- job: job1
region: region2
az: region2-a
method: POST
- job: job1
region: region2
az: region2-b
method: POST
expression: 'Instance == "server2" && Index < 240 ? NaN() : (IsNaN(Last) ? 0 : Abs(Sin(Index/1440))*100 + Last)'