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