Documentation ¶
Overview ¶
Package ddflareextension defines the OpenTelemetry Extension component.
Package ddflareextension defines the OpenTelemetry Extension component.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BuildInfoResponse ¶
type BuildInfoResponse struct { AgentVersion string `json:"version"` AgentCommand string `json:"command"` AgentDesc string `json:"description"` ExtensionVersion string `json:"extension_version"` }
BuildInfoResponse is the response struct for BuildInfo
type Component ¶
type Component interface { extension.Extension // Embed base Extension for common functionality. http.Handler }
Component specifies the interface implemented by the extension module.
type ConfigResponse ¶
type ConfigResponse struct { CustomerConfig string `json:"provided_configuration"` EnvConfig string `json:"environment_variable_configuration"` RuntimeOverrideConfig string `json:"runtime_override_configuration"` RuntimeConfig string `json:"full_configuration"` }
ConfigResponse is the response struct for Config
type DebugSourceResponse ¶
type DebugSourceResponse struct {
Sources map[string]OTelFlareSource `json:"sources,omitempty"`
}
DebugSourceResponse is the response struct for a map of OTelFlareSource
type OTelFlareSource ¶
type OTelFlareSource struct {
URLs []string `json:"url"`
}
OTelFlareSource is the response struct for flare debug sources
type Response ¶
type Response struct { BuildInfoResponse ConfigResponse DebugSourceResponse Environment map[string]string `json:"environment,omitempty"` }
Response is the response struct for API queries
Click to show internal directories.
Click to hide internal directories.