Error updating options: e.replace is not a function

Hi Everyone,

I have a created a custom dashboard in PMM 2.30.0, and I am having trouble importing this custom dashboard using a JSON file in PMM 2.21.0

Getting this error for all the variables

Example:

Templating [region]

Error updating options: e.replace is not a function

Templating [region]

Failed to upgrade legacy queries e.replace is not a function 

Please help me to fix this issue

Hi @Asuwini_P thank you for posting to the Percona forums!

Can you attach your custom dashboard here, I’ll give it a try to import and see if I can figure out what is breaking. Or if you can provide a link to a repository I can take a look there