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.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/metrics/plugin.go b/plugins/metrics/plugin.go
index fb9096a1..5ed1054e 100644
--- a/plugins/metrics/plugin.go
+++ b/plugins/metrics/plugin.go
@@ -40,7 +40,7 @@ type Plugin struct {
// Init service.
func (m *Plugin) Init(cfg config.Configurer, log logger.Logger) error {
- const op = errors.Op("metrics init")
+ const op = errors.Op("metrics_plugin_init")
err := cfg.UnmarshalKey(PluginName, &m.cfg)
if err != nil {
return errors.E(op, errors.Disabled, err)