spoof / go-grafana Goto Github PK
View Code? Open in Web Editor NEWGo client library for Grafana API (https://godoc.org/github.com/spoof/go-grafana/client)
License: Apache License 2.0
Go client library for Grafana API (https://godoc.org/github.com/spoof/go-grafana/client)
License: Apache License 2.0
There are still unsupported sections:
Library should support Text panels. There are two sections: General and Options.
Text panes cabe HTML, Markdown and Text. It doesn't support querying.
Hello,
Before sending a new PL, I would like to know if you are interesting by supporting the Annotation API ?
And before that, I think we can improve the client code with added GET, POST, PUT, DELETE method that can wrappe the NewRequest method.
Moreover, maybe it could be better to break the circular dependency that exist between service and the client.
Actually, the client is a high level http client. It is not a Grafana client. That why, it could be better :
For example something like that :
type Client struct {
client *RestClient // high level RestHTTP client used to communicate with the API.
}
func (c *Client) Dashboard() *DashboardsService {
return newDashboard(c.client)
}
func (c *Client) Datasources() *DatasourcesService {
return newDatasources(c.client)
}
If you are ok with that, I'll send a PR with the client feature and after that another PR with the new AnnotationServices
Thanks by advance for your response.
Best regards,
Library and client should support Singlestat panel.
It consists of:
There are two section that remain unsupported:
Graph panel is very customisable panel, thus it's quite hard to implement all its features at once.
So, I think, we need to implement settings in Axes and Metrics tab (for at least one datasource) at first.
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.