MCPcopy Create free account

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

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

↓ 1 callersFunctionmakeChunks
(batch []string)
pkg/util/kubernetes/autoscalers/processor.go:235
↓ 1 callersFunctionmakeCommands
(globalParams *subcommands.GlobalParams)
cmd/trace-agent/command/command.go:30
↓ 1 callersFunctionmakeCommands
(defaultLogFile string)
cmd/dogstatsd/command/command.go:40
↓ 1 callersFunctionmakeConfigMapProviderMap
(providers ...confmap.Provider)
comp/otelcol/otlp/internal/configutils/utils_test.go:79
↓ 1 callersFunctionmakeConnection
(pid int32)
pkg/process/checks/net_test.go:23
↓ 1 callersFunctionmakeCtn
(value v1.Metrics, typeURL string, taskMetricsError error)
pkg/util/containerd/containerd_util_test.go:317
↓ 1 callersFunctionmakeDDAPIVersionBuffer
Creates a buffer that Driver will use to verify proper versions are communicating We create a buffer because the system calls we make need a *byte whi
pkg/network/driver/handle.go:126
↓ 1 callersMethodmakeDockerFileSource
makeDockerFileSource makes a LogSource with Config.Type="file" for a docker container.
pkg/logs/launchers/container/tailerfactory/file.go:105
↓ 1 callersFunctionmakeEventsTagValue
Create the value of the security events tag.
pkg/serverless/appsec/httpsec/tags.go:97
↓ 1 callersFunctionmakeFlare
(w http.ResponseWriter, r *http.Request, senderManager sender.DiagnoseSenderManager)
cmd/cluster-agent/api/agent/agent.go:129
↓ 1 callersFunctionmakeFlare
(w http.ResponseWriter, r *http.Request, flareComp flare.Component)
cmd/agent/api/internal/agent/agent.go:127
↓ 1 callersFunctionmakeFlare
Makes a new flare
cmd/agent/gui/agent.go:134
↓ 1 callersMethodmakeInstallation
(version goversion.GoVersion)
pkg/network/go/rungo/matrix/matrix.go:235
↓ 1 callersFunctionmakeLeaderCM
(name, namespace, leaderIdentity string, leaseDuration int)
pkg/util/kubernetes/apiserver/leaderelection/leaderelection_test.go:51
↓ 1 callersFunctionmakeLeaderLease
(name, namespace, leaderIdentity string, leaseDuration int)
pkg/util/kubernetes/apiserver/leaderelection/leaderelection_test.go:31
↓ 1 callersMethodmakeProviderOrDie
(ctx context.Context, apiCl *as.APIClient)
cmd/cluster-agent/custommetrics/server.go:95
↓ 1 callersFunctionmakeReturnUID
(uid string, returnNumber int)
pkg/network/usm/ebpf_gotls_helpers.go:224
↓ 1 callersMethodmakeRoomFor
(bufferSize int64)
comp/forwarder/defaultforwarder/internal/retry/on_disk_retry_queue.go:154
↓ 1 callersFunctionmakeSampleNetflowPacket
(fields []netflow.DataField)
comp/netflow/goflowlib/additionalfields/netflow_test.go:16
↓ 1 callersFunctionmakeSubrouter
(r *mux.Router, namespace string)
cmd/system-probe/api/module/loader.go:131
↓ 1 callersFunctionmakeTxnFromLatency
(lastSeen, started uint64)
pkg/network/protocols/http/model_linux_test.go:21
↓ 1 callersMethodmakeURL
(requestPath string)
pkg/util/ecs/metadata/v2/client.go:131
↓ 1 callersMethodmakeURL
(requestPath string)
pkg/util/ecs/metadata/v3or4/client.go:117
↓ 1 callersMethodmakeURL
(requestPath string)
pkg/util/ecs/metadata/v1/client.go:69
↓ 1 callersFunctionmakeUntranslatedConn
(src, dst netip.Addr, proto uint8, srcPort, dstPort uint16)
pkg/network/netlink/conntracker_test.go:436
↓ 1 callersFunctionmake_codeowners
(codeowners_lines, bundles)
tasks/components.py:163
↓ 1 callersFunctionmake_components_md
(bundles)
tasks/components.py:140
↓ 1 callersFunctionmake_diff
(file, original, reformatted)
tasks/git-hooks/clang-format.py:89
↓ 1 callersFunctionmakesketch
(n int)
pkg/serializer/internal/metrics/test_helper.go:46
↓ 1 callersFunctionmanageResourcesReplacement
(c *apiserver.APIClient, factories []customresource.RegistryFactory, resources []*v1.APIResourceList)
pkg/collector/corechecks/cluster/ksm/kubernetes_state.go:419
↓ 1 callersFunctionmapAdditionalField
(additionalFields common.AdditionalFields, v []byte, cfg config.Mapping)
comp/netflow/goflowlib/additionalfields/netflow.go:26
↓ 1 callersMethodmapEndpoints
mapEndpoints matches pods to services via endpoint TargetRef objects. It supports Kubernetes 1.4+.
pkg/util/kubernetes/apiserver/metadata_controller.go:215
↓ 1 callersFunctionmapFieldsConfig
(mappingConfs []config.Mapping)
comp/netflow/goflowlib/netflowstate/netflow.go:368
↓ 1 callersMethodmapFilters
(filters ...func(event *model.Event, rule *rules.Rule) error)
pkg/security/tests/module_tester.go:1269
↓ 1 callersMethodmapKeys
()
pkg/util/intern/string_test.go:103
↓ 1 callersMethodmapToProc
(instance string, fn func(proc *Process))
pkg/process/procutil/process_windows.go:319
↓ 1 callersFunctionmapToPrometheusLabels
(labels map[string]string, prefix string)
pkg/collector/corechecks/cluster/ksm/customresources/utils.go:67
↓ 1 callersFunctionmarkTextShared
(doc, from, to, options, type)
cmd/agent/gui/views/private/js/codemirror.js:5931
↓ 1 callersFunctionmarkedSpansAfter
(old, endCh, isInsert)
cmd/agent/gui/views/private/js/codemirror.js:579
↓ 1 callersFunctionmarkedSpansBefore
(old, startCh, isInsert)
cmd/agent/gui/views/private/js/codemirror.js:567
↓ 1 callersFunctionmarshalBytes
marshalBytes converts an arbitrary value into a byte buffer. Returns an error if the given value isn't representable in exactly length bytes. copied
pkg/ebpf/map_cleaner.go:161
↓ 1 callersFunctionmarshalError
marshalError marshals an error as YAML
pkg/status/status_process_agent.go:63
↓ 1 callersFunctionmarshalEvent
(event events.Event, probe *sprobe.Probe)
pkg/security/module/server.go:322
↓ 1 callersFunctionmarshalProto
(ae *netlink.AttributeEncoder, tuple *ConTuple)
pkg/network/netlink/encoding.go:87
↓ 1 callersMethodmarshalRegistry
marshalRegistry marshals a registry
pkg/logs/auditor/auditor.go:301
↓ 1 callersFunctionmatchConfigFilters
Currently used only to match Diagnose Suite name. In future will be extended to diagnose name or category
pkg/diagnose/runner.go:169
↓ 1 callersMethodmatchHeader
When a newline (in byte is 10) is matching, an additional check need to be done to make sure this is not part of docker header. [1|2 0 0 0 size1 size2
pkg/logs/internal/framer/docker_stream.go:42
↓ 1 callersFunctionmatchResultTree
(at *activity_tree.ActivityTree, toMatch map[string][]string)
pkg/security/security_profile/tests/activity_tree_test.go:66
↓ 1 callersFunctionmatchYAMLKeyEnding
(ending string, hints []string, repl []byte)
pkg/util/scrubber/default.go:198
↓ 1 callersFunctionmatchYAMLKeyPart
Yaml helpers produce replacers that work on both a yaml object (aka map[interface{}]interface{}) and on a serialized YAML string.
pkg/util/scrubber/default.go:180
↓ 1 callersFunctionmatchYAMLKeyWithListValue
matchYAMLKeyWithListValue matches YAML keys with array values. caveat: doesn't work if the array contain nested arrays. Example: key: [ [a, b, c]
pkg/util/scrubber/default.go:223
↓ 1 callersFunctionmatchingCheck
(checkName string, ch checks.Check)
cmd/process-agent/subcommands/check/check.go:181
↓ 1 callersFunctionmatchingPeerTags
(s *pb.Span, peerTagKeys []string)
pkg/trace/stats/aggregation.go:97
↓ 1 callersFunctionmax
(a, b int)
pkg/network/protocols/events/batch_offsets.go:87
↓ 1 callersMethodmaxEPSSample
(event *pb.Span, priority sampler.SamplingPriority)
pkg/trace/event/processor.go:100
↓ 1 callersMethodmaxMessageSizeBytes
()
comp/logs/agent/config/config_keys.go:99
↓ 1 callersFunctionmaybeClipScrollbars
(cm)
cmd/agent/gui/views/private/js/codemirror.js:4094
↓ 1 callersFunctionmaybeScrollWindow
(cm, rect)
cmd/agent/gui/views/private/js/codemirror.js:3327
↓ 1 callersFunctionmaybeUpdateRectForZooming
(measure, rect)
cmd/agent/gui/views/private/js/codemirror.js:2576
↓ 1 callersFunctionmeasureCharInner
(cm, prepared, ch, bias)
cmd/agent/gui/views/private/js/codemirror.js:2523
↓ 1 callersFunctionmem_to_pow_of_2
(memory)
tasks/kernel_matrix_testing/vmconfig.py:174
↓ 1 callersMethodmerge
(otherID string, othCatalog CollectorCatalog)
pkg/util/containers/metrics/provider/registry.go:27
↓ 1 callersFunctionmergeAdditionalEndpoints
mergeAdditionalEndpoints merges additional endpoints into keysPerDomain
pkg/config/utils/endpoints.go:32
↓ 1 callersMethodmergeByCookie
mergeByCookie merges connections with the same cookie and returns an index by cookie The passed connections slice is modified to remove duplicate con
pkg/network/state.go:430
↓ 1 callersMethodmergeConnections
mergeConnections return the connections and takes care of updating their last stat counters
pkg/network/state.go:680
↓ 1 callersFunctionmergeConstants
(one []constants, two []constants)
pkg/security/secl/compiler/generators/accessors/doc/doc.go:223
↓ 1 callersFunctionmergeEnv
(env ...map[string]interface{})
test/new-e2e/system-probe/test-runner/main.go:147
↓ 1 callersMethodmergeLabelJoins
mergeLabelJoins adds extra label joins to the configured label joins User-defined label joins are prioritized over additional label joins
pkg/collector/corechecks/cluster/ksm/kubernetes_state.go:690
↓ 1 callersFunctionmergeStatWithSysprobeStats
mergeStatWithSysprobeStats takes a process by PID map and fill the stats from system probe into the processes in the map
pkg/process/checks/process_rt.go:163
↓ 1 callersMethodmergeWithEnvPrefix
mergeWithEnvPrefix derives the environment variable that Viper will use for a given key.
pkg/config/model/viper.go:403
↓ 1 callersFunctionmerge_results
Merge golangci-lint output
tasks/show_linters_issues/golangci_lint_parser.py:136
↓ 1 callersFunctionmessageOffset
(data []byte)
pkg/network/netlink/attribute_scanner.go:207
↓ 1 callersFunctionmetadataPayload
(w http.ResponseWriter, r *http.Request, hostMetadataComp host.Component, invAgent inventoryagent.Component)
cmd/agent/api/internal/agent/agent.go:429
↓ 1 callersFunctionmetricToPrometheus
(m metric)
pkg/network/protocols/telemetry/prometheus.go:51
↓ 1 callersFunctionmin
(a, b time.Duration)
pkg/logs/internal/util/containersorpods/containers_or_pods.go:148
↓ 1 callersFunctionminAllowedVersion
(integration string)
cmd/agent/subcommands/integrations/command.go:713
↓ 1 callersFunctionminInt
(x, y int)
pkg/gohai/processes/gops/gops.go:14
↓ 1 callersFunctionminInt64
(v1, v2 int64)
comp/forwarder/defaultforwarder/internal/retry/disk_usage_limit.go:56
↓ 1 callersFunctionmkContext
(buildType string)
pkg/config/render_config.go:61
↓ 1 callersFunctionmkHuman
mkHuman adds commas to large numbers to assist readability in status outputs
pkg/status/helpers.go:143
↓ 1 callersMethodmkSender
(id checkid.ID)
pkg/aggregator/sender.go:391
↓ 1 callersFunctionmockContainerProvider
TODO: create a centralized, easy way to mock this
pkg/process/checks/process_test.go:60
↓ 1 callersFunctionmockDemultiplexerWithFlushInterval
(config config.Component, log log.Component, d time.Duration)
comp/dogstatsd/server/server_bench_test.go:28
↓ 1 callersFunctionmockMetadataRequestError
(t *testing.T)
pkg/util/cloudproviders/gce/gce_tags_test.go:76
↓ 1 callersFunctionmockedData
(t *testing.T)
pkg/process/checks/process_events_linux_test.go:33
↓ 1 callersFunctionmodify_existing_vmsets
(vm_config, set_id, kernels)
tasks/kernel_matrix_testing/vmconfig.py:364
↓ 1 callersFunctionmoveVisually
(cm, line, start, dir)
cmd/agent/gui/views/private/js/codemirror.js:6769
↓ 1 callersFunctionmulDuration
(d time.Duration, x int)
pkg/status/health/health.go:90
↓ 1 callersFunctionmultiEC2VMStackDef
()
test/new-e2e/examples/customenv_with_two_vm_test.go:25
↓ 1 callersMethodmutateHandler
mutateHandler contains the main logic responsible for handling mutation requests. It supports both v1 and v1beta1 requests.
cmd/cluster-agent/admission/server.go:118
↓ 1 callersFunctionmutatePodExecOptions
mutatePodExecOptions handles mutating PodExecOptions and encoding and decoding admission requests and responses for the public mutate functions
pkg/clusteragent/admission/mutate/common.go:59
↓ 1 callersMethodmux
()
pkg/trace/api/debug_server.go:78
↓ 1 callersMethodnameMatches
nameMatches returns true if the ActivityDump name matches the provided name
pkg/security/security_profile/dump/activity_dump.go:325
↓ 1 callersFunctionnanotime
go:noescape go:linkname nanotime runtime.nanotime
pkg/security/resolvers/time/resolver.go:39
↓ 1 callersFunctionnbdCommand
()
cmd/agentless-scanner/main.go:390
↓ 1 callersFunctionnbdMountCmd
(snapshotARN arn.ARN, mount, runClient bool)
cmd/agentless-scanner/main.go:1014
↓ 1 callersFunctionne
(t,n)
cmd/agent/gui/views/private/js/purify.min.js:2
↓ 1 callersFunctionnetServerGetInfo
()
pkg/gohai/platform/platform_windows.go:77
↓ 1 callersFunctionnetlinkMessageHeaderAndData
(b []byte)
pkg/network/netlink/socket.go:249
↓ 1 callersFunctionnetstatTCPExtCounters
()
pkg/collector/corechecks/net/network.go:236
← previousnext →14,001–14,100 of 32,574, ranked by callers