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 292e080 commit 0684465Copy full SHA for 0684465
test/telemetry/test_telemetry.cpp
@@ -445,7 +445,7 @@ TELEMETRY_IMPLEMENTATION_TEST("Tracer telemetry API") {
445
}
446
]
447
)");
448
- CHECK(is_same_json(series, expected_metrics));
+ CHECK(series == expected_metrics);
449
450
451
SECTION("rate") {
@@ -501,7 +501,14 @@ TELEMETRY_IMPLEMENTATION_TEST("Tracer telemetry API") {
501
502
503
504
+
505
+ for (const auto& s : series) {
506
+ if (s.contains("tags")) {
507
+ CHECK(s == expected_metrics[0]);
508
+ } else {
509
+ CHECK(s == expected_metrics[1]);
510
+ }
511
512
513
// Make sure the next heartbeat doesn't contains distributions if no
514
// datapoint has been added to a distribution.
0 commit comments