Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewDimension ¶
func NewDimension(key, value string) dimensions.Dimension
Create a new dimension for use in the DefaultDimensions option
Types ¶
type Exporter ¶
type Exporter struct {
// contains filtered or unexported fields
}
Exporter forwards metrics to a Dynatrace agent
func NewExporter ¶
NewExporter creates an exporter for the Dynatrace Metrics v2 API
func (*Exporter) Export ¶
func (e *Exporter) Export(ctx context.Context, res *resource.Resource, reader export.InstrumentationLibraryReader) error
Export a batch of metrics
func (*Exporter) TemporalityFor ¶
func (e *Exporter) TemporalityFor(desc *sdkapi.Descriptor, kind aggregation.Kind) aggregation.Temporality
TemporalityFor returns delta for histograms and monotonic counters, else cumulative
Click to show internal directories.
Click to hide internal directories.