I am happy to report I am starting to use LXD / Juju SO much that I need prometheus now to monitor the situation… so I went to grab it from the store and womp womp… failed to install.
juju deploy cs:prometheus-7
I filed a bug but I wanted to reach out here and ask… what logs would help or how do I help best fix this?
I tried $ juju debug-log --replay --include-module prometheus/0 but nothing comes out
edit: it appears it is using trusty… perhaps I merely need to bump that OS upward?
edit2: it seems to be…progressing?? when forced to use bionic
$ juju deploy cs:prometheus-7 --series bionic
ERROR series "bionic" not supported by charm, supported series are: trusty,xenial. Use --force to deploy the charm anyway.
$ juju deploy cs:prometheus-7 --series bionic --force
Located charm "cs:prometheus-7".
Deploying charm "cs:prometheus-7".
when I tried deploying it to a pre-existing unit… got an error and unsure how to proceed… readme seems a bit sparse
juju deploy cs:~canonical-bootstack/trusty/node-exporter-2 --to 185
Located charm "cs:~canonical-bootstack/trusty/node-exporter-2".
Deploying charm "cs:~canonical-bootstack/trusty/node-exporter-2".
ERROR cannot use --num-units or --to with subordinate application
Unfortunately, like the prometheus charm, this is an early, now abandoned charm. I suggest checking out the Telegraf charm - it provides much the same functionality as node-exporter (more in many ways) and is in active use and maintained.
I’ll ask someone to update the README for the prometheus and node-exporter charm to make it clearer that they’re no longer maintained.
@jamesbeedy might have a pointer to good charms for node exporter. Telegraf works too. I have a lightweight version charmed up for centos that you cloud look at too for reference.