clickhouse-grafana
clickhouse-grafana copied to clipboard
Implementation backend part of plugin in TypeScript
GRAFANA_VERSION=10.3.7 docker-compose up -d grafana
returns error
grafana container unhealthy
clickhouse-grafana-v3_grafana_1 /run.sh Exit 255
docker-compose logs grafana
logger=plugin.vertamedia-clickhouse-datasource t=2024-07-17T07:03:36.335831561Z level=debug msg="Trace: TypeError: Cannot read properties of undefined (reading 'xHeaderKey')"
logger=plugin.vertamedia-clickhouse-datasource t=2024-07-17T07:03:36.335841261Z level=debug msg=" at ClickhouseClient.<anonymous> (/snapshot/dist/backend-plugin.js)"
logger=plugin.vertamedia-clickhouse-datasource t=2024-07-17T07:03:36.335850161Z level=debug msg=" at Generator.next (<anonymous>)"
logger=plugin.vertamedia-clickhouse-datasource t=2024-07-17T07:03:36.335859261Z level=debug msg=" at /snapshot/dist/backend-plugin.js"
logger=plugin.vertamedia-clickhouse-datasource t=2024-07-17T07:03:36.335867961Z level=debug msg=" at new Promise (<anonymous>)"
logger=plugin.vertamedia-clickhouse-datasource t=2024-07-17T07:03:36.335876461Z level=debug msg=" at /snapshot/dist/backend-plugin.js"
logger=plugin.vertamedia-clickhouse-datasource t=2024-07-17T07:03:36.335887961Z level=debug msg=" at ClickhouseClient.query (/snapshot/dist/backend-plugin.js)"
logger=plugin.vertamedia-clickhouse-datasource t=2024-07-17T07:03:36.335905061Z level=debug msg=" at /snapshot/dist/backend-plugin.js"
logger=plugin.vertamedia-clickhouse-datasource t=2024-07-17T07:03:36.335956161Z level=debug msg=" at Array.map (<anonymous>)"
logger=plugin.vertamedia-clickhouse-datasource t=2024-07-17T07:03:36.335972561Z level=debug msg=" at ClickhouseDataService.<anonymous> (/snapshot/dist/backend-plugin.js)"
logger=plugin.vertamedia-clickhouse-datasource t=2024-07-17T07:03:36.335982461Z level=debug msg=" at Generator.next (<anonymous>)"
logger=plugin.vertamedia-clickhouse-datasource t=2024-07-17T07:03:36.335992761Z level=debug msg=" at ClickhouseDataService.<anonymous> (/snapshot/dist/backend-plugin.js)"
logger=plugin.vertamedia-clickhouse-datasource t=2024-07-17T07:03:36.336004261Z level=debug msg=" at Generator.throw (<anonymous>)"
logger=plugin.vertamedia-clickhouse-datasource t=2024-07-17T07:03:36.336015061Z level=debug msg=" at rejected (/snapshot/dist/backend-plugin.js)"
logger=plugin.vertamedia-clickhouse-datasource t=2024-07-17T07:03:36.336023961Z level=debug msg=" at process.processTicksAndRejections (node:internal/process/task_queues:95:5)"
Root reason of failures is old graph related alerts which deprecated in grafana 11, but still works in grafana 10
GF_UNIFIED_ALERTING_ENABLED: false
GF_ALERTING_ENABLED: true
we need to support both types of alerts