How to make Grafana Piechart plugin to works with ClickHouse

  • What Grafana version and what operating system are you using?
    Grafana 6.5.3, Ubuntu 20.04

  • What are you trying to achieve?
    I am trying to get same results with ClickHouse DB, as I previous made with ElasticSearch DB.

  • How are you trying to achieve it?
    By changing same code parts.

  • What happened?

  • What did you expect to happen?
    I am expecting same piechart graphs with both DBs.

  • Can you copy/paste the configuration(s) that you are having problems with?

  • Did you receive any errors in the Grafana UI or in related logs? If so, please tell us exactly what they were.

  • Did you follow any online instructions? If so, what is the URL?

Have you tried using a Clickhouse Datasource like this one?