Lines Matching refs:pluginID
33 func instrumentPluginRequest(pluginID string, endpoint string, fn func() error) error {
44 pluginRequestDuration.WithLabelValues(pluginID, endpoint).Observe(float64(elapsed))
45 pluginRequestCounter.WithLabelValues(pluginID, endpoint, status).Inc()
51 func InstrumentCollectMetrics(pluginID string, fn func() error) error {
52 return instrumentPluginRequest(pluginID, "collectMetrics", fn)
56 func InstrumentCheckHealthRequest(pluginID string, fn func() error) error {
57 return instrumentPluginRequest(pluginID, "checkHealth", fn)
61 func InstrumentCallResourceRequest(pluginID string, fn func() error) error {
62 return instrumentPluginRequest(pluginID, "callResource", fn)
66 func InstrumentQueryDataRequest(pluginID string, fn func() error) error {
67 return instrumentPluginRequest(pluginID, "queryData", fn)