Code Monkey home page Code Monkey logo

leonardo's People

Contributors

asomani5 avatar blkperl avatar ewenmcneill avatar mordyovits avatar mostawesomedude avatar nzlosh avatar prfalken avatar tailcat avatar youpinadi avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

leonardo's Issues

Which named colors are available? It is a mystery~

Hi! Making graphs, I noticed that I had two colors, "red" and "orange", and I pondered: Would the color between them be "redorange" or "orangered"? Perhaps "tangerine" or "bloodorange"? It'd be easy to tell if I knew which color standard were being used; my guesses are CSS, matplotlib, W3C, and X11. Dunno which, but we can find out!

This issue's mostly for me; I think that I can fix it by researching and documenting.

LDAP authentication

It would be nice to implement an authentication system for Leonardo, with LDAP support.

Pretty 500 page

Create a nice 500 error page, and if possible display the underlying Graphite error when a graph is not valid.

leonardo sort of API, returns graphs/dashboards as JSON

  • Calling leonardo.example.com/_dashboard/$category/$dashboard should return a list of graphs in json format with metadata (title, vtitle, etc.) and GraphiteURL.
  • Calling leonardo.example.com/_graph/$category/$dashboard/$graphname should return the single graph in json format.

This is a prerequisite to allow different JS graph rendering tools such as Rickshaw or HighCharts.

Date range text input closes after "Show" button is clicked

When using the "Select Date" date range option on the dashboard page view, it would be useful to keep the date ranges visible after the "Show" button is clicked.

This would allow searching of different date ranges without having to re-click the "Select Date" button each time.

It would also be useful to retain the date ranges entered from the previous date range search request.

refactor/rethink View and Leonardo classes

They have been written nearly at once, and the concept behind these two classes is fuzzy. a few ideas :

  • extract the View class in a separate module to let routes alone
  • merge the View and Leonardo class
  • define a better name for the Leonardo class if keeping two classes is relevant.

Graphs with mostDeviant

I'm trying to figure out how to make a graph with mostDeviant, As described here: http://obfuscurity.com/2012/04/Unhelpful-Graphite-Tip-6

The following renders the graph but doesn't display the hostnames of the 5 lines and instead labels them as mostDeviant.

fields:
    mostDeviant:
        color: green
        field_linewidth: 2
        data: mostDeviant(5, collectd.*.load.load.shortterm)

Add more example templates

It would be useful if there was more example templates, can you post the configs for the dashboard in the pictures on the README.

I've been trying to make a graph for load to get started and I can't seem to get it working, not sure if my config is wrong or if the yaml is wrong.

Code cleanup

Some of the code doesn't comply with PEP E501 and is somewhat difficult to read.

This is too difficult to read:

for category in [ name for name in os.listdir(self.graph_templates)
                                        if not name.startswith('.') and os.path.isdir(os.path.join(self.graph_templates, name)) ]:

I may end up cleaning up some things, so this might be more of a note to myself

Owner change for #leonardo IRC channel

Hi!

Time ago, I registered #leonardo in Freenode. Today, IRC user "vbernat" asked me to transfer the channel to this project if it's no longer being used. It is not and I would be happy to transfer it.

I just need to verify that the request from "vbernat" is in the name of the project and the Freenode nickname "julez" is a correct recipient for the channel ownership. Could you please confirm it?

Thanks.

Graphs not shown in multiple search

From what I gathered so far, the url for the images is really set via JavaScript and there needs to be a div around, that has the class needed_width. There is no such div in templates/multiple.html. Thus https://github.com/PrFalken/leonardo/blob/master/leonardo/static/js/leonardo.js#L178 replaces the width with null and graphite throws an error: ValueError: invalid literal for int() with base 10: 'null'

Imho there is no way to get the correct width of the images in multiple view, because there might be any number of graphs that have to fit in one line so multiple dashboards can be compared. So maybe a default should be used if needed_width is not set.

HighCharts or D3 support !

I would love to add support of HighCharts/HighStock or D3 so that the user can choose between standard graphite PNG or HighCharts or D3.
Not sure how to do this, but it seems way more complicated that simply generate an URL as GraphiteGraph does.

Pretty loading animation

Instead of little having little ugly squares visiable while the graphs load it would be nice if there was a pretty loading animation such as a spinner.

Add support for nested menus

Nested menu support is needed when you have a lot of hosts. :)

Usecase below.

   LinuxTeam           (not clickable, top menu)
       LinuxLabA       (should be clickable with hostgroup specific graphs)
            - host1    (should be clickable with host specific graphs)
            - host2
            - host3
       LinuxLabB
            - host1
            - host2
       TerminalServer
            - host1
            - host2

Ideas, comments, concerns?

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.