Table of Contents

Class MicrometerMetricWriter

Namespace
Steeltoe.Management.Exporter.Metrics.CloudFoundryForwarder
Assembly
Steeltoe.Management.ExporterBase.dll
public class MicrometerMetricWriter : CloudFoundryMetricWriter, ICloudFoundryMetricWriter
Inheritance
MicrometerMetricWriter
Implements
Inherited Members

Constructors

MicrometerMetricWriter(CloudFoundryForwarderOptions, IStats, ILogger)

public MicrometerMetricWriter(CloudFoundryForwarderOptions options, IStats stats, ILogger logger = null)

Parameters

options CloudFoundryForwarderOptions
stats IStats
logger ILogger

Methods

CreateMetrics(IViewData, IAggregationData, TagValues, long)

public override IList<Metric> CreateMetrics(IViewData viewData, IAggregationData aggregation, TagValues tagValues, long timeStamp)

Parameters

viewData IViewData
aggregation IAggregationData
tagValues TagValues
timeStamp long

Returns

IList<Metric>

GetStatistic(IAggregation, IMeasure)

protected string GetStatistic(IAggregation agg, IMeasure measure)

Parameters

agg IAggregation
measure IMeasure

Returns

string