jwills / buenavista

A Postgres Proxy Server in Python
Apache License 2.0
201 stars 20 forks source link

Testing http proxy with Grafana TrinoDB Plugin does not work #25

Open dforsber opened 7 months ago

dforsber commented 7 months ago
{"id": "1701431284.415317_1701431289766", "infoUri": "http://127.0.0.1/info", "stats": {"state": "COMPLETE", "waitingForPrerequisites": false, "queued": false, "scheduled": false, "nodes": 1, "totalSplits": 1, "queuedSplits": 0, "runningSplits": 0, "completedSplits": 1, "cpuTimeMillis": 0, "wallTimeMillis": 0, "waitingForPrerequisitesTimeMillis": 0, "queuedTimeMillis": 0, "elapsedTimeMillis": 9, "processedRows": 0, "processedBytes": 0, "peakMemoryBytes": 0, "peakTotalMemoryBytes": 0, "peakTaskTotalMemoryBytes": 0, "spilledBytes": 0, "rootStage": null, "runtimeStats": null}, "warnings": null, "partialCancelUri": null, "columns": [{"name": "value", "type": "integer", "typeSignature": {"rawType": "integer", "arguments": []}}], "data": [[1]], "updateType": null, "updateCount": null}

==> Grafana does not seem to understand the response somehow?

The issue: Grafana Query Inspector never finds any rows on the responses for some reason. image

dforsber commented 7 months ago

I learned that the Trino client can be used to dump network traffic, so when I have time, I'm planning to use it to dump the response from Trino for the same query and see what's the difference there.