MCPcopy Create free account
hub / github.com/DataDog/datadog-agent / NewPythonCheckLoader

Function NewPythonCheckLoader

pkg/collector/python/loader.go:86–89  ·  view source on GitHub ↗

NewPythonCheckLoader creates an instance of the Python checks loader

(senderManager sender.SenderManager)

Source from the content-addressed store, hash-verified

84
85// NewPythonCheckLoader creates an instance of the Python checks loader
86func NewPythonCheckLoader(senderManager sender.SenderManager) (*PythonCheckLoader, error) {
87 initializeCheckContext(senderManager)
88 return &PythonCheckLoader{}, nil
89}
90
91func getRtLoaderError() error {
92 if C.has_error(rtloader) == 1 {

Callers 3

testLoadCustomCheckFunction · 0.85
testLoadWheelCheckFunction · 0.85
initFunction · 0.85

Calls 1

initializeCheckContextFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…