Skip to content

Files

Latest commit

 

History

History
 
 

Microsoft.Extensions.Diagnostics

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 

Microsoft.Extensions.Diagnostics

Microsoft.Extensions.Diagnostics contains the default implementation of meter factory and extension methods for registering this default meter factory to the DI.

Commonly Used APIS:

  • MetricsServiceExtensions.AddMetrics(this IServiceCollection services)
  • MeterFactoryExtensions.Create(this IMeterFactory, string name, string? version = null, IEnumerable<KeyValuePair<string,object?>> tags = null, object? scope = null)
  • MetricsBuilderConfigurationExtensions.AddConfiguration(this IMetricsBuilder builder, IConfiguration configuration)

Contribution Bar

The APIs and functionality are mature, but do get extended occasionally.

Deployment

Microsoft.Extensions.Diagnostics is included in the ASP.NET Core shared framework. The package is deployed as out-of-band (OOB) too and can be referenced into projects directly.