MCPcopy Create free account

hub / github.com/DataDog/datadog-agent / functions

Functions32,574 in github.com/DataDog/datadog-agent

↓ 3 callersFunctionChunkPayloadsBySizeAndWeight
ChunkPayloadsBySizeAndWeight allocates chunks of payloads taking max allowed size and max allowed weight algorithm in the nutshell: - iterate through
pkg/process/util/chunking.go:113
↓ 3 callersFunctionClassificationSupported
ClassificationSupported returns true if the current kernel version supports the classification feature. The kernel has to be newer than 4.7.0 since we
pkg/network/tracer/connection/kprobe/tracer.go:92
↓ 3 callersMethodCleanCache
()
pkg/sbom/collectors/collectors.go:18
↓ 3 callersMethodClose
Close closes the packet source
pkg/network/dns/snooper.go:74
↓ 3 callersMethodClose
Close terminates the client connection.
pkg/network/tracer/testutil/grpc/client.go:175
↓ 3 callersMethodClose
()
pkg/network/driver/handle.go:157
↓ 3 callersMethodClose
Close flushes and closes the channel
pkg/util/buf/buffered_chan.go:64
↓ 3 callersMethodClose
Close terminates the client's poll loop. A client that has been closed cannot be restarted
pkg/config/remote/client.go:216
↓ 3 callersMethodCloseConnection
CloseConnection closes a connection on the client side
pkg/logs/client/tcp/connection_manager.go:154
↓ 3 callersMethodCollect
Collect returns the check configurations defined in Yaml files. Configs with advanced AD identifiers are filtered-out. They're handled by other file-b
pkg/autodiscovery/providers/file.go:30
↓ 3 callersFunctionCollectDefaultMetrics
CollectDefaultMetrics returns if the config is for a JMX check which has collect_default_metrics: true
pkg/collector/check/jmx.go:82
↓ 3 callersFunctionCollectInfo
CollectInfo returns an Info struct with every field initialized either to a value or an error. The method will try to collect as many fields as possib
pkg/gohai/memory/memory.go:23
↓ 3 callersFunctionCollectInfo
CollectInfo collects the network information.
pkg/gohai/network/network.go:49
↓ 3 callersFunctionCollectInfo
CollectInfo returns the list of mounted filesystems
pkg/gohai/filesystem/filesystem.go:53
↓ 3 callersMethodCollectorForDefaultVersion
CollectorForDefaultVersion retrieves a collector given its name. It returns an error if the name is not known.
pkg/collector/corechecks/cluster/orchestrator/collectors/inventory/inventory.go:55
↓ 3 callersMethodCollectorForVersion
CollectorForVersion retrieves the collector implementing a given version. If no collector is known for that version, returns (nil, false).
pkg/collector/corechecks/cluster/orchestrator/collectors/collector.go:59
↓ 3 callersFunctionCommands
Commands returns a slice of subcommands for the 'trace-agent' command.
cmd/trace-agent/subcommands/controlsvc/command.go:22
↓ 3 callersFunctionCommands
Commands returns a slice of subcommands of the parent command.
cmd/secrethelper/secret_helper.go:68
↓ 3 callersFunctionCommands
Commands returns a slice of subcommands for the 'agent' command.
cmd/agent/subcommands/controlsvc/command.go:21
↓ 3 callersMethodConfigCheck
ConfigCheck runs configcheck command and returns the runtime agent configcheck
test/new-e2e/pkg/utils/e2e/client/agent.go:33
↓ 3 callersFunctionConfigHandler
(r *api.HTTPReceiver, client remote.ConfigUpdater, cfg *config.AgentConfig)
cmd/trace-agent/config/remote/config.go:45
↓ 3 callersMethodConfigSource
ConfigSource returns the configuration source of the check
pkg/collector/check/check.go:67
↓ 3 callersMethodConnect
Connect is used to create a new connection
pkg/collector/corechecks/snmp/internal/session/session.go:45
↓ 3 callersMethodConnect
Connect establishes a connection to an Oracle instance and returns an open connection to the database.
pkg/collector/corechecks/oracle-dbm/connection_handling.go:30
↓ 3 callersFunctionConnectionKeysFromConnectionStats
this file is here because Windows has its own ConnectionKeysFromConnectionStats. however, putting this in `_linux.go` broke the mac build ? Connection
pkg/network/usm_connection_keys.go:22
↓ 3 callersFunctionContainerIDForEntity
ContainerIDForEntity extracts the container ID portion of a container entity name
pkg/util/containers/entity.go:48
↓ 3 callersMethodContainsSensitiveWord
ContainsSensitiveWord returns true if the given string contains a sensitive word
pkg/orchestrator/redact/data_scrubber.go:69
↓ 3 callersFunctionConvertFilledProcessesToStats
ConvertFilledProcessesToStats takes a group of FilledProcess objects and convert them into Stats
pkg/process/procutil/process_model.go:230
↓ 3 callersFunctionConvertFlow
ConvertFlow convert goflow flow structure to internal flow structure
comp/netflow/goflowlib/convert.go:18
↓ 3 callersMethodCopyConfig
(cfg Config)
pkg/config/model/types.go:90
↓ 3 callersFunctionCopyFile
CopyFile atomically copies file path `src“ to file path `dst`.
pkg/util/common.go:30
↓ 3 callersMethodCost
Cost returns the number of bytes needed to store all the fields of this ObfuscatedQuery.
pkg/obfuscate/sql.go:344
↓ 3 callersMethodCount
()
pkg/metrics/test_helper.go:173
↓ 3 callersFunctionCreateAndSetAuthToken
CreateAndSetAuthToken creates and sets the authorization token Requires that the config has been set up before calling
pkg/api/util/util.go:39
↓ 3 callersFunctionCreateGlobalLeaderEngine
CreateGlobalLeaderEngine does nothing
pkg/util/kubernetes/apiserver/leaderelection/leaderelection_stub.go:15
↓ 3 callersFunctionCreateStringBatches
CreateStringBatches batches strings into chunks with specific size
pkg/collector/corechecks/snmp/internal/common/utils.go:15
↓ 3 callersFunctionCreateTestV1GenericPacket
CreateTestV1GenericPacket generates a sample SNMP version 1 packet for a generic link down trap.
pkg/snmp/traps/packet/test_helpers.go:79
↓ 3 callersMethodCriticalf
Criticalf logs the given formatted arguments at the critical level, and returns an error containing the message.
comp/core/log/component.go:61
↓ 3 callersFunctionCriticalfStackDepth
CriticalfStackDepth logs with format at the critical level and the current stack depth plus the given depth
pkg/util/log/log.go:742
↓ 3 callersFunctionDNSKey
DNSKey generates a key suitable for looking up DNS stats based on a ConnectionStats object
pkg/network/dns.go:15
↓ 3 callersFunctionDebugFunc
DebugFunc calls and logs the result of 'logFunc' if and only if Debug (or more verbose) logs are enabled
pkg/util/log/log.go:612
↓ 3 callersFunctionDebugfStackDepth
DebugfStackDepth logs with format at the debug level and the current stack depth plus the given depth
pkg/util/log/log.go:590
↓ 3 callersMethodDecodeFlow
DecodeFlow decodes a flow into common.FlowMessageWithAdditionalFields
comp/netflow/goflowlib/netflowstate/netflow.go:61
↓ 3 callersMethodDecodeMsg
DecodeMsg implements msgp.Decodable
pkg/proto/pbgo/trace/stats_gen.go:1319
↓ 3 callersMethodDeepCopy
DeepCopy implements Entity#DeepCopy.
pkg/workloadmeta/types.go:631
↓ 3 callersMethodDeepCopyInto
(out *MyObj)
pkg/compliance/tests/kubernetes_test.go:237
↓ 3 callersMethodDescribeItem
(i int)
pkg/serializer/marshaler/marshaler.go:42
↓ 3 callersMethodDestroySender
(id checkid.ID)
pkg/aggregator/sender/sender.go:46
↓ 3 callersMethodDetectWithPrivileges
DetectWithPrivileges is used by the system probe to detect languages for languages that require binary analysis to detect.
pkg/languagedetection/privileged/privileged_detector.go:71
↓ 3 callersMethodDumpMaps
DumpMaps (for debugging purpose) returns all maps content by default or selected maps from maps parameter.
pkg/network/tracer/connection/tracer.go:72
↓ 3 callersMethodDumpMaps
DumpMaps dumps the content of the map represented by mapName & currentMap, if it used by the eBPF program, to output.
pkg/network/protocols/protocols.go:53
↓ 3 callersMethodDumpMaps
DumpMaps dumps the maps associated with the monitor
pkg/network/usm/monitor.go:194
↓ 3 callersMethodEnableFileLogging
EnableFileLogging enables and configures file logging if the filename is not empty
pkg/config/logs/internal/seelog/seelog_config.go:73
↓ 3 callersFunctionEnabled
Enabled checks to see if we should enable the local process collector. Since it's job is to collect processes when the process check is disabled, we o
pkg/process/metadata/workloadmeta/collector/process.go:123
↓ 3 callersMethodEncodeJSON
EncodeJSON encodes an activity dump in the ProtoJSON format
pkg/security/security_profile/dump/activity_dump.go:725
↓ 3 callersMethodEncodeMsg
EncodeMsg implements msgp.Encodable
pkg/proto/pbgo/trace/stats_gen.go:1409
↓ 3 callersFunctionEnrichTags
EnrichTags extends a tag list with origin detection tags NOTE(remy): it is not needed to sort/dedup the tags anymore since after the enrichment, the m
pkg/tagger/global.go:267
↓ 3 callersFunctionEntityForService
EntityForService builds entity strings for Service objects
pkg/util/kubernetes/apiserver/services.go:35
↓ 3 callersFunctionErrorfStackDepth
ErrorfStackDepth logs with format at the error level and the current stack depth plus the given depth
pkg/util/log/log.go:706
↓ 3 callersFunctionEvaluateRegoRule
EvaluateRegoRule evaluates the given rule and resolved inputs map against the rule's rego program.
pkg/compliance/evaluator_rego.go:25
↓ 3 callersMethodEvtRenderEventXml
(Fragment EventRecordHandle)
pkg/util/winutil/eventlog/api/types.go:166
↓ 3 callersFunctionExpand
Expand replaces variable references in the input string according to the expansion spec using the given mapping function to resolve the values of vari
internal/third_party/golang/expansion/expand.go:38
↓ 3 callersMethodExpireEntries
ExpireEntries is called once per flush cycle to do internal bookkeeping and cleanups.
pkg/aggregator/internal/limiter/limiter.go:200
↓ 3 callersMethodExtract
Extract looks in the given events one by one and returns once a proper trace context is found.
pkg/serverless/trace/propagation/extractor.go:62
↓ 3 callersMethodExtractBatchInto
ExtractBatchInto extracts from the given batch all connections that haven't been processed yet.
pkg/network/tracer/connection/perf_batching.go:72
↓ 3 callersFunctionExtractCheckIDFromPodAnnotations
ExtractCheckIDFromPodAnnotations returns whether there is a custom check ID for a given container based on the pod annotations
pkg/autodiscovery/common/utils/pod_annotations.go:30
↓ 3 callersFunctionExtractCloudwatchEventARN
ExtractCloudwatchEventARN returns an ARN from a CloudWatchEvent
pkg/serverless/trigger/extractor.go:63
↓ 3 callersFunctionExtractCloudwatchLogsEventARN
ExtractCloudwatchLogsEventARN returns an ARN from a CloudwatchLogsEvent
pkg/serverless/trigger/extractor.go:71
↓ 3 callersFunctionExtractFirstParent
ExtractFirstParent extracts first parent
pkg/security/security_profile/activity_tree/utils.go:11
↓ 3 callersFunctionExtractModelManifests
ExtractModelManifests creates the model manifest from the given manifests
pkg/collector/corechecks/cluster/orchestrator/processors/k8s/base.go:32
↓ 3 callersMethodFamily
Family returns whether a tuple is IPv4 or IPv6
pkg/network/ebpf/conntrack.go:19
↓ 3 callersFunctionFetch
Fetch oid values from device TODO: pass only specific configs instead of the whole CheckConfig
pkg/collector/corechecks/snmp/internal/fetch/fetch.go:39
↓ 3 callersFunctionFilterConnections
FilterConnections returns connections which match all filters
pkg/network/conn_filter.go:62
↓ 3 callersMethodFind
Find returns whether `callback` returns true for a tag
pkg/tagset/composite_tags.go:92
↓ 3 callersFunctionFinishXCCDFBenchmark
FinishXCCDFBenchmark finishes an XCCDF benchmark by terminating the oscap-io processes.
pkg/compliance/evaluator_xccdf.go:382
↓ 3 callersFunctionFirstConnection
FirstConnection returns the first connection with matches all filters
pkg/network/conn_filter.go:54
↓ 3 callersFunctionFixDeprecatedFlags
FixDeprecatedFlags transforms args so that they are conforming to the new CLI structure: - replace non-posix flags posix flags - replace deprecated fl
pkg/util/cli/deprecated.go:68
↓ 3 callersFunctionFixtureProfileDefinitionMap
FixtureProfileDefinitionMap returns a fixture of ProfileConfigMap with `f5-big-ip` profile
pkg/collector/corechecks/snmp/internal/profile/testing_utils.go:45
↓ 3 callersMethodFlare
Flare runs flare command and returns the output. You should use the FakeIntake client to fetch the flare archive
test/new-e2e/pkg/utils/e2e/client/agent.go:27
↓ 3 callersMethodFlushNetworkNamespaceID
FlushNetworkNamespaceID flushes network ID
pkg/security/resolvers/tc/resolver.go:126
↓ 3 callersMethodFlushPending
FlushPending forces any closed connections waiting for batching to be processed immediately.
pkg/network/tracer/connection/tracer.go:64
↓ 3 callersMethodFlushSync
FlushSync blocks and sends pending payloads when syncMode is true
pkg/trace/writer/trace.go:186
↓ 3 callersFunctionFxLoggingOption
FxLoggingOption creates an fx.Option to configure the Fx logger, either to do nothing (the default) or to log to the console (when TRACE_FX is set).
pkg/util/fxutil/logging.go:17
↓ 3 callersFunctionGenerateContent
GenerateContent generates with the given template
pkg/security/secl/compiler/generators/accessors/accessors.go:1024
↓ 3 callersFunctionGenerateEnhancedMetricsFromRuntimeDoneLog
GenerateEnhancedMetricsFromRuntimeDoneLog generates the runtime duration metric
pkg/serverless/metrics/enhanced_metrics.go:73
↓ 3 callersMethodGenerateInferredSpan
GenerateInferredSpan declares and initializes a new inferred span with a SpanID
pkg/serverless/trace/inferredspan/inferred_span.go:114
↓ 3 callersFunctionGenerateLogsOneLogRecord
GenerateLogsOneLogRecord generates a logs structure with one record.
comp/otelcol/otlp/internal/testutil/testutil.go:92
↓ 3 callersFunctionGenerateSpanId
GenerateSpanId creates a secure random span id in specific scenarios, otherwise return a pseudo random id
pkg/serverless/trace/inferredspan/inferred_span.go:99
↓ 3 callersFunctionGenerateUniqueK8sStaticPodHash
GenerateUniqueK8sStaticPodHash is used to create a UID for static pods. This should generate a unique id because: podName + namespace = unique per hos
pkg/collector/corechecks/cluster/orchestrator/transformers/k8s/pod.go:103
↓ 3 callersMethodGet
Get gets a Packet object read for use.
comp/dogstatsd/packets/pool.go:49
↓ 3 callersMethodGet
(key string)
pkg/autodiscovery/providers/zookeeper.go:30
↓ 3 callersMethodGet
Get returns the trace agent instance
pkg/serverless/trace/trace.go:118
↓ 3 callersMethodGet
(index int)
pkg/metrics/test_helper.go:181
↓ 3 callersMethodGet
Get gets the current value of the sysctl
pkg/network/config/sysctl/sysctl.go:35
↓ 3 callersMethodGet
Get gets the current value of the sysctl
pkg/network/config/sysctl/sysctl.go:65
↓ 3 callersMethodGet
Get returns the internal slice
pkg/tagset/hashless_tags_accumulator.go:53
↓ 3 callersMethodGet
Get gets interface for specified key and a boolean that's false when the key is not found
pkg/util/cache/basic_cache.go:38
↓ 3 callersMethodGet
Get returns the token value
pkg/util/http/token.go:34
↓ 3 callersMethodGet
Get returns a pointer representing the []byte k The returned pointer will be the same for Get(v) and Get(v2) if and only if v == v2. The returned poi
pkg/util/intern/string.go:106
↓ 3 callersMethodGet
Get returns the current value of the runtime setting
pkg/config/settings/runtime_setting_log_level.go:43
← previousnext →4,601–4,700 of 32,574, ranked by callers