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
optionsCloudFoundryForwarderOptionsstatsIStatsloggerILogger
Methods
CreateMetrics(IViewData, IAggregationData, TagValues, long)
public override IList<Metric> CreateMetrics(IViewData viewData, IAggregationData aggregation, TagValues tagValues, long timeStamp)
Parameters
viewDataIViewDataaggregationIAggregationDatatagValuesTagValuestimeStamplong
Returns
GetMetricName(string, string, IDictionary<string, string>)
protected string GetMetricName(string viewName, string suffix, IDictionary<string, string> tags)
Parameters
viewNamestringsuffixstringtagsIDictionary<string, string>
Returns
GetTagValue(string)
protected string GetTagValue(string tag)
Parameters
tagstring
Returns
ShouldSkipTag(string)
protected bool ShouldSkipTag(string tagKey)
Parameters
tagKeystring