MCPcopy Create free account

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

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

MethodConfigSource
ConfigSource returns the configuration source of the check
pkg/collector/check/check.go:44
MethodConfigSource
Mock Check interface implementation
pkg/collector/check/stats/stats_test.go:29
MethodConfigSource
ConfigSource returns the empty string
pkg/collector/check/stub/stub.go:28
MethodConfigWithError
ConfigWithError runs config command and returns the runtime agent config or an error
test/new-e2e/pkg/utils/e2e/client/agent_cmd_runner.go:76
MethodConfigure
Configure accepts the configuration
comp/checks/agentcrashdetect/agentcrashdetectimpl/agentcrashdetect.go:105
MethodConfigure
Configure configures the check
comp/checks/winregistry/impl/winregistryimpl.go:107
MethodConfigure
()
comp/dogstatsd/replay/mock.go:24
MethodConfigure
()
comp/dogstatsd/replay/capture.go:60
MethodConfigure
Configure implements Check#Configure
pkg/collector/internal/middleware/check_wrapper.go:76
MethodConfigure
(senderManager sender.SenderManager, integrationConfigDigest uint64, data integration.Data, initData integrati
pkg/collector/corechecks/loader_test.go:25
MethodConfigure
Configure is provided for checks that require no config. If overridden, the call to CommonConfigure must be preserved.
pkg/collector/corechecks/checkbase.go:77
MethodConfigure
Configure parses the check configuration and initializes the container_lifecycle check
pkg/collector/corechecks/containerlifecycle/check.go:56
MethodConfigure
Configure configures the session
pkg/collector/corechecks/snmp/internal/session/testing_utils.go:24
MethodConfigure
Configure parses the check configuration and initializes the sbom check
pkg/collector/corechecks/sbom/check.go:127
MethodConfigure
Configure parses the check configuration and init the check
pkg/collector/corechecks/ebpf/tcp_queue_length.go:68
MethodConfigure
Configure parses the check configuration and init the check
pkg/collector/corechecks/ebpf/ebpf.go:62
MethodConfigure
Configure parses the check configuration and init the check
pkg/collector/corechecks/ebpf/oom_kill.go:71
MethodConfigure
Configure parses the check configuration and init the check
pkg/collector/corechecks/containers/cri/check.go:67
MethodConfigure
Configure parses the check configuration and init the check
pkg/collector/corechecks/containers/containerd/check.go:78
MethodConfigure
Configure parses the check configuration and init the check
pkg/collector/corechecks/containers/generic/check.go:55
MethodConfigure
Configure parses the check configuration and init the check
pkg/collector/corechecks/containers/docker/check.go:76
MethodConfigure
Configure configures the check
pkg/collector/corechecks/containers/kubelet/kubelet.go:103
MethodConfigure
Configure the ProcessAgentCheck
pkg/collector/corechecks/embed/process_agent.go:149
MethodConfigure
Configure the APMCheck
pkg/collector/corechecks/embed/apm.go:148
MethodConfigure
Configure processes the configuration for the check
pkg/collector/corechecks/windows_event_log/check.go:178
MethodConfigure
Configure configure the data from the yaml
pkg/collector/corechecks/net/ntp.go:143
MethodConfigure
Configure handles initial configuration/initialization of the check
pkg/collector/corechecks/system/memory/memory_windows.go:37
MethodConfigure
Configure the CPU check
pkg/collector/corechecks/system/cpu/cpu.go:94
MethodConfigure
Configure the CPU check
pkg/collector/corechecks/system/cpu/load.go:58
MethodConfigure
Configure the CPU check doesn't need configuration
pkg/collector/corechecks/system/cpu/cpu_windows.go:146
MethodConfigure
The check doesn't need configuration
pkg/collector/corechecks/system/filehandles/file_handles_windows.go:56
MethodConfigure
The check doesn't need configuration
pkg/collector/corechecks/system/filehandles/file_handles_freebsd.go:55
MethodConfigure
Configure the disk check
pkg/collector/corechecks/system/disk/disk_nix.go:144
MethodConfigure
Configure the IOstats check
pkg/collector/corechecks/system/disk/iostats_nix.go:44
MethodConfigure
Configure the IOstats check
pkg/collector/corechecks/system/disk/iostats_pdh_windows.go:75
MethodConfigure
(senderManager sender.SenderManager, integrationConfigDigest uint64, data integration.Data, initConfig integra
pkg/collector/corechecks/system/winproc/winproc_windows.go:54
MethodConfigure
Configure accepts configuration
pkg/collector/corechecks/system/wincrashdetect/wincrashdetect.go:70
MethodConfigure
* configuration: init_config: topPagedBytes: 10 // indicates record the top 10 paged-pool byte users topNonPagedBytes: 9 // indicates record the
pkg/collector/corechecks/system/winkmem/winkmem.go:82
MethodConfigure
Configure the GPU check
pkg/collector/corechecks/nvidia/jetson/jetson.go:156
MethodConfigure
Configure parses the check configuration and initializes the container_image check
pkg/collector/corechecks/containerimage/check.go:108
MethodConfigure
Configure the CPU check nil check to allow for overrides
pkg/collector/corechecks/orchestrator/pod/pod.go:64
MethodConfigure
Configure prepares the configuration of the KSM check instance
pkg/collector/corechecks/cluster/ksm/kubernetes_state.go:202
MethodConfigure
Configure parses the check configuration and init the check.
pkg/collector/corechecks/cluster/kubernetesapiserver/kubernetes_apiserver.go:139
MethodConfigure
Configure configures the Helm check
pkg/collector/corechecks/cluster/helm/helm.go:100
MethodConfigure
Configure configures the orchestrator check
pkg/collector/corechecks/cluster/orchestrator/orchestrator.go:110
MethodConfigure
Configure is a noop
pkg/collector/check/stub/stub.go:37
MethodConfigureOptions
ConfigureOptions add the necessary options for the http monitoring to work, to be used by the manager. These are: - Set the `http_in_flight` map size
pkg/network/protocols/http/protocol.go:108
MethodConfigureOptions
ConfigureOptions add the necessary options for the kafka monitoring to work, to be used by the manager. These are: - Set the `kafka_last_tcp_seq_per_c
pkg/network/protocols/kafka/protocol.go:91
MethodConfigureOptions
ConfigureOptions add the necessary options for http2 monitoring to work, to be used by the manager. These are: - Set the `http2_in_flight` map size to
pkg/network/protocols/http2/protocol.go:140
MethodConfigureOptions
(m *manager.Manager, opts *manager.Options)
pkg/network/usm/monitor_testutil.go:43
MethodConfigureOptions
(_ *manager.Manager, options *manager.Options)
pkg/network/usm/ebpf_ssl.go:476
MethodConfigureOptions
ConfigureOptions changes map attributes to the given options.
pkg/network/usm/ebpf_gotls.go:202
MethodConfigureOptions
(_ *manager.Manager, options *manager.Options)
pkg/network/usm/ebpf_javatls.go:165
MethodConnTuple
ConnTuple returns a `types.ConnectionKey` for the transaction
pkg/network/protocols/http/model_linux.go:43
MethodConnTuple
()
pkg/network/protocols/http/model_windows.go:72
MethodConnTuple
()
pkg/network/protocols/kafka/model_linux.go:12
MethodConnTuple
()
pkg/network/protocols/http2/model_linux.go:61
MethodConnect
Connect is a no-op.
pkg/collector/corechecks/snmp/internal/session/fake_session.go:126
MethodConnect
Connect is used to create a new connection
pkg/collector/corechecks/snmp/internal/session/testing_utils.go:29
FunctionConnectAndGetDB
ConnectAndGetDB initiates a connection to the database, get a handle on the test db, and register cleanup handlers for the test. Finally, it saves the
pkg/network/protocols/postgres/utils.go:49
MethodConnections
Connections returns the inner values of counterStats and counterStatsError
pkg/collector/corechecks/net/network_test.go:50
MethodConnections
(kind string)
pkg/collector/corechecks/net/network.go:111
MethodConsumeSketch
(_ context.Context, dimensions *otlpmetrics.Dimensions, ts uint64, qsketch *quantile.Sketch)
comp/otelcol/otlp/internal/serializerexporter/consumer.go:76
MethodConsumeTimeSeries
(ctx context.Context, dimensions *otlpmetrics.Dimensions, typ otlpmetrics.DataType, ts uint64, value float64)
comp/otelcol/otlp/internal/serializerexporter/consumer.go:99
MethodContainer
Container interfaces with the containerd api to get a container by ID.
pkg/util/containerd/containerd_util.go:185
MethodContainer
Container is a mock method
pkg/util/containerd/fake/containerd_util.go:127
FunctionContainerCheckFactory
ContainerCheckFactory is exported for integration testing
pkg/collector/corechecks/containers/generic/check.go:47
MethodContainerLogs
(ctx context.Context, container string, options types.ContainerLogsOptions)
pkg/logs/tailers/docker/tailer_test.go:313
MethodContainerLogs
ContainerLogs returns a container logs reader
pkg/util/docker/docker_util.go:397
MethodContainerStats
ContainerStats returns stats of the container. If the container does not exist, the call returns an error.
internal/third_party/kubernetes/pkg/kubelet/cri/remote/fake/fake_runtime.go:246
MethodContainerStatus
ContainerStatus returns status of the container. If the container is not present, returns an error.
internal/third_party/kubernetes/pkg/kubelet/cri/remote/fake/fake_runtime.go:201
MethodContainerWithContext
ContainerWithContext is a mock method
pkg/util/containerd/fake/containerd_util.go:132
FunctionContainerdFactory
ContainerdFactory is used to create register the check and initialize it.
pkg/collector/corechecks/containers/containerd/check.go:65
MethodContainers
Containers interfaces with the containerd api to get the list of Containers.
pkg/util/containerd/containerd_util.go:204
MethodContainers
Containers is a mock method
pkg/util/containerd/fake/containerd_util.go:122
MethodContains
Contains returns true if the key exists.
pkg/logs/tailers/tailer_tracker.go:67
MethodContains
Contains looks up the event in the activity tree
pkg/security/security_profile/activity_tree/activity_tree.go:279
MethodContains
Contains returns whether the pattern contains the value
pkg/security/secl/compiler/eval/strings.go:181
MethodContains
Contains returns whether the values match the provided IPNet
pkg/security/secl/compiler/eval/cidr.go:116
MethodContains
(proto ProtocolType)
pkg/network/protocols/types.go:74
FunctionContentEditableInput
(cm)
cmd/agent/gui/views/private/js/codemirror.js:8624
MethodContentType
()
pkg/network/encoding/encoding.go:36
MethodContentType
()
pkg/network/encoding/json.go:48
MethodContentType
()
pkg/network/encoding/protobuf.go:35
MethodContentType
()
pkg/process/encoding/encoding.go:31
MethodContentType
()
pkg/process/encoding/json.go:55
MethodContentType
ContentType returns ContentTypeProtobuf
pkg/process/encoding/protobuf.go:51
MethodContentType
()
pkg/process/encoding/request/json.go:35
MethodContentType
ContentType returns ContentTypeProtobuf
pkg/process/encoding/request/protobuf.go:35
FunctionContext
(doc, state, line, lookAhead)
cmd/agent/gui/views/private/js/codemirror.js:1478
MethodContext
Context indicates an expected call of Context.
pkg/proto/pbgo/mocks/core/api_mockgen.pb.go:308
MethodContext
Context mocks base method.
pkg/proto/pbgo/mocks/core/api_mockgen.pb.go:423
MethodContext
Context indicates an expected call of Context.
pkg/proto/pbgo/mocks/core/api_mockgen.pb.go:431
MethodContext
Context mocks base method.
pkg/proto/pbgo/mocks/core/api_mockgen.pb.go:658
MethodContext
Context indicates an expected call of Context.
pkg/proto/pbgo/mocks/core/api_mockgen.pb.go:666
MethodContext
Context mocks base method.
pkg/proto/pbgo/mocks/core/api_mockgen.pb.go:777
MethodContext
Context indicates an expected call of Context.
pkg/proto/pbgo/mocks/core/api_mockgen.pb.go:785
MethodContext
Context provides a mock function with given fields:
pkg/eventmonitor/proto/api/mocks/event_monitoring_module_get_process_events_client.go:35
FunctionConvertNanosecondsToHz
ConvertNanosecondsToHz converts nanoseconds to User Hz (1/100s)
pkg/collector/corechecks/containers/generic/adapters_utils.go:9
MethodCopy
(incomingEvent *model.Event)
pkg/security/probe/probe_linux_test.go:37
← previousnext →17,101–17,200 of 32,574, ranked by callers