common

package
v0.0.0-...-bfe00b6 Latest Latest
Warning

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

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

Documentation

Overview

Package common contains the logic to create a flare archive.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetConfigFiles

func GetConfigFiles(fb flaretypes.FlareBuilder, confSearchPaths map[string]string)

GetConfigFiles copies configuration files to the flare archive.

func GetEnvVars

func GetEnvVars() ([]byte, error)

GetEnvVars collects allowed envvars that can affect the agent's behaviour while not being handled by viper, in addition to the envvars handled by viper

func GetExpVar

func GetExpVar(_ context.Context, fb flaretypes.FlareBuilder) error

GetExpVar copies expvar files to the flare archive.

func GetLogFiles

func GetLogFiles(fb flaretypes.FlareBuilder, logFileDir string)

GetLogFiles copies log files to the flare archive.

func MarshalDatadogRuntimeConfigDumpYAML

func MarshalDatadogRuntimeConfigDumpYAML() ([]byte, error)

MarshalDatadogRuntimeConfigDumpYAML returns a YAML snapshot of the runtime Datadog config for flares. When the config supports AllSettingsWithoutSecrets, resolved secret-backend values are omitted; otherwise it falls back to AllSettings().

func MarshalSystemProbeRuntimeConfigDumpYAML

func MarshalSystemProbeRuntimeConfigDumpYAML() ([]byte, error)

MarshalSystemProbeRuntimeConfigDumpYAML is like MarshalDatadogRuntimeConfigDumpYAML for system-probe config.

Types

This section is empty.

Jump to

Keyboard shortcuts

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