Table of Contents

Class CloudFoundryMetricWriter

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

Constructors

CloudFoundryMetricWriter(CloudFoundryForwarderOptions, IStats, ILogger)

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

Parameters

options CloudFoundryForwarderOptions
stats IStats
logger ILogger

Fields

logger

protected readonly ILogger logger

Field Value

ILogger

options

protected readonly CloudFoundryForwarderOptions options

Field Value

CloudFoundryForwarderOptions

stats

protected readonly IStats stats

Field Value

IStats

Methods

CreateMetrics(IViewData, IAggregationData, TagValues, long)

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

Parameters

viewData IViewData
aggregation IAggregationData
tagValues TagValues
timeStamp long

Returns

IList<Metric>

GetTagKeysAndValues(IList<ITagKey>, IList<ITagValue>)

protected IDictionary<string, string> GetTagKeysAndValues(IList<ITagKey> keys, IList<ITagValue> values)

Parameters

keys IList<ITagKey>
values IList<ITagValue>

Returns

IDictionary<string, string>