config

package
v0.55.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 6, 2022 License: Apache-2.0 Imports: 1 Imported by: 0

Documentation

Overview

Package config defines the Datadog exporter configuration. Deprecated: [v0.55.0] Use datadogexporter structs and types instead.

Index

Constants

View Source
const (
	// DefaultSite is the default site of the Datadog intake to send data to
	// Deprecated: [v0.55.0] use datadogexporter.DefaultSite instead.
	DefaultSite = datadogexporter.DefaultSite
)

Variables

This section is empty.

Functions

This section is empty.

Types

type APIConfig

type APIConfig = datadogexporter.APIConfig

APIConfig defines the API configuration options Deprecated: [v0.55.0] use datadogexporter.APIConfig instead.

type Config

type Config = datadogexporter.Config

Config defines configuration for the Datadog exporter. Deprecated: [v0.55.0] use datadogexporter.Config instead.

type CumulativeMonotonicSumMode added in v0.48.0

type CumulativeMonotonicSumMode = datadogexporter.CumulativeMonotonicSumMode

CumulativeMonotonicSumMode is the export mode for OTLP Sum metrics. Deprecated: [v0.55.0] use datadogexporter.CumulativeMonotonicSumMode instead.

const (
	// CumulativeMonotonicSumModeToDelta calculates delta for
	// cumulative monotonic sum metrics in the client side and reports
	// them as Datadog counts.
	// Deprecated: [v0.55.0] use datadogexporter.CumulativeMonotonicSumModeToDelta instead.
	CumulativeMonotonicSumModeToDelta CumulativeMonotonicSumMode = datadogexporter.CumulativeMonotonicSumModeToDelta

	// CumulativeMonotonicSumModeRawValue reports the raw value for
	// cumulative monotonic sum metrics as a Datadog gauge.
	// Deprecated: [v0.55.0] use datadogexporter.CumulativeMonotonicSumModeRawValue instead.
	CumulativeMonotonicSumModeRawValue CumulativeMonotonicSumMode = datadogexporter.CumulativeMonotonicSumModeRawValue
)

type HistogramConfig added in v0.36.0

type HistogramConfig = datadogexporter.HistogramConfig

HistogramConfig customizes export of OTLP Histograms. Deprecated: [v0.55.0] use datadogexporter.HistogramConfig instead.

type HistogramMode added in v0.51.0

type HistogramMode = datadogexporter.HistogramMode

HistogramMode defines the modes for exporting OTLP Histograms via the Datadog exporter. Deprecated: [v0.55.0] use datadogexporter.HistogramMode instead.

const (
	// HistogramModeNoBuckets reports no bucket histogram metrics. .sum and .count metrics will still be sent
	// if `send_count_sum_metrics` is enabled.
	// Deprecated: [v0.55.0] use datadogexporter.HistogramModeNoBuckets instead.
	HistogramModeNoBuckets HistogramMode = datadogexporter.HistogramModeNoBuckets
	// HistogramModeCounters reports histograms as Datadog counts, one metric per bucket.
	// Deprecated: [v0.55.0] use datadogexporter.HistogramModeCounters instead.
	HistogramModeCounters HistogramMode = datadogexporter.HistogramModeCounters
	// HistogramModeDistributions reports histograms as Datadog distributions (recommended).
	// Deprecated: [v0.55.0] use datadogexporter.HistogramModeDistributions instead.
	HistogramModeDistributions HistogramMode = datadogexporter.HistogramModeDistributions
)

type HostMetadataConfig added in v0.49.0

type HostMetadataConfig = datadogexporter.HostMetadataConfig

HostMetadataConfig defines the host metadata related configuration. Host metadata is the information used for populating the infrastructure list, the host map and providing host tags functionality.

The exporter will send host metadata for a single host, whose name is chosen according to `host_metadata::hostname_source`. Deprecated: [v0.55.0] use datadogexporter.HostMetadataConfig instead.

type HostnameSource added in v0.49.0

