Class MetricsEndpoint
Inheritance
System.Object
MetricsEndpoint
Assembly: Steeltoe.Management.EndpointBase.dll
Syntax
public class MetricsEndpoint : AbstractEndpoint<IMetricsResponse, MetricsRequest>, IEndpoint<IMetricsResponse, MetricsRequest>, IEndpoint, IMetricsEndpoint
Constructors
|
Edit this page
View Source
MetricsEndpoint(IMetricsEndpointOptions, IEnumerable<IMetricsExporter>, ILogger<MetricsEndpoint>)
Declaration
public MetricsEndpoint(IMetricsEndpointOptions options, IEnumerable<IMetricsExporter> exporters, ILogger<MetricsEndpoint> logger = null)
Parameters
Properties
|
Edit this page
View Source
Options
Declaration
public IMetricsEndpointOptions Options { get; }
Property Value
Methods
|
Edit this page
View Source
GetMetric(MetricsRequest, List<MetricSample>, List<MetricTag>)
Declaration
protected MetricsResponse GetMetric(MetricsRequest request, List<MetricSample> metricSamples, List<MetricTag> availTags)
Parameters
Returns
|
Edit this page
View Source
Declaration
protected List<MetricSample> GetMetricSamplesByTags(MetricsCollection<List<MetricSample>> measurements, string metricName, IEnumerable<KeyValuePair<string, string>> tags)
Parameters
Type |
Name |
Description |
MetricsCollection<List<MetricSample>> |
measurements |
|
System.String |
metricName |
|
IEnumerable<KeyValuePair<System.String, System.String>> |
tags |
|
Returns
|
Edit this page
View Source
GetMetricsCollection(out MetricsCollection<List<MetricSample>>, out MetricsCollection<List<MetricTag>>)
Declaration
protected void GetMetricsCollection(out MetricsCollection<List<MetricSample>> metricSamples, out MetricsCollection<List<MetricTag>> availTags)
Parameters
|
Edit this page
View Source
Invoke(MetricsRequest)
Declaration
public override IMetricsResponse Invoke(MetricsRequest request)
Parameters
Returns
Overrides
Steeltoe.Management.AbstractEndpoint<Steeltoe.Management.Endpoint.Metrics.IMetricsResponse, Steeltoe.Management.Endpoint.Metrics.MetricsRequest>.Invoke(Steeltoe.Management.Endpoint.Metrics.MetricsRequest)
Implements