fiskaly / grafana.surrealdb Goto Github PK
View Code? Open in Web Editor NEWGrafana Datasource Plugin for SurrealDB
Home Page: https://grafana.com/grafana/plugins/fiskaly-surrealdb-datasource/
License: Other
Grafana Datasource Plugin for SurrealDB
Home Page: https://grafana.com/grafana/plugins/fiskaly-surrealdb-datasource/
License: Other
improvement: Is it possible to add variables in a Grafana plugin representing, for example, the geolocation position.coords in a variable $__position?
what do you think ?
thanks in advence
when i try to create a database with the api of grafana namespace is missing.
i send this json:
{'name': 'Surrealdb', 'type': 'fiskaly-surrealdb-datasource', 'typeName': 'SurrealDB', 'url': 'surrealdb:8000', 'access': 'proxy', 'withCredentials': False, 'basicAuth': False, 'jsonData': {'database': 'test', 'location': 'surrealdb:8000', 'namespace': 'test', 'username': 'root', 'password': 'root'}, 'uid': 'surrealdb', 'isDefault': True, 'database': 'fiskaly-surrealdb-datasource'}
a this end point:
POST /api/datasources
when i login and show the new database i get this:
the namespace is missing .
can you test it and verify.
thanks
In order to have this data source plugin published in the Grafana plugin catalog we have received the following change requests:
hide
functionality (either frontend or backend side) of a given data sourcemetric
query mode user experienceplugin.Datasource
configuration and JSON data model and JSON secrets, see:
getResource
frontend calls and still not used backend logic, see: https://github.com/fiskaly/grafana.surrealdb/blob/v0.1.0/src/datasource.ts#L26 and grafana.surrealdb/pkg/plugin/datasource.go
Lines 636 to 655 in fcd65cf
panic()
with an empty string, see: grafana.surrealdb/pkg/plugin/datasource.go
Line 221 in fcd65cf
grafana.surrealdb/pkg/plugin/datasource.go
Lines 279 to 284 in fcd65cf
Hello ,
i create a timeserie:
{
"id": "timetable:03jl9sgvaey8b2bh53tq",
"location": "location:361820095V6",
"person": "person:CLEA",
"timestamp": "2024-02-22 21:41:01.123333"
}
or
{
"id": "timetable:03jl9sgvaey8b2bh53tq",
"location": "location:361820095V6",
"person": "person:CLEA",
"timestamp": "2024-02-22T21:41:01.123333"
}
i want to view it on grafana but the field timestamp doesnt work for date selection
and i cant see it in table mode:
the field timestamp is empty.
even if i choose timeseries ...
the timerange doesnt affect the result
is there a specific way to save timestamp ? what form ?
thanks in advance
lucile
It miss thé Query SQL for variable.
In order to dissect different the metric rate functions of a given query, provide a "group by" functionality for the rate computations.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.