traces

package
v0.6.0 Latest Latest
Warning

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

Go to latest
Published: Jul 15, 2026 License: Apache-2.0 Imports: 15 Imported by: 0

Documentation

Index

Constants

View Source
const ServerPrompt = `` /* 430-byte string literal not displayed */
View Source
const ToolsetName = "observability/traces"

Variables

This section is empty.

Functions

This section is empty.

Types

type Config

type Config struct {
	// AuthMode controls where the bearer token is obtained for authenticating against Tempo endpoints.
	// Valid values: "header" (default), "kubeconfig".
	AuthMode auth.AuthMode `toml:"auth_mode,omitempty"`

	// Insecure controls whether to skip TLS certificate verification.
	Insecure bool `toml:"insecure,omitempty"`

	// TempoURL is the URL of the Tempo API endpoint.
	// When set, it is used directly instead of discovering Tempo instances via Kubernetes.
	TempoURL string `toml:"tempo_url,omitempty"`

	// UseRoute controls whether to use OpenShift Routes for discovering Tempo endpoints.
	UseRoute bool `toml:"use_route,omitempty"`
}

func (*Config) GetAuthMode

func (c *Config) GetAuthMode() auth.AuthMode

func (*Config) Validate

func (c *Config) Validate() error

type Toolset

type Toolset struct{}

Toolset implements the observability toolset for Tempo.

func (*Toolset) GetDescription

func (t *Toolset) GetDescription() string

GetDescription returns a human-readable description of the toolset.

func (*Toolset) GetName

func (t *Toolset) GetName() string

GetName returns the name of the toolset.

func (*Toolset) GetPrompts

func (t *Toolset) GetPrompts() []api.ServerPrompt

GetPrompts returns prompts provided by this toolset.

func (*Toolset) GetResourceTemplates

func (t *Toolset) GetResourceTemplates() []api.ServerResourceTemplate

GetResourceTemplates returns resource templates provided by this toolset.

func (*Toolset) GetResources

func (t *Toolset) GetResources() []api.ServerResource

GetResources returns resources provided by this toolset.

func (*Toolset) GetTools

func (t *Toolset) GetTools(_ api.FilteringProvider) []api.ServerTool

GetTools returns all tools provided by this toolset.

Directories

Path Synopsis
Source: https://github.com/jaegertracing/jaeger-operator/blob/88fd9c6ef1d254dbf7946d2cfaf9d42acecdea4c/pkg/util/dns_name.go (ASL 2.0 license) Must follow same algorithm as service name generation in tempo operator: https://github.com/grafana/tempo-operator/blob/9c3430969265e23b2e9fc3103ab608624195e15e/internal/manifests/naming/naming.go#L13 https://github.com/grafana/tempo-operator/blob/9c3430969265e23b2e9fc3103ab608624195e15e/internal/manifests/naming/sanitize.go
Source: https://github.com/jaegertracing/jaeger-operator/blob/88fd9c6ef1d254dbf7946d2cfaf9d42acecdea4c/pkg/util/dns_name.go (ASL 2.0 license) Must follow same algorithm as service name generation in tempo operator: https://github.com/grafana/tempo-operator/blob/9c3430969265e23b2e9fc3103ab608624195e15e/internal/manifests/naming/naming.go#L13 https://github.com/grafana/tempo-operator/blob/9c3430969265e23b2e9fc3103ab608624195e15e/internal/manifests/naming/sanitize.go

Jump to

Keyboard shortcuts

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