type HostnameSource = datadogexporter.HostnameSource

HostnameSource is the source for the hostname of host metadata. Deprecated: [v0.55.0] use datadogexporter.HostnameSource instead.

const (
	// HostnameSourceFirstResource picks the host metadata hostname from the resource
	// attributes on the first OTLP payload that gets to the exporter. If it is lacking any
	// hostname-like attributes, it will fallback to 'config_or_system' behavior (see below).
	//
	// Do not use this hostname source if receiving data from multiple hosts.
	// Deprecated: [v0.55.0] use datadogexporter.HostnameSourceFirstResource instead.
	HostnameSourceFirstResource HostnameSource = datadogexporter.HostnameSourceFirstResource

	// HostnameSourceConfigOrSystem picks the host metadata hostname from the 'hostname' setting,
	// and if this is empty, from available system APIs and cloud provider endpoints.
	// Deprecated: [v0.55.0] use datadogexporter.HostnameSourceConfigOrSystem
	HostnameSourceConfigOrSystem HostnameSource = datadogexporter.HostnameSourceConfigOrSystem
)

type LimitedHTTPClientSettings deprecated added in v0.45.0

type LimitedHTTPClientSettings = datadogexporter.LimitedHTTPClientSettings

Deprecated: [v0.55.0] use datadogexporter.LimitedHTTPClientSettings instead.

type LimitedTLSClientSettings added in v0.45.0

type LimitedTLSClientSettings = datadogexporter.LimitedTLSClientSettings

LimitedTLSClientSetting is a subset of TLSClientSetting, see LimitedHTTPClientSettings for more details Deprecated: [v0.55.0] use datadogexporter.LimitedTLSClientSettings instead.

type MetricsConfig

type MetricsConfig = datadogexporter.MetricsConfig

MetricsConfig defines the metrics exporter specific configuration options Deprecated: [v0.55.0] use datadogexporter.MetricsConfig instead.

type MetricsExporterConfig added in v0.18.0

type MetricsExporterConfig = datadogexporter.MetricsExporterConfig

MetricsExporterConfig provides options for a user to customize the behavior of the metrics exporter Deprecated: [v0.55.0] use datadogexporter.MetricsExporterConfig instead.

type SumConfig added in v0.48.0

type SumConfig = datadogexporter.SumConfig

SumConfig customizes export of OTLP Sums. Deprecated: [v0.55.0] use datadogexporter.SumConfig instead.

type SummaryConfig added in v0.50.0

type SummaryConfig = datadogexporter.SummaryConfig

SummaryConfig customizes export of OTLP Summaries. Deprecated: [v0.55.0] use datadogexporter.SummaryConfig instead.

type SummaryMode added in v0.50.0

type SummaryMode = datadogexporter.SummaryMode

SummaryMode is the export mode for OTLP Summary metrics. Deprecated: [v0.55.0] use datadogexporter.SummaryMode instead.

const (
	// SummaryModeNoQuantiles sends no `.quantile` metrics. `.sum` and `.count` metrics will still be sent.
	// Deprecated: [v0.55.0] use datadogexporter.SummaryModeNoQuantiles instead.
	SummaryModeNoQuantiles SummaryMode = datadogexporter.SummaryModeNoQuantiles
	// SummaryModeGauges sends `.quantile` metrics as gauges tagged by the quantile.
	// Deprecated: [v0.55.0] use datadogexporter.SummaryModeGauges instead.
	SummaryModeGauges SummaryMode = datadogexporter.SummaryModeGauges
)

type TagsConfig

type TagsConfig = datadogexporter.TagsConfig

TagsConfig defines the tag-related configuration It is embedded in the configuration Deprecated: [v0.55.0] use datadogexporter.TagsConfig instead.

type TracesConfig

type TracesConfig = datadogexporter.TracesConfig

TracesConfig defines the traces exporter specific configuration options Deprecated: [v0.55.0] use datadogexporter.TracesConfig instead.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL