Please add an ability to use same charts with different data sources
Hi George - thanks for the suggestion, we've heard similar things for others. How would you expect this to work - as an option at the dashboard level? What would you expect to happen if the dashboard contained multiple charts using different data sources?
@Tom Hollander: This is where I am right now. I've made a chart that is very helpful and because we store tenants in separate databases I have to copy the same chart over and over because of the different data source. Essentially I'm comparing data from different data sources. Yes, a dashboard contained multiple charts using different data sources would work for me.
This could open in-product embedding of mongo charts conversation as well.
@George Mihailov: Thanks George. We had the idea of allowing people to create a special kind of data source which includes a pattern that could map to multiple collections, like foo.* or *.foo, as opposed to mapping to single collection. The chart builder and dashboard views would then prompt you to choose a specific collection that matches that pattern, and you could easily change the collection without modifying the chart definition. Would that work for you?
@Tom Hollander: In my case, I'd use *.foo (collections and schema are the same, only namespace differs).
Don't know if embedding is in the scope, but it would be great to have a parameter to set the namespace. There might be security concerns of course.