Table of Contents

Class SpringBootMetricWriter

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

Constructors

SpringBootMetricWriter(CloudFoundryForwarderOptions, IStats, ILogger)

public SpringBootMetricWriter(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>

GetMetricName(string, string, IDictionary<string, string>)

protected string GetMetricName(string viewName, string suffix, IDictionary<string, string> tags)

Parameters

viewName string
suffix string
tags IDictionary<string, string>

Returns

string

GetTagValue(string)

protected string GetTagValue(string tag)

Parameters

tag string

Returns

string

ShouldSkipTag(string)

protected bool ShouldSkipTag(string tagKey)

Parameters

tagKey string

Returns

bool