ripienaar / gdash

A dashboard for Graphite
http://www.devco.net/
Apache License 2.0
754 stars 117 forks source link

Support which properties use to sort the dashboards #75

Closed keymon closed 8 years ago

keymon commented 11 years ago

You can use:

:sort_dashboards_by: [ link, name ]

in the config/gdash.yaml to change the sorting criteria. Defaults to [ name ], as before.

keymon commented 11 years ago

I added logic to specify the order criteria for the dashboard graphs aswell. Right now it is based on the file name, but you can use the name, description... also any property using properties[:key] = value in the graph definition.

This is cool, because you can add to you graphs something like this to force some order:

properties[:weight] = 10

keymon commented 11 years ago

Are you guys happy with this PR? I would like to merge it.

falkenbt commented 11 years ago

Can you update this so we can merge?

forest commented 11 years ago

:+1: