trinodb / grafana-trino

The Trino datasource allows to query and visualize Trino data from within Grafana.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Getting unassigned external datasource | High Priority

nupurzs opened this issue · comments

Trino folder is showing inside the /var/lib/grafana/plugin, while adding datasource getting 404 error.

Below is my Dockerfile

FROM grafana/grafana-oss:latest
COPY . /var/lib/grafana/plugins/trino
ENV GF_PLUGINS_ALLOW_LOADING_UNSIGNED_PLUGINS=trino-datasource
EXPOSE 3000
VOLUME /var/lib/grafana/plugins/trino

I tried follwing the steps in grafana/loki#6168 but not able to get the context of installing yarn.
Can you please help?
image

Are you running this in a local working copy of the repository or in a directory where you extracted the artifacts from the release? https://github.com/starburstdata/grafana-trino/releases/tag/v1.0.0-beta.2

@nineinchnick i have cloned your main branch , created Dockerfile and customized it over grafana base image.
then used the custom image and deployed it using helm.
Please let me know what should i do?

Use the ZIP from the release. Otherwise, you'd have to build the project first, by following the steps in https://github.com/starburstdata/grafana-trino/blob/main/DEVELOPMENT.md. Using the ZIP should be easier.

@nineinchnick i tried accessing the zip but its showing me not found.
Can you please help me with the zip url?
Correct me if I am going wrong, steps should be:
1)Download zip in local
2)Create Dockerfile and build image

FROM grafana/grafana-oss:latest
COPY . /var/lib/grafana/plugins/trino
ENV GF_PLUGINS_ALLOW_LOADING_UNSIGNED_PLUGINS=trino-datasource
EXPOSE 3000
VOLUME /var/lib/grafana/plugins/trino

3)Use image

Please let me know if i am missing anything.

Thanks & Regards
Nupur singh

Which URL did you try? The one I added in my first comment, which you can find in the releases tab in this repo?

The steps look ok, just unzip the zipfile after downloading it.

I'm closing this since it's not an actual issue with the connector but rather a question about usage.

You can join the Trino community Slack and ask for help there.