Documentation ¶
Index ¶
- type MetricsBuilder
- func (mb *MetricsBuilder) ConvertDeltaToMetrics(ts *monitoringpb.TimeSeries, m pmetric.Metric) pmetric.Metric
- func (mb *MetricsBuilder) ConvertGaugeToMetrics(ts *monitoringpb.TimeSeries, m pmetric.Metric) pmetric.Metric
- func (mb *MetricsBuilder) ConvertSumToMetrics(ts *monitoringpb.TimeSeries, m pmetric.Metric) pmetric.Metric
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MetricsBuilder ¶
type MetricsBuilder struct {
// contains filtered or unexported fields
}
func NewMetricsBuilder ¶
func NewMetricsBuilder(logger *zap.Logger) *MetricsBuilder
func (*MetricsBuilder) ConvertDeltaToMetrics ¶
func (mb *MetricsBuilder) ConvertDeltaToMetrics(ts *monitoringpb.TimeSeries, m pmetric.Metric) pmetric.Metric
func (*MetricsBuilder) ConvertGaugeToMetrics ¶
func (mb *MetricsBuilder) ConvertGaugeToMetrics(ts *monitoringpb.TimeSeries, m pmetric.Metric) pmetric.Metric
func (*MetricsBuilder) ConvertSumToMetrics ¶
func (mb *MetricsBuilder) ConvertSumToMetrics(ts *monitoringpb.TimeSeries, m pmetric.Metric) pmetric.Metric
Click to show internal directories.
Click to hide internal directories.