Not the answer you need?
Register and ask your own question!

pmm-admin purge error at pmm 1.13

next1009next1009 ContributorCurrent User Role Contributor
i'm upgrate pmm 1.10 to 1.13.


command : pmm-admin purge mysql:metrics

then it does not work and error message out.



panic: interface conversion: interface {} is nil, not map[string]interface {}

goroutine 1 [running]:
github.com/percona/pmm-client/pmm.(*Admin).PurgeMetrics(0xbe4e60, 0x7ffdfb2ad8ca, 0xd, 0xc4201c8a58, 0xc420191b68, 0x7ff262)
/tmp/go/src/github.com/percona/pmm-client/pmm/main.go:427 +0x5a4
main.glob..func39(0xbde460, 0xc420139120, 0x2, 0x2)
/tmp/go/src/github.com/percona/pmm-client/pmm-admin.go:1179 +0xd1
github.com/percona/pmm-client/vendor/github.com/spf13/cobra.(*Command).execute(0xbde460, 0xc4201390a0, 0x2, 0x2, 0xbde460, 0xc4201390a0)
/tmp/go/src/github.com/percona/pmm-client/vendor/github.com/spf13/cobra/command.go:654 +0x2a2
github.com/percona/pmm-client/vendor/github.com/spf13/cobra.(*Command).ExecuteC(0xbdeb20, 0xc420191dd0, 0x49b302, 0x0)
/tmp/go/src/github.com/percona/pmm-client/vendor/github.com/spf13/cobra/command.go:729 +0x2d4
github.com/percona/pmm-client/vendor/github.com/spf13/cobra.(*Command).Execute(0xbdeb20, 0xc0263c, 0x92bf0f)
/tmp/go/src/github.com/percona/pmm-client/vendor/github.com/spf13/cobra/command.go:688 +0x2b
main.main()
/tmp/go/src/github.com/percona/pmm-client/pmm-admin.go:1398 +0x18dc

Comments

  • FanFan Contributor Current User Role Patron
    same error , still not answer
  • IMPIMP Percona Percona Staff Role
    next1009 , Fan

    It indeed looks like you hit the very same issue.

    I was able to reproduce the same behaviour on PMM 1.13 and have reported internally a bug report.
Sign In or Register to comment.

MySQL, InnoDB, MariaDB and MongoDB are trademarks of their respective owners.
Copyright ©2005 - 2020 Percona LLC. All rights reserved.