Summary
Uses the application metrics.
- Assembly
- Rocket
.Surgery .Extensions .App .Metrics .dll - Namespace
- Rocket
.Surgery .Conventions - Containing Type
- App
Metrics Host Builder Extensions
Syntax
public static IConventionHostBuilder UseAppMetrics(this IConventionHostBuilder container, IMetricsBuilder metricsBuilder = null, IHealthBuilder healthBuilder = null)
Parameters
Name | Type | Description |
---|---|---|
container | I |
The container. |
metricsBuilder | IMetricsBuilder | The metrics builder. |
healthBuilder | IHealthBuilder | The health builder. |
Return Value
Type | Description |
---|---|
I |
IConventionHostBuilder. |