8 references to GetTagValue
Aspire.Confluent.Kafka.Tests (8)
OtelInstrumentationTests.cs (2)
350
Assert.Equal(error.Code.ToString(),
GetTagValue
(durationPoint, "error.type"));
360
Assert.Equal(error.Code.ToString(),
GetTagValue
(recordedPoint, "error.type"));
OtelMetricsTests.cs (5)
145
if (Equals(
GetTagValue
(point, "messaging.destination.name"), topic))
152
var sendPoint = Assert.Single(durationPoints, point => Equals(
GetTagValue
(point, "messaging.operation.name"), "send"));
154
Assert.Equal("send",
GetTagValue
(sendPoint, "messaging.operation.type"));
156
var pollPoint = Assert.Single(durationPoints, point => Equals(
GetTagValue
(point, "messaging.operation.name"), "poll"));
158
Assert.Equal("receive",
GetTagValue
(pollPoint, "messaging.operation.type"));
TestServices\MetricTestHelpers.cs (1)
16
if (Equals(
GetTagValue
(point, tagName), tagValue))