/
expected.yaml
61 lines (61 loc) · 1.88 KB
/
expected.yaml
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
61
resourceMetrics:
- resource:
attributes:
- key: file.name
value:
stringValue: foo.txt
- key: file.path
value:
stringValue: /foo.txt
scopeMetrics:
- metrics:
- description: Elapsed time since the last modification of the file or folder, in seconds since Epoch.
name: file.mtime
sum:
aggregationTemporality: 2
dataPoints:
- asInt: "1710390874"
startTimeUnixNano: "1000000"
timeUnixNano: "2000000"
unit: s
- description: The size of the file or folder, in bytes.
gauge:
dataPoints:
- asInt: "3"
startTimeUnixNano: "1000000"
timeUnixNano: "2000000"
name: file.size
unit: b
scope:
name: otelcol/filestatsreceiver
version: latest
- resource:
attributes:
- key: file.name
value:
stringValue: foobar.txt
- key: file.path
value:
stringValue: /foobar.txt
scopeMetrics:
- metrics:
- description: Elapsed time since the last modification of the file or folder, in seconds since Epoch.
name: file.mtime
sum:
aggregationTemporality: 2
dataPoints:
- asInt: "1710390874"
startTimeUnixNano: "1000000"
timeUnixNano: "2000000"
unit: s
- description: The size of the file or folder, in bytes.
gauge:
dataPoints:
- asInt: "6"
startTimeUnixNano: "1000000"
timeUnixNano: "2000000"
name: file.size
unit: b
scope:
name: otelcol/filestatsreceiver
version: latest