Documentation ¶
Index ¶
- Constants
- func NewFactory() exporter.Factory
- type APIConfigdeprecated
- type Configdeprecated
- type CumulativeMonotonicSumModedeprecated
- type HistogramConfigdeprecated
- type HistogramModedeprecated
- type HostMetadataConfigdeprecated
- type HostnameSourcedeprecated
- type InitialValueModedeprecated
- type LogsConfigdeprecated
- type MetricsConfigdeprecated
- type MetricsExporterConfigdeprecated
- type SumConfigdeprecated
- type SummaryConfigdeprecated
- type SummaryModedeprecated
- type TagsConfigdeprecated
- type TracesConfigdeprecated
Constants ¶
const ( // Deprecated: [v0.110.0] Use `datadogconfig.TypeStr` instead. // DefaultSite is the default site of the Datadog intake to send data to DefaultSite = datadogconfig.DefaultSite )
Variables ¶
This section is empty.
Functions ¶
Types ¶
type APIConfig
deprecated
type APIConfig = datadogconfig.APIConfig
Deprecated: [v0.110.0] Use `datadogconfig.TypeStr` instead. APIConfig defines the API configuration options
type Config
deprecated
type Config = datadogconfig.Config
Deprecated: [v0.110.0] Use `datadogconfig.Config` instead. Config defines configuration for the Datadog exporter.
type CumulativeMonotonicSumMode
deprecated
added in
v0.55.0
type CumulativeMonotonicSumMode = datadogconfig.CumulativeMonotonicSumMode
Deprecated: [v0.110.0] Use `datadogconfig.CumulativeMonotonicMode` instead. CumulativeMonotonicSumMode is the export mode for OTLP Sum metrics.
const ( // Deprecated: [v0.110.0] Use `datadogconfig.CumulativeMonotonicSumMode` instead. // CumulativeMonotonicSumModeToDelta calculates delta for // cumulative monotonic sum metrics in the client side and reports // them as Datadog counts. CumulativeMonotonicSumModeToDelta CumulativeMonotonicSumMode = datadogconfig.CumulativeMonotonicSumModeToDelta // Deprecated: [v0.110.0] Use `datadogconfig.CumulativeMonotonicSumMode` instead. // CumulativeMonotonicSumModeRawValue reports the raw value for // cumulative monotonic sum metrics as a Datadog gauge. CumulativeMonotonicSumModeRawValue CumulativeMonotonicSumMode = datadogconfig.CumulativeMonotonicSumModeRawValue )
type HistogramConfig
deprecated
added in
v0.55.0
type HistogramConfig = datadogconfig.HistogramConfig
Deprecated: [v0.110.0] Use `datadogconfig.HistogramConfig` instead. HistogramConfig customizes export of OTLP Histograms.
type HistogramMode
deprecated
added in
v0.55.0
type HistogramMode = datadogconfig.HistogramMode
Deprecated: [v0.110.0] Use `datadogconfig.HistogramMode` instead. HistogramMode is the export mode for OTLP Histogram metrics.
const ( // HistogramModeNoBuckets reports no bucket histogram metrics. .sum and .count metrics will still be sent // if `send_count_sum_metrics` is enabled. HistogramModeNoBuckets HistogramMode = datadogconfig.HistogramModeNoBuckets // HistogramModeCounters reports histograms as Datadog counts, one metric per bucket. HistogramModeCounters HistogramMode = datadogconfig.HistogramModeCounters // HistogramModeDistributions reports histograms as Datadog distributions (recommended). HistogramModeDistributions HistogramMode = datadogconfig.HistogramModeDistributions )
type HostMetadataConfig
deprecated
added in
v0.55.0
type HostMetadataConfig = datadogconfig.HostMetadataConfig
Deprecated: [v0.110.0] Use `datadogconfig.HostMetadataConfig` instead. 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`.
type HostnameSource
deprecated
added in
v0.55.0
type HostnameSource = datadogconfig.HostnameSource
Deprecated: [v0.110.0] Use `datadogconfig.HostnameSource` instead. HostnameSource is the source for the hostname of host metadata.
const ( // Deprecated: [v0.110.0] Use `datadogconfig.HostnameSource` instead. // 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. HostnameSourceFirstResource HostnameSource = datadogconfig.HostnameSourceFirstResource // Deprecated: [v0.110.0] Use `datadogconfig.HostnameSource` instead. // HostnameSourceConfigOrSystem picks the host metadata hostname from the 'hostname' setting, // and if this is empty, from available system APIs and cloud provider endpoints. HostnameSourceConfigOrSystem HostnameSource = datadogconfig.HostnameSourceConfigOrSystem )
type InitialValueMode
deprecated
added in
v0.82.0
type InitialValueMode = datadogconfig.InitialValueMode
Deprecated: [v0.110.0] Use `datadogconfig.InitialValueMode` instead. InitialValueMode defines what the exporter should do with the initial value of a time series when transforming from cumulative to delta.
const ( // InitialValueModeAuto reports the initial value if its start timestamp // is set and it happens after the process was started. InitialValueModeAuto InitialValueMode = datadogconfig.InitialValueModeAuto // InitialValueModeDrop always drops the initial value. InitialValueModeDrop InitialValueMode = datadogconfig.InitialValueModeDrop // InitialValueModeKeep always reports the initial value. InitialValueModeKeep InitialValueMode = datadogconfig.InitialValueModeKeep )
type LogsConfig
deprecated
added in
v0.61.0
type LogsConfig = datadogconfig.LogsConfig
Deprecated: [v0.110.0] Use `datadogconfig.LogsConfig` instead. LogsConfig defines logs exporter specific configuration
type MetricsConfig
deprecated
type MetricsConfig = datadogconfig.MetricsConfig
Deprecated: [v0.110.0] Use `datadogconfig.MetricsConfig` instead. MetricsConfig defines the metrics exporter specific configuration options
type MetricsExporterConfig
deprecated
added in
v0.55.0
type MetricsExporterConfig = datadogconfig.MetricsExporterConfig
Deprecated: [v0.110.0] Use `datadogconfig.MetricsExporterConfig` instead. MetricsExporterConfig provides options for a user to customize the behavior of the metrics exporter
type SumConfig
deprecated
added in
v0.55.0
type SumConfig = datadogconfig.SumConfig
Deprecated: [v0.110.0] Use `datadogconfig.SumConfig` instead. SumConfig customizes export of OTLP Sums.
type SummaryConfig
deprecated
added in
v0.55.0
type SummaryConfig = datadogconfig.SummaryConfig
Deprecated: [v0.110.0] Use `datadogconfig.SummaryMode` instead. SummaryConfig customizes export of OTLP Summaries.
type SummaryMode
deprecated
added in
v0.55.0
type SummaryMode = datadogconfig.SummaryMode
Deprecated: [v0.110.0] Use `datadogconfig.SummaryMode` instead. SummaryMode is the export mode for OTLP Summary metrics.
const ( // SummaryModeNoQuantiles sends no `.quantile` metrics. `.sum` and `.count` metrics will still be sent. SummaryModeNoQuantiles SummaryMode = datadogconfig.SummaryModeNoQuantiles // SummaryModeGauges sends `.quantile` metrics as gauges tagged by the quantile. SummaryModeGauges SummaryMode = datadogconfig.SummaryModeGauges )
type TagsConfig
deprecated
type TagsConfig = datadogconfig.TagsConfig
Deprecated: [v0.110.0] Use `datadogconfig.TagsConfig` instead. TagsConfig defines the tag-related configuration It is embedded in the configuration
type TracesConfig
deprecated
type TracesConfig = datadogconfig.TracesExporterConfig
Deprecated: [v0.110.0] Use `datadogconfig.TracesExporterConfig` instead. TracesConfig defines the traces exporter specific configuration options
Source Files ¶
Directories ¶
Path | Synopsis |
---|---|
integrationtest
module
|
|
internal
|
|
clientutil
Package clientutil contains the Datadog API client util functions.
|
Package clientutil contains the Datadog API client util functions. |
hostmetadata
Package hostmetadata is responsible for collecting host metadata from different providers such as EC2, ECS, AWS, etc and pushing it to Datadog.
|
Package hostmetadata is responsible for collecting host metadata from different providers such as EC2, ECS, AWS, etc and pushing it to Datadog. |
hostmetadata/internal/azure
Package azure contains the Azure hostname provider
|
Package azure contains the Azure hostname provider |
hostmetadata/internal/ec2
Package ec2 contains the AWS EC2 hostname provider
|
Package ec2 contains the AWS EC2 hostname provider |
hostmetadata/internal/ecs
Package ecs contains the ECS Fargate hostname provider
|
Package ecs contains the ECS Fargate hostname provider |
hostmetadata/internal/gcp
Package gcp contains the GCP hostname provider
|
Package gcp contains the GCP hostname provider |
hostmetadata/internal/gohai
package gohai provides system information like cpu, memory in a format that is expected by the datadog intake
|
package gohai provides system information like cpu, memory in a format that is expected by the datadog intake |
hostmetadata/internal/k8s
Package k8s contains the Kubernetes hostname provider
|
Package k8s contains the Kubernetes hostname provider |
hostmetadata/internal/system
Package system contains the system hostname provider
|
Package system contains the system hostname provider |
hostmetadata/provider
Package provider contains the cluster name provider
|
Package provider contains the cluster name provider |
logs
Package logs provides utils for transforming OTLP LogRecord to Datadog format it also provides sender for submitting transformed logs to datadog backend This uses datadog-api-client-go for submitting logs
|
Package logs provides utils for transforming OTLP LogRecord to Datadog format it also provides sender for submitting transformed logs to datadog backend This uses datadog-api-client-go for submitting logs |
metrics
Package metrics contains helper functions for Datadog metric export
|
Package metrics contains helper functions for Datadog metric export |
metrics/sketches
Package sketches is a copy of part from github.com/DataDog/datadog-agent/pkg/metrics.
|
Package sketches is a copy of part from github.com/DataDog/datadog-agent/pkg/metrics. |
scrub
Package scrub contains a Scrubber that scrubs error from sensitive details
|
Package scrub contains a Scrubber that scrubs error from sensitive details |