File tree Expand file tree Collapse file tree 4 files changed +34
-0
lines changed Expand file tree Collapse file tree 4 files changed +34
-0
lines changed Original file line number Diff line number Diff line change @@ -1115,6 +1115,7 @@ activity context:
1115
1115
* `Heartbeater ` - Callback invoked each heartbeat .
1116
1116
* `WorkerShutdownTokenSource ` - Token source for issuing worker shutdown .
1117
1117
* `PayloadConverter ` - Defaulted to default payload converter .
1118
+ * `MetricMeter ` - Defaulted to noop meter .
1118
1119
1119
1120
### OpenTelemetry Tracing Support
1120
1121
Original file line number Diff line number Diff line change @@ -18,6 +18,17 @@ internal MetricCounter(MetricDetails details)
18
18
{
19
19
}
20
20
21
+ /// <summary>
22
+ /// Initializes a new instance of the <see cref="MetricCounter{T}" /> class.
23
+ /// </summary>
24
+ /// <param name="name">The name of the counter.</param>
25
+ /// <param name="unit">The optional unit of measurement for the values recorded by the counter.</param>
26
+ /// <param name="description">The optional description of the counter.</param>
27
+ protected MetricCounter ( string name , string ? unit = null , string ? description = null )
28
+ : this ( new ( name , unit , description ) )
29
+ {
30
+ }
31
+
21
32
/// <summary>
22
33
/// Add the given value to the counter.
23
34
/// </summary>
Original file line number Diff line number Diff line change @@ -18,6 +18,17 @@ internal MetricGauge(MetricDetails details)
18
18
{
19
19
}
20
20
21
+ /// <summary>
22
+ /// Initializes a new instance of the <see cref="MetricGauge{T}" /> class.
23
+ /// </summary>
24
+ /// <param name="name">The name of the gauge.</param>
25
+ /// <param name="unit">The optional unit of measurement for the values recorded by the gauge.</param>
26
+ /// <param name="description">The optional description of the gauge.</param>
27
+ protected MetricGauge ( string name , string ? unit = null , string ? description = null )
28
+ : this ( new ( name , unit , description ) )
29
+ {
30
+ }
31
+
21
32
/// <summary>
22
33
/// Set the given value on the gauge.
23
34
/// </summary>
Original file line number Diff line number Diff line change @@ -18,6 +18,17 @@ internal MetricHistogram(MetricDetails details)
18
18
{
19
19
}
20
20
21
+ /// <summary>
22
+ /// Initializes a new instance of the <see cref="MetricHistogram{T}" /> class.
23
+ /// </summary>
24
+ /// <param name="name">The name of the histogram.</param>
25
+ /// <param name="unit">The optional unit of measurement for the values recorded by the histogram.</param>
26
+ /// <param name="description">The optional description of the histogram.</param>
27
+ protected MetricHistogram ( string name , string ? unit = null , string ? description = null )
28
+ : this ( new ( name , unit , description ) )
29
+ {
30
+ }
31
+
21
32
/// <summary>
22
33
/// Record the given value on the histogram.
23
34
/// </summary>
You can’t perform that action at this time.
0 commit comments