Help us shape the future of Go! Take the 2026 Go Developer Survey

headers

package
v0.84.5 Latest Latest
Warning

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

Go to latest
Published: Oct 21, 2026 License: Apache-2.0 Imports: 0 Imported by: 1

Documentation

Index

Constants

View Source
const (
	// HostHeader contains the hostname of the payload
	HostHeader = "X-Dd-Hostname"
	// ContainerCountHeader contains the container count in the payload
	ContainerCountHeader = "X-Dd-ContainerCount"
	// ProcessVersionHeader holds the process agent version sending the payload
	ProcessVersionHeader = "X-Dd-Processagentversion"
	// ClusterIDHeader contains the orchestrator cluster ID of this agent
	ClusterIDHeader = "X-Dd-Orchestrator-ClusterID"
	// TimestampHeader contains the timestamp that the check data was created
	TimestampHeader = "X-DD-Agent-Timestamp"
	// ProtobufContentType contains that the content type is protobuf
	ProtobufContentType = "application/x-protobuf"
	// ContentTypeHeader contains the content type of the payload
	ContentTypeHeader = "Content-Type"
	// EVPOriginHeader is the source/origin sending a request to the intake. This field should be filled with the name of the library sending profiles.
	EVPOriginHeader = "DD-EVP-ORIGIN"
	// EVPOriginVersionHeader is the version of above origin
	EVPOriginVersionHeader = "DD-EVP-ORIGIN-VERSION"
	// ContentEncodingHeader contains the encoding type of the payload
	ContentEncodingHeader = "Content-Encoding"
	// ZSTDContentEncoding contains that the encoding type is zstd
	ZSTDContentEncoding = "zstd"
	// RequestIDHeader contains a unique identifier per payloads being sent to the intake servers
	RequestIDHeader = "X-DD-Request-ID"
	// AgentStartTime contains the timestamp that the agent was started
	AgentStartTime = "X-DD-Agent-Start-Time"
	// PayloadSource describes which agent process sent the payload (i.e. process or core agent)
	PayloadSource = "X-DD-Payload-Source"
	// ProcessesEnabled is a boolean value that indicates if the processes feature is enabled
	ProcessesEnabled = "X-DD-Processes-Enabled"
	// ServiceDiscoveryEnabled is a boolean value that indicates if the service discovery feature is enabled
	ServiceDiscoveryEnabled = "X-DD-Service-Discovery-Enabled"
)

Variables

This section is empty.

Functions

This section is empty.

Types

This section is empty.

Jump to

Keyboard shortcuts

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