diff --git a/collector/instance.go b/collector/instance.go index 98c45c14..b7a6e8b0 100644 --- a/collector/instance.go +++ b/collector/instance.go @@ -53,7 +53,8 @@ func newInstance(dsn string) (*instance, error) { // copy returns a copy of the instance. func (i *instance) copy() *instance { return &instance{ - dsn: i.dsn, + dsn: i.dsn, + name: i.name, } }