We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a7210f6 commit 5906d94Copy full SHA for 5906d94
opentelemetry-sdk/src/metrics/mod.rs
@@ -933,7 +933,7 @@ mod tests {
933
}
934
935
#[tokio::test(flavor = "multi_thread", worker_threads = 1)]
936
- async fn no_attr_delta_up_down_counter() {
+ async fn no_attr_up_down_counter_always_cumulative() {
937
let mut test_context = TestContext::new(Temporality::Delta);
938
let counter = test_context.i64_up_down_counter("test", "my_counter", Some("my_unit"));
939
@@ -947,7 +947,7 @@ mod tests {
947
assert_eq!(
948
sum.temporality,
949
Temporality::Cumulative,
950
- "Should produce Cumulative for UpDownCounter"
+ "Should produce Cumulative due to UpDownCounter temporality_preference"
951
);
952
953
let data_point = &sum.data_points[0];
0 commit comments