Coder Social home page Coder Social logo

go-grafana's People

Contributors

spoof avatar

Stargazers

 avatar  avatar  avatar

Watchers

 avatar  avatar

go-grafana's Issues

Support Text panel

Library should support Text panels. There are two sections: General and Options.
Text panes cabe HTML, Markdown and Text. It doesn't support querying.

Support Annotation API

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 :

  • to move all this code in a http_client.go file
  • the client.go will just implement some getter (each one pear service), that create the corresponding service with the http_client.

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,

Support Singlestat panel.

Library and client should support Singlestat panel.
It consists of:

  • General options
  • Metrics
  • Options
  • Value mapping
  • Time range

Basic support of Graph panel

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.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.