Documentation ¶
Index ¶
- Constants
- func DefaultMetrics(exporterType string, timestamp uint64) []datadog.Metric
- func NewCount(name string, ts uint64, value float64, tags []string) datadog.Metric
- func NewGauge(name string, ts uint64, value float64, tags []string) datadog.Metric
- func ProcessMetrics(ms []datadog.Metric, logger *zap.Logger, cfg *config.Config)
Constants ¶
View Source
const ( // Gauge is the Datadog Gauge metric type Gauge string = "gauge" Count string = "count" )
Variables ¶
This section is empty.
Functions ¶
func DefaultMetrics ¶
DefaultMetrics creates built-in metrics to report that an exporter is running
func NewCount ¶ added in v0.18.0
NewCount creates a new Datadog count metric given a name, a Unix nanoseconds timestamp a value and a slice of tags
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.