Skip to content

Commit 7291af2

Browse files
Update README.rst (#4114)
1 parent 57d30b3 commit 7291af2

File tree

1 file changed

+38
-1
lines changed

1 file changed

+38
-1
lines changed

docs/examples/metrics/instruments/README.rst

Lines changed: 38 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,4 +41,41 @@ The resulting metrics will appear in the output from the collector and look simi
4141

4242
.. code-block:: sh
4343
44-
TODO
44+
ScopeMetrics #0
45+
ScopeMetrics SchemaURL:
46+
InstrumentationScope getting-started 0.1.2
47+
Metric #0
48+
Descriptor:
49+
-> Name: counter
50+
-> Description:
51+
-> Unit:
52+
-> DataType: Sum
53+
-> IsMonotonic: true
54+
-> AggregationTemporality: Cumulative
55+
NumberDataPoints #0
56+
StartTimestamp: 2024-08-09 11:21:42.145179 +0000 UTC
57+
Timestamp: 2024-08-09 11:21:42.145325 +0000 UTC
58+
Value: 1
59+
Metric #1
60+
Descriptor:
61+
-> Name: updown_counter
62+
-> Description:
63+
-> Unit:
64+
-> DataType: Sum
65+
-> IsMonotonic: false
66+
-> AggregationTemporality: Cumulative
67+
NumberDataPoints #0
68+
StartTimestamp: 2024-08-09 11:21:42.145202 +0000 UTC
69+
Timestamp: 2024-08-09 11:21:42.145325 +0000 UTC
70+
Value: -4
71+
Metric #2
72+
Descriptor:
73+
-> Name: histogram
74+
-> Description:
75+
-> Unit:
76+
-> DataType: Histogram
77+
-> AggregationTemporality: Cumulative
78+
HistogramDataPoints #0
79+
StartTimestamp: 2024-08-09 11:21:42.145221 +0000 UTC
80+
Timestamp: 2024-08-09 11:21:42.145325 +0000 UTC
81+
Count: 1

0 commit comments

Comments
 (0)