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

Receiving "Cannot read property 'queries' of undefined" while using PostgreSQL dashboard #23

Closed
Karan96Kaushik opened this issue Feb 25, 2020 · 2 comments

Comments

@Karan96Kaushik
Copy link

(node:9864) UnhandledPromiseRejectionWarning: TypeError: Cannot read property 'queries' of undefined
at PostgresMetric.getQuery (/home/karansgs/Documents/GRAFANA/grafana-data-exporter-0.3.6/dist/server.js:45898:44)
at Object. (/home/karansgs/Documents/GRAFANA/grafana-data-exporter-0.3.6/dist/server.js:28160:44)
at Generator.next ()
at /home/karansgs/Documents/GRAFANA/grafana-data-exporter-0.3.6/dist/server.js:28113:71
at new Promise ()
at __awaiter (/home/karansgs/Documents/GRAFANA/grafana-data-exporter-0.3.6/dist/server.js:28109:12)
at Object.queryByMetric (/home/karansgs/Documents/GRAFANA/grafana-data-exporter-0.3.6/dist/server.js:28147:12)
at Target. (/home/karansgs/Documents/GRAFANA/grafana-data-exporter-0.3.6/dist/server.js:45543:62)
at Generator.next ()
at /home/karansgs/Documents/GRAFANA/grafana-data-exporter-0.3.6/dist/server.js:45482:71
(node:9864) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). (rejection id: 8)

@jonyrock
Copy link
Member

jonyrock commented Apr 8, 2020

@Karan96Kaushik can I ask you to show the query you are running in grafana?
(datasource tab)

@rozetko
Copy link
Member

rozetko commented Sep 29, 2020

fixed in 0.4.0 version

@rozetko rozetko closed this as completed Sep 29, 2020
rozetko pushed a commit to CorpGlory/grafana-data-exporter-panel that referenced this issue Sep 29, 2020
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

3 participants