Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
dforsber opened this issue Dec 1, 2023 · 1 comment
Open

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

dforsber opened this issue Dec 1, 2023 · 1 comment

Comments

@dforsber
Copy link

dforsber commented Dec 1, 2023

  • grafana/grafana-oss Grafana docker container
  • v1.0.4 Grafana TrinoDB Plugin (v1.0.5 is latest atm. and has some bug causing it not to send the query forward actually)
  • No auth, no TLS
  • Grafana query: SELECT 1 as value;, like in the data source exploration window
  • Buenavista HTTP response JSON as below
{"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
Copy link
Author

dforsber commented Dec 9, 2023

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant