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

Dynamic Parameters populated as indicies (instead of values) #30

Open
pdolan opened this issue Aug 8, 2014 · 0 comments
Open

Dynamic Parameters populated as indicies (instead of values) #30

pdolan opened this issue Aug 8, 2014 · 0 comments

Comments

@pdolan
Copy link

pdolan commented Aug 8, 2014

Hi there,

Given that I have a list of application IDs existing within the following path:
${stack}.incoming.metric.${appid}.AppSpecificMetrics.count

In order to provide 2x dropdowns in the appropriate graphitus dashboard, am using the following dynamic parameter config:

"parameters": {
    "stack": {
        "production": { "stack": "production" },
        "staging": { "stack": "staging" }
    },
    "appid": {
        "type": "dynamic",
        "query": "${Stack}.incoming.metric.*",
        "index": 3,
        "showAll": true
    }
}

However, the appid dropdown is being populated with the indexes (0..n) of my appids - the value is being passed correctly to dropdown but this isn't particularly useful!

E.G. want to draw dashboard for app ID 5 - select "5" from appid dropdown, but this instead draws the 5th item returned from the "${Stack}.incoming.metric.*" query.

Is there a config option I can use to handle this case?

Thanks and Regards!
-Paul

mathias-baumann-sociomantic pushed a commit to mathias-baumann-sociomantic/graphitus-upstream that referenced this issue Apr 16, 2015
Use new metrics for Nautica on US and AP
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

No branches or pull requests

1 participant