MySQL connections Query

Hey , i’m having issues visualising MySQL connections. I’m trying to transition from Diamond agent to Telegraf, and the graphs are not equal. this is how i query with Telegraf:

does you have any suggestions?

You need to update your query to use the fields that Telegraf generates. You can find them here