Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add support for templated dashboards #12

Merged
merged 2 commits into from
Jun 25, 2015
Merged

Add support for templated dashboards #12

merged 2 commits into from
Jun 25, 2015

Conversation

Tenzer
Copy link
Collaborator

@Tenzer Tenzer commented Jun 25, 2015

As promised.

I have implemented as I mentioned in #7 by splitting everything following the slug:pid part of the command depending on if there's a = in the word or not. All words which contain an = are added to the parameters list with var- prepended, and the ones not containing a = are assigned to the "from" and "to" fields in order, until they both are assigned. The rest is just discarded.

There's no URL encoding of the variables currently. I don't necessarily think that's a big problem, since stuff like spaces never should occur in a Graphite query, I would think.

@stephenyeargin
Copy link
Owner

Great work! Tagging a release shortly.

stephenyeargin added a commit that referenced this pull request Jun 25, 2015
Add support for templated dashboards
@stephenyeargin stephenyeargin merged commit 157ab00 into stephenyeargin:master Jun 25, 2015
@stephenyeargin
Copy link
Owner

@Tenzer Tenzer deleted the templated-dashboards branch June 27, 2015 16:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants