Class EndpointServiceCollectionExtensions
Inheritance
System.Object
EndpointServiceCollectionExtensions
Namespace: Steeltoe.Management.Endpoint.Metrics
Assembly: Steeltoe.Management.EndpointCore.dll
Syntax
public static class EndpointServiceCollectionExtensions : object
Methods
| Edit this page View SourceAddMetricsActuator(IServiceCollection, IConfiguration)
Declaration
public static void AddMetricsActuator(this IServiceCollection services, IConfiguration config = null)
Parameters
Type | Name | Description |
---|---|---|
IServiceCollection | services | |
IConfiguration | config |
AddPrometheusActuator(IServiceCollection, IConfiguration)
Declaration
public static void AddPrometheusActuator(this IServiceCollection services, IConfiguration config = null)
Parameters
Type | Name | Description |
---|---|---|
IServiceCollection | services | |
IConfiguration | config |
AddWavefrontMetrics(IServiceCollection)
Adds the services used by the Wavefront exporter
Declaration
public static IServiceCollection AddWavefrontMetrics(this IServiceCollection services)
Parameters
Type | Name | Description |
---|---|---|
IServiceCollection | services | Reference to the service collection |
Returns
Type | Description |
---|---|
IServiceCollection | A reference to the service collection |