Jacek, let's talk on the mongodb exporter sometime. I tried to get it running but was unable to figure out how to get it to talk to the juju mongodb. All I could get out of it was generic connection errors.
The relation thing you note is interesting. There's talk on the roadmap of exposing controllers as relatable applications which makes a lot of this easier as controllers can then just expose a prometheus endpoint and it would do things like allow placing the Telegraf subordinate without first using the Ubuntu charm as a relation endpoint. As for the Grafana datasource, no reason at all. I just walked through setting it up and I missed the relation there. I'll have to test that out and update the article. Thanks for the heads up! On Tue, Mar 21, 2017 at 5:01 AM Jacek Nykis <jacek.ny...@canonical.com> wrote: > On 20/03/17 18:04, Rick Harding wrote: > > During The Juju Show #8 [1] last week we talked about how to setup your > > controllers to be provide metrics through Prometheus to Grafana to keep > > an eye on those controllers in production. > > > > I put together a blog post [2] about how to set it up, configure Juju, > > and links to the sample json for an out of the box dashboard to use. > > Give it a try and let me know what you would add to keep an eye on your > > own production Juju. > > > > Rick > > > > 1: https://www.youtube.com/watch?v=tjp_JHSZCyA > > 2: http://mitechie.com/blog/2017/3/20/operations-in-production > > Hi, > > We also added mongodb exporter [0] for more in depth mongodb metrics. It > currently requires manual set up because juju mongo does not support > relations but once that is done it works great! > > I have one question about your article - is there any specific reason > you configure grafana datasource by hand as opposed to using > "grafana-source" relation? This should work just fine: > > juju add-relation prometheus:grafana-source grafana:grafana-source > > Jacek > > [0] https://github.com/dcu/mongodb_exporter > > -- > Juju mailing list > Juju@lists.ubuntu.com > Modify settings or unsubscribe at: > https://lists.ubuntu.com/mailman/listinfo/juju >
-- Juju mailing list Juju@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/juju