grafana-restsql-datasource's People
Forkers
billthebestgrafana-restsql-datasource's Issues
Datasource add problem
When i try to add datasource i get error in grafana
Failure
Could not connect to datasourceundefined
tomcat logs
192.168.0.3 - - [21/Aug/2016:04:48:03 +0600] "GET /restsql-0.8.11URI_RESOURCE HTTP/1.1" 404 1021
Can’t get any datapoints
Hi,
I’m trying to get some metrics from the restsql mysql demo database “sakila”, but without success. I'm using restsql v0.8.11 and grafana v4.0
What I’ve done so far:
- Created a simple test query against the “actor” table. That table has a TIMESTAMP field (“last_update”), and a SMALLINT UNSIGNED field (“id”) so I guess it should work for showing up in grafana.
- Defined a restsql datasource in grafana. I correctly see all my defined restsql queries and corresponding fields.
- Created a singlestat panel, graph panel and table panel but none of them were showing any datapoints. I checked the URL that was using grafana (e.g:
/restsql/res/Test?metricTimestamp=%3E=2006-01-01T12:53:38.190&metricTimestamp=%3C=2007-01-01T12:53:38.000
) and it was answering some JSON like this:
{ "actors": [ { "id": 1, "first_name": "PENELOPE", "surname": "GUINESS", "metricTimestamp": "2006-02-15 04:34:33.0" }, { "id": 2, "first_name": "NICK", "surname": "WAHLBERG", "metricTimestamp": "2006-02-15 04:34:33.0" }, { "id": 3, "first_name": "ED", "surname": "CHASE", "metricTimestamp": "2006-02-15 04:34:33.0" } ] }
Any help would be appreciated.
Thanks.
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.