summaryrefslogtreecommitdiff
path: root/plugins/metrics/plugin.go
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/metrics/plugin.go')
-rw-r--r--plugins/metrics/plugin.go7
1 files changed, 4 insertions, 3 deletions
diff --git a/plugins/metrics/plugin.go b/plugins/metrics/plugin.go
index ff075bc6..8ffd19d5 100644
--- a/plugins/metrics/plugin.go
+++ b/plugins/metrics/plugin.go
@@ -1,7 +1,5 @@
package metrics
-// todo: declare metric at runtime
-
import (
"context"
"crypto/tls"
@@ -222,5 +220,8 @@ func (m *Plugin) Name() string {
// RPC interface satisfaction
func (m *Plugin) RPC() interface{} {
- return &rpcServer{svc: m}
+ return &rpcServer{
+ svc: m,
+ log: m.log,
+ }
}