config

package
v2.12.0-dev.2 Latest Latest
Warning

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

Go to latest
Published: Sep 14, 2026 License: Apache-2.0, BSD-3-Clause, Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Config

type Config struct {
	Enabled          bool
	MLApp            string
	AgentlessEnabled bool
	ProjectName      string
	TracerConfig     TracerConfig
	// TestBaseURL, when non-empty, overrides the transport base URL and bypasses
	// agent-mode/agentless-mode selection. For use in tests only.
	TestBaseURL string
}

func (*Config) DefaultHTTPClient

func (c *Config) DefaultHTTPClient() *http.Client

type TracerConfig

type TracerConfig struct {
	DDTags     map[string]any
	Env        string
	Service    string
	Version    string
	AgentURL   *url.URL
	APIKey     string
	APPKey     string
	HTTPClient *http.Client
	Site       string
}

Jump to

Keyboard shortcuts

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