Model\Otlp\TelemetryFilter.cs (4)
60FilterCondition.Equals => (a, b) => string.Equals(a, b, StringComparisons.OtlpFieldValue),
61FilterCondition.Contains => (a, b) => a != null && a.Contains(b, StringComparisons.OtlpFieldValue),
66FilterCondition.NotEqual => (a, b) => !string.Equals(a, b, StringComparisons.OtlpFieldValue),
67FilterCondition.NotContains => (a, b) => a != null && !a.Contains(b, StringComparisons.OtlpFieldValue),
Otlp\Storage\ApplicationKey.cs (5)
10var c = string.Compare(Name, other.Name, StringComparisons.ResourceName);
16return string.Compare(InstanceId, other.InstanceId, StringComparisons.ResourceName);
34if (!name.AsSpan(0, Name.Length).Equals(Name, StringComparisons.ResourceName))
42if (!name.AsSpan(Name.Length + 1, InstanceId.Length).Equals(InstanceId, StringComparisons.ResourceName))
51return string.Equals(Name, name, StringComparisons.ResourceName);