Open tehlers320 opened 7 years ago
Only "midterm" selected
I'm afraid it was designed that way. When querying for paths, all the complete paths that are matching the query. Otherwise the grafana API won't work. Problem arises because graphite API does two queries: first to resolve paths and one for the particular paths.
Unfortunately, I do not have a good solution for that. The only thing I can propose is that we make the path expansion for API optional and configurable. Maybe 2 modes: graphite-api and grafana, in one of which it won't be completed.
cyanite-api:
GET /paths?query=prod.us-west-2.collectd_metrics.cyanite-cassandra.%2A.load.load.midterm
returns: