Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewFactory ¶
NewFactory creates a factory for the Datadog extension.
Types ¶
type Config ¶
type Config struct {
confighttp.ClientConfig `mapstructure:",squash"`
// Define the site and API key (and whether to fail on invalid API key) in API.
API datadogconfig.APIConfig `mapstructure:"api"`
// If Hostname is empty extension will use available system APIs and cloud provider endpoints.
Hostname string `mapstructure:"hostname"`
// HTTPConfig is v2 config for the http metadata service.
HTTPConfig *httpserver.Config `mapstructure:"http"`
// DeploymentType indicates the type of deployment (gateway, daemonset, or unknown).
// Defaults to "unknown" if not set.
DeploymentType string `mapstructure:"deployment_type"`
// InstallationMethod indicates how the collector was installed.
// Valid values: "", "kubernetes", "bare-metal", "docker", "ecs-fargate", "eks-fargate".
// Defaults to "" (unset) if not configured.
InstallationMethod string `mapstructure:"installation_method"`
// GatewayService is the k8s Service fronting the gateway collector pods.
// Set by gateway collectors. Format: "service" or "namespace/service".
// Together with cluster_name, it forms the join key for fleet topology queries.
GatewayService string `mapstructure:"gateway_service"`
// GatewayDestination is the k8s Service that this collector forwards telemetry to.
// Set by agent/daemonset collectors. Format: "service" or "namespace/service".
// Must match gateway_service on the receiving gateway collector.
GatewayDestination string `mapstructure:"gateway_destination"`
}
Config contains the information necessary for enabling the Datadog Extension.
Directories
¶
| Path | Synopsis |
|---|---|
|
internal
|
|
|
componentchecker
package componentchecker will define the functions and types necessary to parse component status and config components
|
package componentchecker will define the functions and types necessary to parse component status and config components |
|
metadata
Package metadata contains the autogenerated telemetry and build information for the extension/datadog component.
|
Package metadata contains the autogenerated telemetry and build information for the extension/datadog component. |
|
payload
package payload will define the metadata payload schemas to be forwarded to Datadog backend
|
package payload will define the metadata payload schemas to be forwarded to Datadog backend |
Click to show internal directories.
Click to hide internal directories.