2 instantiations of OtlpInstrument
Aspire.Dashboard (2)
Otlp\Model\OtlpApplication.cs (1)
58instrument ??= new OtlpInstrument
Otlp\Model\OtlpInstrument.cs (1)
127var newInstrument = new OtlpInstrument
9 references to OtlpInstrument
Aspire.Dashboard (9)
Otlp\Model\OtlpApplication.cs (5)
30private readonly Dictionary<OtlpInstrumentKey, OtlpInstrument> _instruments = new(); 56ref var instrument = ref CollectionsMarshal.GetValueRefOrAddDefault(_instruments, instrumentKey, out _); 107public OtlpInstrument? GetInstrument(string meterName, string instrumentName, DateTime? valuesStart, DateTime? valuesEnd) 113if (!_instruments.TryGetValue(new OtlpInstrumentKey(meterName, instrumentName), out var instrument)) 118return OtlpInstrument.Clone(instrument, cloneData: true, valuesStart: valuesStart, valuesEnd: valuesEnd);
Otlp\Model\OtlpInstrument.cs (3)
125public static OtlpInstrument Clone(OtlpInstrument instrument, bool cloneData, DateTime? valuesStart, DateTime? valuesEnd) 127var newInstrument = new OtlpInstrument
Otlp\Storage\TelemetryRepository.cs (1)
1062.OfType<OtlpInstrument>()