core

package
v0.0.0-...-31f1472 Latest Latest
Warning

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

Go to latest
Published: Nov 7, 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
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.
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 logimpl implements a component to handle logging internal to the agent for system-probe.
Package logimpl 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
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.
Package tagger provides the tagger component for the Datadog Agent
Package tagger provides the tagger component for the Datadog Agent
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.
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.
noopimpl
Package noopimpl provides a noop implementation for the tagger component
Package noopimpl provides a noop implementation for the tagger component
proto
Package proto provides conversions between Tagger types and protobuf.
Package proto provides conversions between Tagger types and protobuf.
taggerimpl
Package taggerimpl contains the implementation of the tagger component.
Package taggerimpl contains the implementation of the tagger component.
taggerimpl/api
Package api implements the Tagger API.
Package api implements the Tagger API.
taggerimpl/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
taggerimpl/empty
Package empty implements empty functions for the tagger component interface.
Package empty implements empty functions for the tagger component interface.
taggerimpl/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.
taggerimpl/local
Package local implements a local Tagger.
Package local implements a local Tagger.
taggerimpl/remote
Package remote implements a remote Tagger.
Package remote implements a remote Tagger.
taggerimpl/replay
Package replay implements the Tagger replay.
Package replay implements the Tagger replay.
taggerimpl/server
Package server implements a gRPC server that streams Tagger entities.
Package server implements a gRPC server that streams Tagger entities.
taggerimpl/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.
taggerimpl/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.
taglist
Package taglist provides helpers to interact with a tag list.
Package taglist provides helpers to interact with a tag list.
tags
Package tags contains the list of tags that are added by the tagger
Package tags contains the list of tags that are added by the tagger
telemetry
Package telemetry defines the telemetry for the Tagger component.
Package telemetry defines the telemetry for the Tagger component.
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/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/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