Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/DataDog/datadog-agent
/ functions
Functions
32,574 in github.com/DataDog/datadog-agent
⨍
Functions
32,574
◇
Types & classes
5,280
↳
Endpoints
25
↓ 8 callers
Method
sync
sync state of istioMonitor with the current state of procFS the purpose of this method is two-fold: 1) register processes for which we missed exec eve
pkg/network/usm/istio.go:185
↓ 8 callers
Function
sysCPUInt
sysCPUInt reads an integer from a file in /sys/devices/system/cpu
pkg/gohai/cpu/util_linux.go:22
↓ 8 callers
Function
sysCPUSize
sysCPUSize reads a value with a K/M/G suffix from a file in /sys/devices/system/cpu
pkg/gohai/cpu/util_linux.go:39
↓ 8 callers
Function
testCacheSize
(t *testing.T, resolver *Resolver)
pkg/security/resolvers/process/resolver_test.go:23
↓ 8 callers
Function
testCfg
(serverUrl string)
pkg/trace/telemetry/collector_test.go:20
↓ 8 callers
Function
testInit
run this at the beginning of each test, this is because we *really* need to have InitInfo be called before doing anything
pkg/trace/info/info_test.go:128
↓ 8 callers
Function
testTimeSampler
()
pkg/aggregator/time_sampler_test.go:37
↓ 8 callers
Function
timed
Context manager that prints how long it took
tasks/utils.py:572
↓ 8 callers
Method
useNamespaceSelector
()
pkg/clusteragent/admission/controllers/webhook/config.go:55
↓ 8 callers
Function
verifyQuantile
(t *testing.T, sketch *ddsketch.DDSketch, q float64, expectedValue float64)
pkg/network/encoding/http_test.go:372
↓ 8 callers
Function
wait_agent_log
(agent_name, log_getter, pattern, tries=10, delay=5)
test/e2e/cws-tests/tests/lib/log.py:20
↓ 8 callers
Method
wait_for_metric
(self, name, tries=30, delay=10, **kw)
test/e2e/cws-tests/tests/lib/common/app.py:24
↓ 8 callers
Function
warn
(msg: str)
tasks/kernel_matrix_testing/tool.py:21
↓ 8 callers
Function
weight
weight returns the weight of the span as defined for sampling, i.e. the inverse of the sampling rate.
pkg/trace/stats/weight.go:15
↓ 8 callers
Function
wrapPodDisruptionBudgetFunc
(f func(*policyv1beta1.PodDisruptionBudget) *metric.Family)
pkg/collector/corechecks/cluster/ksm/customresources/pdb.go:223
↓ 7 callers
Method
Add
Add adds an item to the set
pkg/util/common/common.go:27
↓ 7 callers
Method
AddItem
AddItem will try to add the given item
pkg/serializer/internal/stream/compressor.go:140
↓ 7 callers
Function
AddMetadataAsTags
AddMetadataAsTags converts name and value into tags based on the metadata as tags configuration and patterns
pkg/tagger/utils/k8s_metadata.go:40
↓ 7 callers
Method
AddScalarValue
AddScalarValue add scalar value to metadata store
pkg/collector/corechecks/snmp/internal/metadata/store.go:35
↓ 7 callers
Method
AddService
AddService sends a new service to all the channels that registered.
pkg/logs/service/services.go:33
↓ 7 callers
Method
AddSource
AddSource adds a new source to the logs agent. The new source is distributed to all active launchers, which may create appropriate tailers and begin
pkg/logs/schedulers/types.go:33
↓ 7 callers
Method
AllSettingsWithoutDefault
()
pkg/config/model/types.go:49
↓ 7 callers
Method
Append
(sketches *SketchSeries)
pkg/metrics/test_helper.go:177
↓ 7 callers
Method
Append
Append appends tags to the builder
pkg/tagset/hashless_tags_accumulator.go:38
↓ 7 callers
Method
AsTags
AsTags returns all the tags contained in the TagStats.
pkg/trace/info/stats.go:119
↓ 7 callers
Function
AssertCompositeTagsEqual
AssertCompositeTagsEqual evaluates if two CompositeTags are equal (the order doesn't matters).
pkg/metrics/test_helper.go:45
↓ 7 callers
Method
AssertEventPlatformEvent
AssertEventPlatformEvent assert the expected event was emitted with the following values
pkg/aggregator/mocksender/asserts.go:72
↓ 7 callers
Method
AssertFileContent
AssertFileContent asserts that a file exists within the flare and has the correct content
comp/core/flare/helpers/builder_mock.go:53
↓ 7 callers
Function
AssertSketchSeriesEqual
AssertSketchSeriesEqual checks whether two SketchSeries are equal
pkg/metrics/test_helper.go:89
↓ 7 callers
Method
AutoMultiLineEnabled
AutoMultiLineEnabled determines whether auto multi line detection is enabled for this config, considering both the agent-wide logs_config.auto_multi_l
comp/logs/agent/config/integration_config.go:246
↓ 7 callers
Method
BuildSNMPParams
BuildSNMPParams returns a valid GoSNMP params structure from configuration.
pkg/snmp/traps/config/config.go:114
↓ 7 callers
Method
BuildWithOnErrItemTooBigPolicy
BuildWithOnErrItemTooBigPolicy serializes a metadata payload and sends it to the forwarder
pkg/serializer/internal/stream/json_payload_builder.go:102
↓ 7 callers
Function
CPU
CPU returns basic CPU info, or the previous valid CPU info and an error.
pkg/trace/watchdog/info.go:113
↓ 7 callers
Method
ChangeStatus
ChangeStatus changes the status to return
pkg/logs/client/http/test_utils.go:105
↓ 7 callers
Method
Channel
Channel returns the channel to which successful payloads should be sent.
pkg/logs/auditor/auditor.go:59
↓ 7 callers
Method
ChooseSyscallProbe
ChooseSyscallProbe chooses between a tracepoint, arch-specific kprobe, or arch-agnostic kprobe based on configuration and host-supported features.
pkg/ebpf/probes.go:34
↓ 7 callers
Method
Close
()
pkg/util/containerd/containerd_util.go:50
↓ 7 callers
Method
Compile
Compile all the values
pkg/security/secl/compiler/eval/strings.go:58
↓ 7 callers
Method
ContainsPayloadNameAndTags
ContainsPayloadNameAndTags return true if the payload name exist and on of the payloads contains all the tags
test/fakeintake/aggregator/common.go:75
↓ 7 callers
Function
ConvertWindowsString
ConvertWindowsString converts a windows c-string into a go string. Even though the input is array of uint8, the underlying data is expected to be uin
pkg/util/winutil/winstrings.go:46
↓ 7 callers
Function
CreateIterableSeries
CreateIterableSeries creates a new instance of *IterableSeries
pkg/serializer/internal/metrics/iterable_series.go:30
↓ 7 callers
Function
CreateSerieSource
(series metrics.Series)
pkg/serializer/internal/metrics/test_helper.go:72
↓ 7 callers
Method
CreateSingleMarshaler
CreateSingleMarshaler creates marshaler.StreamJSONMarshaler where each item is composed of all events for a specific source type name.
pkg/serializer/internal/metrics/events.go:236
↓ 7 callers
Method
Critical
(v ...interface{})
pkg/trace/log/logger.go:45
↓ 7 callers
Function
Criticalf
Criticalf formats message according to format specifier and writes to log with level = Critical.
pkg/trace/log/logger.go:140
↓ 7 callers
Function
DebugStackDepth
DebugStackDepth logs at the debug level and the current stack depth plus the additional given one and returns an error containing the formated log mes
pkg/util/log/log.go:782
↓ 7 callers
Method
DecodeAndReleaseEvent
DecodeAndReleaseEvent decodes a single Event into a slice of []ct.Con objects and releases the underlying buffer.
pkg/network/netlink/decoding.go:80
↓ 7 callers
Function
Decrypt
Decrypt replaces all encrypted secrets in data by executing "secret_backend_command" once if all secrets aren't present in the cache.
pkg/secrets/secrets.go:178
↓ 7 callers
Method
Deregister
Deregister allows a component to easily deregister itself
pkg/status/health/health.go:24
↓ 7 callers
Method
DeviceDigest
DeviceDigest returns a hash value representing the minimal configs used to connect to the device. DeviceDigest is used for device discovery.
pkg/collector/corechecks/snmp/internal/checkconfig/config.go:564
↓ 7 callers
Method
EnrichInferredSpanWithAPIGatewayRESTEvent
EnrichInferredSpanWithAPIGatewayRESTEvent uses the parsed event payload to enrich the current inferred span. It applies a specific set of data to the
pkg/serverless/trace/inferredspan/span_enrichment.go:68
↓ 7 callers
Method
EnrichInferredSpanWithSNSEvent
EnrichInferredSpanWithSNSEvent uses the parsed event payload to enrich the current inferred span. It applies a specific set of data to the span expect
pkg/serverless/trace/inferredspan/span_enrichment.go:200
↓ 7 callers
Method
Equals
Equals compares two ArgsEntry
pkg/security/secl/model/args_envs.go:34
↓ 7 callers
Method
EvtClose
(h windows.Handle)
pkg/util/winutil/eventlog/api/types.go:164
↓ 7 callers
Method
EvtFormatMessage
( PublisherMetadata EventPublisherMetadataHandle, Event EventRecordHandle, MessageID uint, Values EvtV
pkg/util/winutil/eventlog/api/types.go:183
↓ 7 callers
Function
ExtractPodTemplateResourceRequirements
ExtractPodTemplateResourceRequirements extracts resource requirements of containers and initContainers into model.ResourceRequirements
pkg/collector/corechecks/cluster/orchestrator/transformers/k8s/pod.go:79
↓ 7 callers
Function
FetchAllOIDsUsingGetNext
FetchAllOIDsUsingGetNext fetches all available OIDs Fetch all scalar OIDs and first row of table OIDs.
pkg/collector/corechecks/snmp/internal/session/session.go:174
↓ 7 callers
Method
FinishArrayField
FinishArrayField finishes an array field
pkg/util/json/raw_object_writer.go:76
↓ 7 callers
Method
Get
Get gets the current histogram values
comp/core/telemetry/simple_histogram.go:27
↓ 7 callers
Method
GetAll
GetAll returns all the strings from the set
pkg/util/common/common.go:32
↓ 7 callers
Method
GetCgroup
GetCgroup returns cgroup for a given id, or nil if not found.
pkg/util/cgroups/reader.go:180
↓ 7 callers
Function
GetClusterAgentAuthToken
GetClusterAgentAuthToken load the authentication token from: 1st. the configuration value of "cluster_agent.auth_token" in datadog.yaml 2nd. from the
pkg/api/security/security.go:173
↓ 7 callers
Function
GetClusterName
GetClusterName returns a k8s cluster name if it exists, either directly specified or autodiscovered
pkg/util/kubernetes/clustername/clustername.go:146
↓ 7 callers
Method
GetColumnAsFloat
GetColumnAsFloat get column value as float
pkg/collector/corechecks/snmp/internal/metadata/store.go:84
↓ 7 callers
Function
GetConfiguredTags
GetConfiguredTags returns list of tags from a configuration, based on `tags` (DD_TAGS) and `extra_tags“ (DD_EXTRA_TAGS), with `dogstatsd_tags` (DD_DOG
pkg/config/utils/tags.go:13
↓ 7 callers
Function
GetDefaultTagger
GetDefaultTagger returns the global Tagger instance
pkg/tagger/global.go:236
↓ 7 callers
Method
GetEventType
()
pkg/security/proto/api/api.pb.go:527
↓ 7 callers
Method
GetEvents
GetEvents returns a channel that provides the next available events in the subscription. The channel is closed on error and Error() returns the error.
pkg/util/winutil/eventlog/subscription/subscription.go:51
↓ 7 callers
Method
GetHosts
identifiers on which templates will be matched
pkg/autodiscovery/listeners/types.go:30
↓ 7 callers
Function
GetInstanceID
GetInstanceID fetches the instance id for current host from the EC2 metadata API
pkg/util/ec2/ec2.go:96
↓ 7 callers
Method
GetKubernetesPodForContainer
GetKubernetesPodForContainer retrieves the ownership information for the given container and returns the owner pod. This information might lag because
pkg/workloadmeta/types.go:77
↓ 7 callers
Function
GetLeaderEngine
GetLeaderEngine returns an initialized leader engine.
pkg/util/kubernetes/apiserver/leaderelection/leaderelection.go:103
↓ 7 callers
Method
GetMessages
GetMessages returns all the messages
comp/logs/agent/config/messages.go:36
↓ 7 callers
Method
GetMetaVersion
GetMetaVersion returns the latest version of a particular meta
pkg/config/remote/uptane/local_store.go:137
↓ 7 callers
Function
GetMyNamespace
GetMyNamespace returns the namespace our pod is running in
pkg/util/kubernetes/apiserver/common/common.go:41
↓ 7 callers
Method
GetNameForInstance
GetNameForInstance returns the name from an instance if specified, fallback on namespace
pkg/autodiscovery/integration/config.go:268
↓ 7 callers
Method
GetNodename
(ctx context.Context)
pkg/util/kubernetes/kubelet/kubelet_interface.go:20
↓ 7 callers
Method
GetOffset
(identifier string)
pkg/logs/auditor/auditor.go:34
↓ 7 callers
Method
GetPid
tags
pkg/autodiscovery/listeners/types.go:33
↓ 7 callers
Method
GetPorts
network --> IP address
pkg/autodiscovery/listeners/types.go:31
↓ 7 callers
Method
GetProcessArgv0
GetProcessArgv0 returns the value of the field, resolving if necessary
pkg/security/secl/model/field_accessors_unix.go:5951
↓ 7 callers
Function
GetReader
GetReader returns a new AssetReader for the specified bundled asset
pkg/ebpf/bytecode/asset_reader_bindata.go:24
↓ 7 callers
Method
GetResource
()
pkg/proto/pbgo/trace/span.pb.go:115
↓ 7 callers
Method
GetSelfContainerID
GetSelfContainerID returns the container ID for current container. ("", nil) will be returned if not possible to get ID for current container.
pkg/util/containers/metrics/provider/collector_types.go:45
↓ 7 callers
Method
GetService
GetService returns the service name from the process tree
pkg/security/probe/probe.go:129
↓ 7 callers
Function
GetStatsTelemetryProvider
GetStatsTelemetryProvider gets an instance of the current stats telemetry provider
pkg/telemetry/stats_telemetry.go:40
↓ 7 callers
Function
GetSubprocessOutput
GetSubprocessOutput runs the subprocess and returns the output Indirectly used by the C function `get_subprocess_output` that's mapped to `_util.get_s
pkg/collector/python/util.go:29
↓ 7 callers
Method
GetTaggerEntity
unique service name
pkg/autodiscovery/listeners/types.go:28
↓ 7 callers
Method
GetTags
network ports
pkg/autodiscovery/listeners/types.go:32
↓ 7 callers
Method
GetTask
(ctx context.Context)
pkg/util/ecs/metadata/v3or4/client.go:37
↓ 7 callers
Method
GetTelemetry
GetTelemetry returns the compilation telemetry for this asset
pkg/ebpf/bytecode/runtime/asset.go:126
↓ 7 callers
Method
GetTelemetryDelta
GetTelemetryDelta returns the telemetry delta since last time the given client requested telemetry data.
pkg/network/state.go:90
↓ 7 callers
Method
GetType
()
pkg/logs/tailers/tailer.go:15
↓ 7 callers
Method
GetValue
Return the counter value formatted as a float
pkg/util/winutil/pdhutil/pdhcounter.go:73
↓ 7 callers
Function
HTTPSSupported
HTTPSSupported returns true if HTTPs monitoring is supported on the current OS. We only support ARM with kernel >= 5.5.0 and with runtime compilation
pkg/network/protocols/http/kernel_requirements.go:32
↓ 7 callers
Function
HasAPIKey
HasAPIKey returns true if an API key has been set in any of the supported ways.
pkg/serverless/apikey/api_key.go:179
↓ 7 callers
Function
HasFeature
HasFeature lets you know if a specific feature flag is set in a feature set
comp/forwarder/defaultforwarder/default_forwarder.go:120
↓ 7 callers
Method
HaveLegacyPipeInodeInfoStruct
HaveLegacyPipeInodeInfoStruct returns whether the kernel uses the legacy pipe_inode_info struct
pkg/security/ebpf/kernel/kernel.go:306
↓ 7 callers
Method
HistogramBucket
(metric string, value int64, lowerBound, upperBound float64, monotonic bool, hostname string, tags []string, f
pkg/aggregator/sender/sender.go:30
↓ 7 callers
Function
HostProc
HostProc returns the location of a host's procfs. This can and will be overridden when running inside a container.
pkg/util/kernel/fs.go:65
← previous
next →
2,101–2,200 of 32,574, ranked by callers