MCPcopy Create free account

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

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

↓ 7 callersMethodID
ID returns a unique ID for that check instance For checks that only support one instance, the default value is the check name. Regular checks must ca
pkg/collector/corechecks/checkbase.go:230
↓ 7 callersFunctionIPNetFromIP
IPNetFromIP returns a IPNET version of the IP
pkg/security/secl/compiler/eval/cidr.go:23
↓ 7 callersMethodIdentifier
Identifier returns the unique identifier of the current journal being tailed.
pkg/logs/tailers/journald/tailer.go:471
↓ 7 callersFunctionInfof
Infof formats message according to format specifier and writes to log with level = Info.
pkg/trace/log/logger.go:92
↓ 7 callersMethodInit
(*manager.Manager, *pconfig.Config)
pkg/security/probe/probe_linux.go:70
↓ 7 callersFunctionInitMetadataAsTags
InitMetadataAsTags prepares labels and annotations as tags - It lower-case all the labels in metadataAsTags - It compiles all the patterns and stores
pkg/tagger/utils/k8s_metadata.go:20
↓ 7 callersFunctionInitSystemProbeConfig
InitSystemProbeConfig declares all the configuration values normally read from system-probe.yaml.
pkg/config/system_probe.go:61
↓ 7 callersMethodInspect
Inspect returns a docker inspect object for a given container ID. It tries to locate the container in the inspect cache before making the docker inspe
pkg/util/docker/docker_util.go:305
↓ 7 callersFunctionInspectHPA
InspectHPA returns the list of external metrics from the hpa to use for autoscaling. It can handle v2beta1, v2beta2 and v2 versions of HPA.
pkg/util/kubernetes/autoscalers/autoscalers.go:30
↓ 7 callersFunctionInspectWPA
InspectWPA returns the list of external metrics from the wpa to use for autoscaling.
pkg/util/kubernetes/autoscalers/autoscalers.go:142
↓ 7 callersFunctionIsDefaultHostname
IsDefaultHostname returns whether the given hostname is a default one for EC2
pkg/util/ec2/ec2.go:186
↓ 7 callersMethodIsError
IsError returns whether the current status is an error.
pkg/logs/internal/status/status.go:67
↓ 7 callersMethodIsRH9Kernel
IsRH9Kernel returns whether the kernel is a rh9 kernel
pkg/security/ebpf/kernel/kernel.go:234
↓ 7 callersMethodIsReady
hostname.domainname for the entity
pkg/autodiscovery/listeners/types.go:35
↓ 7 callersMethodIsReady
IsReady indicates whether or not the DogStatsD server is ready
pkg/serverless/metrics/metric.go:94
↓ 7 callersMethodIsSuccess
IsSuccess returns whether the current status is a success.
pkg/logs/internal/status/status.go:60
↓ 7 callersFunctionIsTelemetryEnabled
IsTelemetryEnabled returns whether or not telemetry is enabled
pkg/config/utils/telemetry.go:32
↓ 7 callersMethodLoadAndRun
LoadAndRun loads all of the integration configs it can find and schedules them. Should always be run once so providers that don't need polling will be
pkg/autodiscovery/autoconfig.go:193
↓ 7 callersFunctionLoadConfig
LoadConfig from a given path.
comp/otelcol/otlp/internal/testutil/testutil.go:39
↓ 7 callersMethodMajor
Major returns the major number of the version code
pkg/util/kernel/version.go:29
↓ 7 callersMethodMarshalMsg
MarshalMsg implements msgp.Marshaler
pkg/proto/pbgo/trace/trace_gen.go:10
↓ 7 callersMethodMarshalMsg
MarshalMsg implements msgp.Marshaler
pkg/proto/pbgo/trace/stats_gen.go:1505
↓ 7 callersMethodMaxWeight
MaxWeight returns the maxWeight of the queue
pkg/process/util/api/weighted_queue.go:85
↓ 7 callersFunctionMem
Mem returns basic memory info.
pkg/trace/watchdog/info.go:119
↓ 7 callersMethodMinor
Minor returns the minor number of the version code
pkg/util/kernel/version.go:34
↓ 7 callersMethodName
()
pkg/ebpf/bytecode/runtime/protected_file.go:24
↓ 7 callersFunctionNew
New builds a new parser for decoding encoded logfiles. It treats each input message as entirely content, in the given encoding. No timetamp or other
pkg/logs/internal/parsers/encodedtext/encodedtext.go:50
↓ 7 callersFunctionNew
(conf *config.AgentConfig, prioritySampler prioritySampler, rareSampler rareSampler, errorsSampler errorsSampl
pkg/trace/remoteconfighandler/remote_config_handler.go:48
↓ 7 callersFunctionNewAggregationFromSpan
NewAggregationFromSpan creates a new aggregation from the provided span and env
pkg/trace/stats/aggregation.go:75
↓ 7 callersFunctionNewCache
NewCache returns a new cache dedicated to a collector
pkg/util/containers/metrics/provider/cache.go:30
↓ 7 callersFunctionNewCheckUnique
(id checkid.ID, name string)
pkg/collector/collector_test.go:59
↓ 7 callersFunctionNewConfigConverter
NewConfigConverter is creating and returning a config converter
pkg/config/legacy_converter.go:26
↓ 7 callersFunctionNewCustomRule
NewCustomRule returns a new custom rule
pkg/security/events/custom.go:78
↓ 7 callersFunctionNewDecidedChooser
NewDecidedChooser returns a new Chooser where the choice is predetermined. This is for use in unit tests.
pkg/logs/internal/util/containersorpods/containers_or_pods.go:111
↓ 7 callersFunctionNewDecoderFromSource
NewDecoderFromSource creates a new decoder from a log source
pkg/logs/internal/decoder/file_decoder.go:24
↓ 7 callersFunctionNewDiscovery
NewDiscovery return a new Discovery instance
pkg/collector/corechecks/snmp/internal/discovery/discovery.go:310
↓ 7 callersFunctionNewErrorsSampler
NewErrorsSampler returns an initialized Sampler dedicate to errors. It behaves just like the the normal ScoreEngine except for its GetType method (use
pkg/trace/sampler/scoresampler.go:51
↓ 7 callersFunctionNewEvalOpts
NewEvalOpts returns eval options
pkg/security/secl/rules/opts.go:73
↓ 7 callersFunctionNewFactory
NewFactory creates a new serializer exporter factory.
comp/otelcol/otlp/internal/serializerexporter/factory.go:31
↓ 7 callersFunctionNewHTTPReceiver
NewHTTPReceiver returns a pointer to a new HTTPReceiver
pkg/trace/api/api.go:89
↓ 7 callersFunctionNewHTTPTransactionsSerializer
NewHTTPTransactionsSerializer creates a new instance of HTTPTransactionsSerializer
comp/forwarder/defaultforwarder/internal/retry/http_transactions_serializer.go:43
↓ 7 callersFunctionNewHashGenerator
NewHashGenerator creates a new HashGenerator
pkg/tagset/hash_generator.go:44
↓ 7 callersFunctionNewIterableSeries
NewIterableSeries creates a new instance of *IterableSeries `callback` is called in the context of the sender's goroutine each time `Append` is calle
pkg/metrics/iterable_series.go:16
↓ 7 callersFunctionNewKubeUtil
NewKubeUtil returns a new KubeUtil
pkg/util/kubernetes/kubelet/kubelet.go:89
↓ 7 callersFunctionNewLimitedReader
NewLimitedReader creates a new LimitedReader.
pkg/trace/api/apiutil/limited_reader.go:29
↓ 7 callersFunctionNewProtoTestStreamer
()
pkg/network/encoding/dns_test.go:192
↓ 7 callersFunctionNewProvider
NewProvider returns a new Provider.
pkg/logs/internal/tag/provider.go:36
↓ 7 callersFunctionNewPulumiStackVM
NewPulumiStackVM creates a new instance of PulumiStackVM
test/new-e2e/pkg/utils/e2e/client/pulumi_stack_vm.go:32
↓ 7 callersFunctionNewRemoteServiceError
NewRemoteServiceError returns a new error which indicates that a remote service queried by the Agent is unavailable (e.g the Datadog Cluster Agent ret
pkg/errors/errors.go:90
↓ 7 callersFunctionNewRetriable
NewRetriable returns a new error which indicates that the object passed in parameter couldn't be fetched and that the query can be retried.
pkg/errors/errors.go:49
↓ 7 callersFunctionNewScheduler
NewScheduler create a Scheduler and returns a pointer to it.
pkg/collector/scheduler/scheduler.go:65
↓ 7 callersFunctionNewSerialStopper
NewSerialStopper returns a new serial stopper. The Stop() method of this object will stop all components, one by one, in the order they were added.
pkg/util/startstop/serial_stopper.go:23
↓ 7 callersFunctionNewServices
NewServices returns a new services.
pkg/logs/service/services.go:25
↓ 7 callersFunctionNewSimpleCounter
NewSimpleCounter creates a new SimpleCounter with default options.
pkg/telemetry/simple_counter.go:18
↓ 7 callersFunctionNewSingleDomainResolver
NewSingleDomainResolver creates a SingleDomainResolver with its destination domain & API keys
pkg/config/resolver/domain_resolver.go:48
↓ 7 callersFunctionNewStringSet
NewStringSet returns as new StringSet initialized with initItems
pkg/util/common/common.go:18
↓ 7 callersFunctionNewTailer
NewTailer returns an initialized Tailer, read to be started. The resulting Tailer will read from the given `file`, decode the content with the given
pkg/logs/tailers/file/tailer.go:141
↓ 7 callersFunctionNewTestServer
NewTestServer creates a new test server
pkg/logs/client/http/test_utils.go:38
↓ 7 callersFunctionNewTestTailer
(reader io.ReadCloser, dockerClient *fakeDockerClient, cancelFunc context.CancelFunc)
pkg/logs/tailers/docker/tailer_test.go:82
↓ 7 callersFunctionNewUDPListener
NewUDPListener returns an idle UDP Statsd listener
comp/dogstatsd/listeners/udp.go:50
↓ 7 callersFunctionNewWatcher
(cfg *config.Config, bpfTelemetry *errtelemetry.EBPFTelemetry, rules ...Rule)
pkg/network/usm/sharedlibraries/watcher.go:66
↓ 7 callersFunctionNewWorkloadMetaExtractor
NewWorkloadMetaExtractor constructs the WorkloadMetaExtractor.
pkg/process/metadata/workloadmeta/extractor.go:68
↓ 7 callersMethodNext
Next advances the scanner to the next netlink attribute (within the same NestedFrame). It returns false when no more attributes are present, or an err
pkg/network/netlink/attribute_scanner.go:67
↓ 7 callersFunctionNormalizeNamespace
NormalizeNamespace applies policy according to hostname rule
pkg/snmp/utils/utils.go:14
↓ 7 callersFunctionNormalizeOID
NormalizeOID converts an OID from the absolute form ".1.2.3..." to a relative form "1.2.3..."
pkg/snmp/traps/oid_resolver/oid_resolver.go:247
↓ 7 callersFunctionNt
(e)
cmd/agent/gui/views/private/js/purify.min.js:2
↓ 7 callersFunctionP
(e,t)
cmd/agent/gui/views/private/js/jquery-3.5.1.min.js:2
↓ 7 callersFunctionParseCPUSetFormat
ParseCPUSetFormat counts CPUs in CPUSet specs like "0,1,5-8". These are comma-separated lists of processor IDs, with hyphenated ranges representing cl
pkg/util/cgroups/cgroup_shared.go:24
↓ 7 callersMethodPause
()
pkg/network/tracer/connection/tracer.go:76
↓ 7 callersMethodPopRequest
()
pkg/util/clusteragent/clcrunner_test.go:102
↓ 7 callersMethodPopulateDeviceField
PopulateDeviceField removes any `device:` tag in the series tags and uses the value to populate the Serie.Device field FIXME(olivier v): remove this a
pkg/metrics/series.go:105
↓ 7 callersMethodPopulateResources
PopulateResources removes any dd.internal.resource tags in the series tags and uses the values to populate the Serie.Resources field. The format for t
pkg/metrics/series.go:136
↓ 7 callersFunctionPort
Port formats a port number. It's the same as strconv.Itoa, except that port -1 is mapped to the special string '*'.
comp/netflow/format/port.go:12
↓ 7 callersMethodProcess
Process is the default work unit that receives a trace, transforms it and passes it downstream.
pkg/trace/agent/agent.go:256
↓ 7 callersMethodPull
Pull fetches all events in the store that haven't been consumed yet
pkg/process/events/store.go:35
↓ 7 callersMethodPut
Put declares intent to return an object to the pool. In passthru mode the object is immediately returned to the pool, otherwise we wait until the obje
comp/dogstatsd/packets/pool_manager.go:48
↓ 7 callersFunctionRandomTrace
RandomTrace generates a random trace with a depth from 1 to maxLevels of spans. Each level has at most maxSpans items.
pkg/trace/testutil/trace.go:74
↓ 7 callersMethodRead
Read reads from the underlying reader.
pkg/trace/api/apiutil/limited_reader.go:37
↓ 7 callersMethodReadNext
ReadNext reads the next packet found in the file and returns the protobuf representation and an error if any.
comp/dogstatsd/replay/reader.go:164
↓ 7 callersMethodReceiveResourceSpans
ReceiveResourceSpans processes the given rspans and returns the source that it identified from processing them.
pkg/trace/api/otlp.go:175
↓ 7 callersFunctionRegister
Register registers the given Diagnose function
pkg/diagnose/diagnosis/loader.go:109
↓ 7 callersMethodRegisterInfo
RegisterInfo registers some info to display on the status page
pkg/logs/sources/source.go:113
↓ 7 callersMethodRemoveChannel
(channel string)
pkg/util/winutil/eventlog/test/test.go:33
↓ 7 callersMethodRemoveExpired
RemoveExpired removes stateful metrics that have expired before the given timestamp.
pkg/metrics/check_metrics.go:119
↓ 7 callersFunctionResetCache
ResetCache deletes existing kubeutil related cache
pkg/util/kubernetes/kubelet/kubelet.go:113
↓ 7 callersMethodResetCalls
ResetCalls makes the mock forget previous calls
pkg/aggregator/mocksender/mocksender.go:120
↓ 7 callersFunctionResetGlobalKubeUtil
ResetGlobalKubeUtil is a helper to remove the current KubeUtil global It is ONLY to be used for tests
pkg/util/kubernetes/kubelet/kubelet.go:106
↓ 7 callersMethodResolveMonotonicTimestamp
ResolveMonotonicTimestamp converts a kernel monotonic timestamp to an absolute time
pkg/security/resolvers/time/resolver.go:46
↓ 7 callersMethodResolveNetworkDeviceIfName
(ev *Event, e *NetworkDeviceContext)
pkg/security/secl/model/field_handlers_unix.go:962
↓ 7 callersMethodRoot
()
pkg/security/tests/module_tester.go:1082
↓ 7 callersFunctionRun
Run fullfills the contract required by programs running as Windows Services. https://learn.microsoft.com/en-us/windows/win32/services/service-programs
pkg/util/winutil/servicemain/servicemain.go:186
↓ 7 callersMethodRunEventCollection
RunEventCollection will return the most recent events emitted by the apiserver.
pkg/util/kubernetes/apiserver/events.go:26
↓ 7 callersFunctionRunningAsWindowsService
RunningAsWindowsService returns true if the current process is running as a Windows Service and the application should call Run().
pkg/util/winutil/servicemain/servicemain.go:158
↓ 7 callersMethodScan
Scan scans the tokenizer for the next token and returns the token type and the token buffer.
pkg/obfuscate/sql_tokenizer.go:268
↓ 7 callersMethodScrubProcessCommand
ScrubProcessCommand uses a cache memory to avoid scrubbing already known process' cmdlines
pkg/process/procutil/data_scrubber.go:133
↓ 7 callersMethodSetByte
SetByte adds an OctetString PDU with the given OID and value
pkg/collector/corechecks/snmp/internal/session/fake_session.go:223
↓ 7 callersFunctionSliceToArray
SliceToArray copy src bytes to dst. Destination should have enough space
pkg/security/secl/model/utils.go:14
↓ 7 callersMethodSplitPayload
SplitPayload breaks the payload into times number of pieces
pkg/serializer/marshaler/marshaler.go:33
↓ 7 callersMethodStart
Start starts the sender.
pkg/logs/sender/sender.go:50
↓ 7 callersMethodStartObject
StartObject starts a new JSON object (add '{')
pkg/util/json/raw_object_writer.go:39
← previousnext →2,201–2,300 of 32,574, ranked by callers