MCPcopy Create free account

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

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

↓ 21 callersMethodEvents
Events returns a channel of Event objects (wrapping netlink messages) which receives all new connections added to the Conntrack table.
pkg/network/netlink/consumer.go:153
↓ 21 callersMethodFetchString
FetchString is a convenience wrapper around Fetch that returns a string
pkg/util/cachedfetch/fetcher.go:80
↓ 21 callersMethodGetStringMapString
(key string)
pkg/config/model/types.go:39
↓ 21 callersFunctionNewFileProvider
NewFileProvider returns a new Provider
pkg/logs/launchers/file/provider/file_provider.go:85
↓ 21 callersFunctionNewNotFound
NewNotFound returns a new error which indicates that the object passed in parameter was not found.
pkg/errors/errors.go:36
↓ 21 callersFunctionNewOptionsWithResolvers
NewOptionsWithResolvers creates new Options with default values
comp/forwarder/defaultforwarder/default_forwarder.go:141
↓ 21 callersMethodOnInvokeStart
OnInvokeStart is the hook triggered when an invocation has started
pkg/serverless/invocationlifecycle/lifecycle.go:83
↓ 21 callersFunctionPatternMatches
PatternMatches matches a pattern against a string
pkg/security/secl/compiler/eval/pattern.go:60
↓ 21 callersFunctionRetrieveUnifiedServiceTags
RetrieveUnifiedServiceTags for cluster level resources the `env` is handled special because it being a host level tag.
pkg/collector/corechecks/cluster/orchestrator/transformers/ust.go:33
↓ 21 callersMethodSample
(event *pb.Span)
pkg/trace/event/processor.go:109
↓ 21 callersMethodSubscribe
(cardinality collectors.TagCardinality)
pkg/tagger/interface.go:35
↓ 21 callersFunctionToLowHigh
ToLowHigh converts an address into a pair of uint64 numbers
pkg/process/util/address.go:87
↓ 21 callersFunctionTracerPayloadWithChunk
TracerPayloadWithChunk wraps `chunk` with pb.TraceChunk
pkg/trace/testutil/trace.go:176
↓ 21 callersFunctionTruncateUTF8
TruncateUTF8 truncates the given string to make sure it uses less than limit bytes. If the last character is an utf8 character that would be splitten,
pkg/trace/traceutil/truncate.go:13
↓ 21 callersFunctionV6Address
V6Address creates an Address using the uint128 representation of an v6 IP
pkg/process/util/address.go:123
↓ 21 callersFunctioncheckKernelCompatibility
nolint:deadcode,unused
pkg/security/tests/module_tester.go:1836
↓ 21 callersFunctionextractMetadata
extractMetadata extracts standard metadata into the protobuf model.
pkg/collector/corechecks/cluster/orchestrator/transformers/k8s/common.go:20
↓ 21 callersFunctionfile_datadog_workloadmeta_workloadmeta_proto_rawDescGZIP
()
pkg/proto/pbgo/core/workloadmeta.pb.go:1815
↓ 21 callersFunctiongenerateContextKey
(sample metrics.MetricSampleContext)
pkg/aggregator/check_sampler_test.go:26
↓ 21 callersFunctionnewFileSerializer
(fe *model.FileEvent, e *model.Event, forceInode ...uint64)
pkg/security/serializers/serializers_linux.go:504
↓ 21 callersFunctionnewMockPyObjectPtr
()
pkg/collector/python/test_rtloader_helpers.go:36
↓ 21 callersFunctiono
(e,t)
cmd/agent/gui/views/private/js/purify.min.js:2
↓ 21 callersFunctionpodString
podString returns a string that helps identify the pod
pkg/clusteragent/admission/mutate/common.go:170
↓ 21 callersMethodpushError
(err error)
pkg/compliance/k8sconfig/loader.go:490
↓ 21 callersMethodrefresh
()
pkg/config/remote/service/service.go:383
↓ 21 callersFunctiont
(e)
cmd/agent/gui/views/private/js/jquery-3.5.1.min.js:2
↓ 21 callersFunctionve
(a)
cmd/agent/gui/views/private/js/jquery-3.5.1.min.js:2
↓ 20 callersMethodCancel
Cancel cancels the check. Cancel is called when the check is unscheduled: - unlike Stop, it is called even if the check is not running when it's unsch
pkg/collector/check/check.go:28
↓ 20 callersMethodConfigure
Configure configures the snmp checks
pkg/collector/corechecks/snmp/snmp.go:117
↓ 20 callersMethodEvent
(e event.Event)
pkg/aggregator/sender.go:27
↓ 20 callersFunctionGetKubeUtil
GetKubeUtil returns an instance of KubeUtil.
pkg/util/kubernetes/kubelet/kubelet.go:140
↓ 20 callersFunctionGetMultipleEndpoints
GetMultipleEndpoints returns the api keys per domain specified in the main agent config
pkg/config/utils/endpoints.go:85
↓ 20 callersFunctionGetTagValue
GetTagValue returns the value of the given tag in the given list
pkg/security/utils/tags.go:14
↓ 20 callersFunctionNewBytesPayloadsWithoutMetaData
NewBytesPayloadsWithoutMetaData creates BytesPayloads without metadata.
comp/forwarder/defaultforwarder/transaction/bytes_payload.go:47
↓ 20 callersFunctionNewConfig
NewConfig returns a new Config object.
pkg/config/model/viper.go:652
↓ 20 callersFunctionNewConnectionKey
NewConnectionKey generates a new ConnectionKey
pkg/network/types/connection_key.go:24
↓ 20 callersFunctionNewOrigin
NewOrigin returns a new Origin
pkg/logs/message/origin.go:25
↓ 20 callersFunctionNewProcessorContext
(rcfg *CollectorRunConfig, metadata *CollectorMetadata)
pkg/collector/corechecks/cluster/orchestrator/collectors/collector.go:119
↓ 20 callersFunctionNewTCPServer
(onMessage func(c net.Conn))
pkg/network/tracer/tracer_test.go:870
↓ 20 callersFunctionNewTestAgent
(ctx context.Context, conf *config.AgentConfig, telemetryCollector telemetry.TelemetryCollector)
pkg/trace/agent/agent_test.go:47
↓ 20 callersMethodNormalizeStatusCode
(status uint16)
pkg/network/protocols/http/stats.go:142
↓ 20 callersMethodPrint
Print implements gosnmp.LoggerInterface#Print
pkg/snmp/traps/snmplog/snmplog.go:31
↓ 20 callersMethodSetStr
SetStr adds an OctetString PDU with the given OID and value
pkg/collector/corechecks/snmp/internal/session/fake_session.go:228
↓ 20 callersMethodStart
(service string)
test/new-e2e/tests/agent-platform/common/test_client.go:23
↓ 20 callersMethodStatus
(namespace string, ctn containerd.Container)
pkg/util/containerd/containerd_util.go:68
↓ 20 callersMethodToFloat64
ToFloat64 converts value to float64
pkg/collector/corechecks/snmp/internal/valuestore/value.go:25
↓ 20 callersMethodadd
add adds MapResult to cache with metric name as key
comp/dogstatsd/mapper/mapper_cache.go:36
↓ 20 callersFunctionassertFileContent
(t *testing.T, fb *builder, expected string, path string)
comp/core/flare/helpers/builder_test.go:42
↓ 20 callersFunctionassertNoMoreEvents
(t testing.TB, sub PullSubscription)
pkg/util/winutil/eventlog/subscription/subscription_test.go:109
↓ 20 callersFunctionbenchmarkJSONPayloadBuilderThroughput
(points int, items int, tags int, runs int)
pkg/serializer/json_payload_builder_throughput_benchmark_test.go:18
↓ 20 callersMethodbuild
( self, outputs, rule, inputs=None, implicit=None, order_only=
tasks/libs/ninja_syntax.py:91
↓ 20 callersFunctionconfigurationFromYAML
(t *testing.T, yaml string)
pkg/network/config/config_test.go:1421
↓ 20 callersFunctiondefaultMetricTransformers
defaultMetricTransformers returns a map that contains KSM metric names and their corresponding transformer functions These metrics require more than a
pkg/collector/corechecks/cluster/ksm/kubernetes_state_transformers.go:90
↓ 20 callersFunctioneval
(t *testing.T, event *testEvent, expr string)
pkg/security/secl/compiler/eval/eval_test.go:57
↓ 20 callersFunctionincrementWithOverflow
Compute the increment between two iostats values, taking into account they can overflow
pkg/collector/corechecks/system/disk/iostats_nix.go:59
↓ 20 callersMethodmake_request
Utility to make a request to the Gitlab API. See RemoteAPI#request. Adds "PRIVATE-TOKEN: {self.api_token}" to the headers to
tasks/libs/common/gitlab.py:291
↓ 20 callersFunctionnetNS
netNS adds `network_config` namespace to configuration key
cmd/system-probe/config/ns.go:16
↓ 20 callersFunctionnewRuleSet
()
pkg/security/secl/rules/ruleset_test.go:101
↓ 20 callersFunctionopenTestFile
(test *testModule, testFile string, flags int)
pkg/security/tests/filters_test.go:27
↓ 20 callersMethodprocess
process aggregates multiple lines to form a full multiline message, it stops when a line matches with the new content regular expression. It also make
pkg/logs/internal/decoder/multiline_handler.go:72
↓ 20 callersMethodregister
(svcSig ServiceSignature)
pkg/trace/sampler/catalog.go:50
↓ 20 callersFunctionsetIfNotEmpty
(tagMap map[string]string, key string, value string)
pkg/serverless/tags/tags.go:201
↓ 20 callersFunctionstartSubscription
(t testing.TB, ti eventlog_test.APITester, channel string, options ...PullSubscriptionOption)
pkg/util/winutil/eventlog/subscription/subscription_test.go:77
↓ 20 callersMethodvalidateExecEvent
nolint:deadcode,unused
pkg/security/tests/module_tester.go:683
↓ 19 callersMethodCallback
Callback returns a *testing* callback that can be used as an argument to `FileRegistry.Register()` Note that this method should be called only once.
pkg/network/usm/utils/testutils.go:29
↓ 19 callersMethodClear
Clear removes all entries from the cache and closes it.
pkg/util/trivy/cache.go:89
↓ 19 callersFunctionComputeTopLevel
ComputeTopLevel updates all the spans top-level attribute. A span is considered top-level if: - it's a root span - OR its parent is unknown (other pa
pkg/trace/traceutil/trace.go:114
↓ 19 callersMethodDisconnect
Disconnect closes the current SSH connection.
test/new-e2e/system-probe/connector/sshtools/communicator.go:89
↓ 19 callersFunctionFreeTCPPort
FreeTCPPort returns a free TCP port. Upon encountering an error, it uses t to fail the test and report it.
pkg/trace/testutil/testutil.go:40
↓ 19 callersFunctionGetCheckStats
Functions relating to check run stats (`checkStats`) GetCheckStats returns the check stats map
pkg/collector/runner/expvars/expvars.go:95
↓ 19 callersFunctionGetClusterAgentClient
GetClusterAgentClient returns or init the DCAClient
pkg/util/clusteragent/clusteragent.go:92
↓ 19 callersMethodGetRegisteredProcesses
GetRegisteredProcesses returns a set with all PIDs currently being tracked by the `FileRegistry`
pkg/network/usm/utils/file_registry.go:218
↓ 19 callersFunctionGetWorkerCount
GetWorkerCount is used to get the value of 'Workers'->'Count' expvar
pkg/collector/runner/expvars/workers.go:85
↓ 19 callersFunctionInitAndStartAgentDemultiplexer
InitAndStartAgentDemultiplexer creates a new Demultiplexer and runs what's necessary in goroutines. As of today, only the embedded BufferedAggregator
pkg/aggregator/demultiplexer_agent.go:128
↓ 19 callersFunctionIsErrWillRetry
IsErrWillRetry checks whether an `error` is a Retrier temporary fail
pkg/util/retry/error.go:54
↓ 19 callersMethodMarshalMsg
MarshalMsg implements msgp.Marshaler
pkg/proto/pbgo/trace/span_gen.go:10
↓ 19 callersFunctionNewClient
NewClient creates a new fake intake client fakeIntakeURL: the host of the fake Datadog intake server
test/fakeintake/client/client.go:86
↓ 19 callersFunctionNewError
NewError returns a new ErrAstToEval error
pkg/security/secl/compiler/eval/errors.go:55
↓ 19 callersFunctionNewFilter
NewFilter creates a new filter for subscribing to workloadmeta events. Only events for entities with one of the given kinds will be delivered. If ki
pkg/workloadmeta/filter.go:39
↓ 19 callersFunctionNewHashingTagsAccumulator
NewHashingTagsAccumulator returns a new empty HashingTagsAccumulator
pkg/tagset/hashing_tags_accumulator.go:23
↓ 19 callersFunctionNewMockStore
NewMockStore returns a MockStore
pkg/workloadmeta/mock_store.go:18
↓ 19 callersFunctionNewTailer
NewTailer returns a new tailer.
pkg/logs/tailers/journald/tailer.go:56
↓ 19 callersFunctionNewTypeError
NewTypeError returns a new ErrAstToEval error when an invalid type was used
pkg/security/secl/compiler/eval/errors.go:60
↓ 19 callersFunctionNewValueFrom
NewValueFrom returns a Value[T] from a value and an error. If the error is non-nil then it represents this error, otherwise it represents the value.
pkg/gohai/utils/value.go:32
↓ 19 callersMethodProcess
Process handles an incoming chunk of data. It will call outputFn for any recognized frames. Partial frames are maintained between calls to Process.
pkg/logs/internal/framer/framer.go:126
↓ 19 callersMethodRecv
()
pkg/proto/pbgo/core/api.pb.go:379
↓ 19 callersMethodRunAgent
RunAgent starts an agent instance using the given YAML configuration.
cmd/trace-agent/test/runner.go:74
↓ 19 callersMethodSeed
(seed int64)
pkg/serverless/random/rand.go:52
↓ 19 callersMethodSendEventPlatformEventBlocking
(e *message.Message, eventType string)
pkg/epforwarder/epforwarder.go:197
↓ 19 callersFunctionSetupConf
SetupConf generates and returns a new configuration
pkg/config/test_helpers.go:27
↓ 19 callersMethodSpanID
()
pkg/serverless/trace/propagation/extractor_test.go:683
↓ 19 callersMethodTraceID
()
pkg/serverless/trace/propagation/extractor_test.go:686
↓ 19 callersFunctionV4Address
V4Address creates an Address using the uint32 representation of an v4 IP
pkg/process/util/address.go:106
↓ 19 callersFunctionWithArgs
WithArgs sets the Agent arguments
test/new-e2e/pkg/utils/e2e/client/agent_args.go:18
↓ 19 callersFunctionWithTelemetryWrapper
WithTelemetryWrapper returns a http handler function that emits telemetry.
pkg/clusteragent/api/handler_telemetry.go:36
↓ 19 callersFunctiondocMethodOp
(f)
cmd/agent/gui/views/private/js/codemirror.js:3859
↓ 19 callersFunctiongetEventFromFile
Helper function for reading test file
pkg/serverless/invocationlifecycle/lifecycle_test.go:1050
↓ 19 callersFunctiongetTestInventoryPayload
(t *testing.T, confOverrides map[string]any)
comp/metadata/inventoryagent/inventoryagent_test.go:26
↓ 19 callersFunctionkey
(pieces ...string)
pkg/ebpf/config.go:80
↓ 19 callersFunctionmkurl
(rawurl string)
pkg/process/runner/endpoints_test.go:19
← previousnext →701–800 of 32,574, ranked by callers