core

package
v0.0.0-...-1c318b7 Latest Latest
Warning

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

Go to latest
Published: Dec 20, 2024 License: Apache-2.0 Imports: 12 Imported by: 0

Documentation

Overview

Package core implements the "core" bundle, providing services common to all agent flavors and binaries.

The constituent components serve as utilities and are mostly independent of one another. Other components should depend on any components they need.

This bundle does not depend on any other bundles.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Bundle

func Bundle() fxutil.BundleOptions

Bundle defines the fx options for this bundle.

Types

type BundleParams

BundleParams defines the parameters for this bundle.

Logs-related parameters are implemented as unexported fields containing callbacks. These fields can be set with the `LogXxx()` methods, which return the updated BundleParams. One of `logimpl.ForOneShot` or `logimpl.ForDaemon` must be called.

type ConfigParams

type ConfigParams = config.Params

ConfigParams defines the parameters of the config component

type LogParams

type LogParams = log.Params

LogParams defines the parameters of the log component

type SecretParams

type SecretParams = secrets.Params

SecretParams defines the parameters of the secrets component

type SysprobeConfigParams

type SysprobeConfigParams = sysprobeconfigimpl.Params

SysprobeConfigParams defines the parameters of the system-probe config component

Directories

Path Synopsis
agenttelemetry
def
Package agenttelemetry implements a component to generate Agent telemetry
Package agenttelemetry implements a component to generate Agent telemetry
fx
Package fx provides the fx module for the agenttelemetry component
Package fx provides the fx module for the agenttelemetry component
impl
Package agenttelemetryimpl provides the implementation of the agenttelemetry component.
Package agenttelemetryimpl provides the implementation of the agenttelemetry component.
Package autodiscovery provides the autodiscovery component for the Datadog Agent
Package autodiscovery provides the autodiscovery component for the Datadog Agent
autodiscoveryimpl
Package autodiscoveryimpl implements the agent's autodiscovery mechanism.
Package autodiscoveryimpl implements the agent's autodiscovery mechanism.
common/types
Package types implements common structs used in the Autodiscovery code.
Package types implements common structs used in the Autodiscovery code.
common/utils
Package utils implements helper methods used in the Autodiscovery code.
Package utils implements helper methods used in the Autodiscovery code.
configresolver
Package configresolver resolves config templates using information from a service.
Package configresolver resolves config templates using information from a service.
integration
Package integration contains the type that represents a configuration.
Package integration contains the type that represents a configuration.
listeners
Package listeners is a wrapper that registers the available autodiscovery listerners.
Package listeners is a wrapper that registers the available autodiscovery listerners.
noopimpl
Package noopautoconfig provides a noop implementation for the autodiscovery component
Package noopautoconfig provides a noop implementation for the autodiscovery component
proto
Package proto provides autodiscovery proto util functions
Package proto provides autodiscovery proto util functions
providers/names
Package names defines the name of each config provider ("container", "cluster-checks", "file", etc.).
Package names defines the name of each config provider ("container", "cluster-checks", "file", etc.).
scheduler
Package scheduler is providing the `Scheduler` interface that should be implemented for any scheduler that would want to plug in `autodiscovery`.
Package scheduler is providing the `Scheduler` interface that should be implemented for any scheduler that would want to plug in `autodiscovery`.
status
Package status fetch information needed to render the 'autodiscovery' section of the status page.
Package status fetch information needed to render the 'autodiscovery' section of the status page.
stream
Package stream provides the autodiscovery config streaming logic
Package stream provides the autodiscovery config streaming logic
telemetry
Package telemetry defines the Autodiscovery telemetry metrics.
Package telemetry defines the Autodiscovery telemetry metrics.
config module
Package configsync implements synchronizing the configuration using the core agent config API
Package configsync implements synchronizing the configuration using the core agent config API
configsyncimpl
Package configsyncimpl implements synchronizing the configuration using the core agent config API
Package configsyncimpl implements synchronizing the configuration using the core agent config API
Package flare implements a component to generate flares from the agent.
Package flare implements a component to generate flares from the agent.
helpers
Package helpers contains helpers for the flare component.
Package helpers contains helpers for the flare component.
builder Module
types Module
gui
Package gui provides the GUI server component for the Datadog Agent.
Package gui provides the GUI server component for the Datadog Agent.
guiimpl
Package guiimpl implements the component gui
Package guiimpl implements the component gui
healthprobe
def
Package healthprobe implements the health check server
Package healthprobe implements the health check server
fx
Package fx provides the fx module for the healthprobe component
Package fx provides the fx module for the healthprobe component
impl
Package healthprobeimpl implements the healthprobe component interface
Package healthprobeimpl implements the healthprobe component interface
Package hostname exposes hostname.Get() as a component.
Package hostname exposes hostname.Get() as a component.
hostnameimpl
Package hostnameimpl implements the component hostname
Package hostnameimpl implements the component hostname
remotehostnameimpl
Package remotehostnameimpl provides a function to get the hostname from core agent.
Package remotehostnameimpl provides a function to get the hostname from core agent.
log module
fx
Package fx defines the fx options for this component.
Package fx defines the fx options for this component.
fx-systemprobe
Package fx defines the fx options for this component.
Package fx defines the fx options for this component.
fx-trace
Package fx defines the fx options for this component.
Package fx defines the fx options for this component.
impl-systemprobe
Package systemprobeimpl implements a component to handle logging internal to the agent for system-probe.
Package systemprobeimpl implements a component to handle logging internal to the agent for system-probe.
def Module
impl Module
impl-trace Module
mock Module
lsof
def
Package lsof provides a flare file with data about files opened by the agent process
Package lsof provides a flare file with data about files opened by the agent process
fx
Package fx provides the fx module for the lsof component
Package fx provides the fx module for the lsof component
impl
Package lsofimpl implements the lsof component interface
Package lsofimpl implements the lsof component interface
pid
Package pid writes the current PID to a file, ensuring that the file doesn't exist or doesn't contain a PID for a running process.
Package pid writes the current PID to a file, ensuring that the file doesn't exist or doesn't contain a PID for a running process.
pidimpl
Package pidimpl writes the current PID to a file, ensuring that the file
Package pidimpl writes the current PID to a file, ensuring that the file
remoteagentregistry
def
Package remoteagentregistry provides an integration point for remote agents to register and be able to report their status and emit flare data
Package remoteagentregistry provides an integration point for remote agents to register and be able to report their status and emit flare data
fx
Package fx provides the fx module for the remoteagent component
Package fx provides the fx module for the remoteagent component
impl
Package remoteagentregistryimpl implements the remoteagentregistry component interface
Package remoteagentregistryimpl implements the remoteagentregistry component interface
proto
Package proto provides functions to convert between protobuf and remoteagent types.
Package proto provides functions to convert between protobuf and remoteagent types.
status
Package status fetch information needed to render the 'remote agents' section of the status page
Package status fetch information needed to render the 'remote agents' section of the status page
util
Package util provides utility functions for the remoteagent component.
Package util provides utility functions for the remoteagent component.
secrets module
Package settings defines the interface for the component that manage settings that can be changed at runtime
Package settings defines the interface for the component that manage settings that can be changed at runtime
settingsimpl
Package settingsimpl implements the interface for the settings component
Package settingsimpl implements the interface for the settings component
status module
statusimpl Module
Package sysprobeconfig implements a component to handle system-probe configuration.
Package sysprobeconfig implements a component to handle system-probe configuration.
sysprobeconfigimpl
Package sysprobeconfigimpl implements a component to handle system-probe configuration.
Package sysprobeconfigimpl implements a component to handle system-probe configuration.
tagger
api
Package api implements the Tagger API.
Package api implements the Tagger API.
collectors
Package collectors implements a collector for the Tagger component that subscribes to workloadmeta
Package collectors implements a collector for the Tagger component that subscribes to workloadmeta
common
Package common provides common utilities that are useful when interacting with the tagger.
Package common provides common utilities that are useful when interacting with the tagger.
def
Package tagger provides the tagger interface for the Datadog Agent
Package tagger provides the tagger interface for the Datadog Agent
fx
Package fx provides the fx module for the tagger component
Package fx provides the fx module for the tagger component
fx-dual
Package fx provides the fx module for the dual tagger component
Package fx provides the fx module for the dual tagger component
fx-noop
Package fx provides the fx module for the noop tagger component
Package fx provides the fx module for the noop tagger component
fx-remote
Package fx provides the fx module for the remote tagger component
Package fx provides the fx module for the remote tagger component
generic_store
Package genericstore defines a generic object store that satisfies a redundant use-case in the tagger component implementation.
Package genericstore defines a generic object store that satisfies a redundant use-case in the tagger component implementation.
impl
Package taggerimpl contains the implementation of the tagger component.
Package taggerimpl contains the implementation of the tagger component.
impl-dual
Package dualimpl contains the implementation of the dual tagger.
Package dualimpl contains the implementation of the dual tagger.
impl-noop
Package noopimpl provides a noop implementation for the tagger component
Package noopimpl provides a noop implementation for the tagger component
impl-remote
Package remoteimpl implements a remote Tagger.
Package remoteimpl implements a remote Tagger.
k8s_metadata
Package k8smetadata provides utilities to handle kubernetes metadata as tags
Package k8smetadata provides utilities to handle kubernetes metadata as tags
kubetags
Package kubetags provides utilities to handle tags related to Kubernetes.
Package kubetags provides utilities to handle tags related to Kubernetes.
proto
Package proto provides conversions between Tagger types and protobuf.
Package proto provides conversions between Tagger types and protobuf.
server
Package server implements a gRPC server that streams Tagger entities.
Package server implements a gRPC server that streams Tagger entities.
subscriber
Package subscriber implements the functionality needed to subscribe to events generated by the Tagger component.
Package subscriber implements the functionality needed to subscribe to events generated by the Tagger component.
taglist
Package taglist provides helpers to interact with a tag list.
Package taglist provides helpers to interact with a tag list.
tagstore
Package tagstore implements the TagStore which is the component of the Tagger responsible for storing the tags in memory.
Package tagstore implements the TagStore which is the component of the Tagger responsible for storing the tags in memory.
telemetry
Package telemetry defines the telemetry for the Tagger component.
Package telemetry defines the telemetry for the Tagger component.
tags Module
types Module
utils Module
telemetry module
workloadmeta
collectors/catalog
Package catalog is a wrapper that loads the available workloadmeta collectors.
Package catalog is a wrapper that loads the available workloadmeta collectors.
collectors/catalog-core
Package catalog is a wrapper that loads the available workloadmeta collectors.
Package catalog is a wrapper that loads the available workloadmeta collectors.
collectors/catalog-less
Package catalog is a wrapper that loads workloadmeta collectors, while having less than the full set.
Package catalog is a wrapper that loads workloadmeta collectors, while having less than the full set.
collectors/catalog-remote
Package catalog is a wrapper that loads the available workloadmeta collectors.
Package catalog is a wrapper that loads the available workloadmeta collectors.
collectors/internal/cloudfoundry/container
Package container provides a workloadmeta collector for CloudFoundry container
Package container provides a workloadmeta collector for CloudFoundry container
collectors/internal/cloudfoundry/vm
Package vm provides a workloadmeta collector for CloudFoundry VM
Package vm provides a workloadmeta collector for CloudFoundry VM
collectors/internal/containerd
Package containerd provides the containerd colletor for workloadmeta
Package containerd provides the containerd colletor for workloadmeta
collectors/internal/crio
Package crio implements the crio Workloadmeta collector.
Package crio implements the crio Workloadmeta collector.
collectors/internal/docker
Package docker provides the docker collector for workloadmeta
Package docker provides the docker collector for workloadmeta
collectors/internal/ecs
Package ecs provides the ecs colletor for workloadmeta
Package ecs provides the ecs colletor for workloadmeta
collectors/internal/ecsfargate
Package ecsfargate provides the ecsfargate colletor for workloadmeta
Package ecsfargate provides the ecsfargate colletor for workloadmeta
collectors/internal/kubeapiserver
Package kubeapiserver provides the kubeapiserver colletor for workloadmeta
Package kubeapiserver provides the kubeapiserver colletor for workloadmeta
collectors/internal/kubelet
Package kubelet provides the kubelet colletor for workloadmeta
Package kubelet provides the kubelet colletor for workloadmeta
collectors/internal/kubemetadata
Package kubemetadata implements the kube_metadata Workloadmeta collector.
Package kubemetadata implements the kube_metadata Workloadmeta collector.
collectors/internal/podman
Package podman provides the docker collector for workloadmeta
Package podman provides the docker collector for workloadmeta
collectors/internal/process
Package process implements the local process collector for Workloadmeta.
Package process implements the local process collector for Workloadmeta.
collectors/internal/remote
Package remote implements a generic workloadmeta Collector that receives events from a remote workloadmeta server.
Package remote implements a generic workloadmeta Collector that receives events from a remote workloadmeta server.
collectors/internal/remote/processcollector
Package processcollector implements the remote process collector for Workloadmeta.
Package processcollector implements the remote process collector for Workloadmeta.
collectors/internal/remote/workloadmeta
Package workloadmeta implements the remote workloadmeta Collector.
Package workloadmeta implements the remote workloadmeta Collector.
collectors/util
Package util contains utility functions for workload metadata collectors
Package util contains utility functions for workload metadata collectors
def
Package workloadmeta provides the workloadmeta component for the Datadog Agent
Package workloadmeta provides the workloadmeta component for the Datadog Agent
defaults
Package defaults provides the default workloadmeta configuration for the agent.
Package defaults provides the default workloadmeta configuration for the agent.
fx
Package fx provides the fx module for the workloadmeta component.
Package fx provides the fx module for the workloadmeta component.
impl
Package workloadmetaimpl implements the Workloadmeta component.
Package workloadmetaimpl implements the Workloadmeta component.
proto
Package proto provides conversions between Workloadmeta types and protobuf.
Package proto provides conversions between Workloadmeta types and protobuf.
server
Package server implements a gRPC server that streams the entities stored in Workloadmeta.
Package server implements a gRPC server that streams the entities stored in Workloadmeta.
telemetry
Package telemetry defines the telemetry for the Workloadmeta component.
Package telemetry defines the telemetry for the Workloadmeta component.

Jump to

Keyboard shortcuts

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