ddflareextension

package module
v0.59.0 Latest Latest
Warning

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

Go to latest
Published: Nov 6, 2024 License: Apache-2.0 Imports: 2 Imported by: 1

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

Jump to

Keyboard shortcuts

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