| File: Generated\Basic.CompilerLog.Util\Basic.CompilerLog.Util.Impl.BasicGeneratedFilesAnalyzerReference\Metrics.g.cs | |
| Project: ..\..\..\src\Libraries\Microsoft.Extensions.Diagnostics.HealthChecks.Common\Microsoft.Extensions.Diagnostics.HealthChecks.Common.csproj (Microsoft.Extensions.Diagnostics.HealthChecks.Common) |
// <auto-generated/> #nullable enable namespace Microsoft.Extensions.Diagnostics.HealthChecks { [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Gen.Metrics", "10.9.0.0")] internal static partial class Metric { [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Gen.Metrics", "10.9.0.0")] public static partial global::Microsoft.Extensions.Diagnostics.HealthChecks.HealthCheckReportCounter CreateHealthCheckReportCounter(global::System.Diagnostics.Metrics.Meter meter) => global::Microsoft.Extensions.Diagnostics.HealthChecks.GeneratedInstrumentsFactory.CreateHealthCheckReportCounter(meter); [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Gen.Metrics", "10.9.0.0")] public static partial global::Microsoft.Extensions.Diagnostics.HealthChecks.UnhealthyHealthCheckCounter CreateUnhealthyHealthCheckCounter(global::System.Diagnostics.Metrics.Meter meter) => global::Microsoft.Extensions.Diagnostics.HealthChecks.GeneratedInstrumentsFactory.CreateUnhealthyHealthCheckCounter(meter); } [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Gen.Metrics", "10.9.0.0")] internal sealed class HealthCheckReportCounter { private readonly global::System.Diagnostics.Metrics.Counter<long> _counter; public HealthCheckReportCounter(global::System.Diagnostics.Metrics.Counter<long> counter) { _counter = counter; } public void Add(long value, object? dotnet_health_check_status) { var tagList = new global::System.Diagnostics.TagList { new global::System.Collections.Generic.KeyValuePair<string, object?>("dotnet.health_check.status", dotnet_health_check_status), }; _counter.Add(value, tagList); } } [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Gen.Metrics", "10.9.0.0")] internal sealed class UnhealthyHealthCheckCounter { private readonly global::System.Diagnostics.Metrics.Counter<long> _counter; public UnhealthyHealthCheckCounter(global::System.Diagnostics.Metrics.Counter<long> counter) { _counter = counter; } public void Add(long value, object? dotnet_health_check_name, object? dotnet_health_check_status) { var tagList = new global::System.Diagnostics.TagList { new global::System.Collections.Generic.KeyValuePair<string, object?>("dotnet.health_check.name", dotnet_health_check_name), new global::System.Collections.Generic.KeyValuePair<string, object?>("dotnet.health_check.status", dotnet_health_check_status), }; _counter.Add(value, tagList); } } }