MCPcopy
hub / github.com/netdata/netdata / Handle

Method Handle

src/go/pkg/funcapi/handler.go:34–34  ·  view source on GitHub ↗

Handle processes a method request and returns the response. The context should be used for timeout/cancellation of database queries.

(ctx context.Context, method string, params ResolvedParams)

Source from the content-addressed store, hash-verified

32 // Handle processes a method request and returns the response.
33 // The context should be used for timeout/cancellation of database queries.
34 Handle(ctx context.Context, method string, params ResolvedParams) *FunctionResponse
35
36 // Cleanup releases any resources held by the handler.
37 // Called when the collector is being stopped.

Callers 15

HandleMethod · 0.65
HandleMethod · 0.65
HandleMethod · 0.65
HandleMethod · 0.65
HandleMethod · 0.65
HandleMethod · 0.65
HandleMethod · 0.65
HandleMethod · 0.65
HandleMethod · 0.65
HandleMethod · 0.65

Implementers 15

funcTopQueriessrc/go/plugin/go.d/collector/mongodb/f
funcRoutersrc/go/plugin/go.d/collector/mongodb/f
funcTopQueriessrc/go/plugin/go.d/collector/couchbase
funcRoutersrc/go/plugin/go.d/collector/couchbase
funcTablesrc/go/plugin/go.d/collector/sql/func_
funcRunningQueriessrc/go/plugin/go.d/collector/oracledb/
funcTopQueriessrc/go/plugin/go.d/collector/oracledb/
funcRoutersrc/go/plugin/go.d/collector/oracledb/
funcInterfacessrc/go/plugin/go.d/collector/snmp/func
funcRoutersrc/go/plugin/go.d/collector/snmp/func
funcRunningQueriessrc/go/plugin/go.d/collector/postgres/
funcTopQueriessrc/go/plugin/go.d/collector/postgres/

Calls

no outgoing calls