AppMetricsHostBuilderExtensions.

UseAppMetrics(IConventionHostBuilder, IMetricsBuilder, IHealthBuilder) Method

Summary

Uses the application metrics.

Syntax

public static IConventionHostBuilder UseAppMetrics(this IConventionHostBuilder container, IMetricsBuilder metricsBuilder = null, IHealthBuilder healthBuilder = null)

Parameters

Name Type Description
container IConventionHostBuilder The container.
metricsBuilder IMetricsBuilder The metrics builder.
healthBuilder IHealthBuilder The health builder.

Return Value

Type Description
IConventionHostBuilder IConventionHostBuilder.