Note:
This documentation has moved to a new home! Please update your bookmarks to the new URL for the up-to-date version of this page.
Letâs go with 20.10 so we can use telegraf from universe and not document/use the PPA thatâs used for testing at all please.
so this will go away
as noted earlier, itâs published on the web UI endpoint, but prometheus is responsible for coming and collecting the information. This might need a little tweaking to the wording to be accurate.
does this dns style work because of lxd magic?
yay!
since this is a lxd environment can we skip lynx and just document the URL that a user would leverage from the lxd host machine?
again maybe use groovy since thatâs where this âfeatureâ was devâd with?
shouldnât snapd be there already? is this because of the lxd images weâre using it doesnât include snapd?
Iâd just cut this and leave it at âdependencies.â
Do we need this section? I wonder if we can cut it for space/time?
This isnât the PPA any longer.
Nice!
can we use wget here again?
what do you think of making things that are variables or things that would line up with a config file being monospaced even when itâs inline here?
Like here, I like this a lot.
Thanks, Iâve updated with these changes.
Under section âB. Alertsâ,
In my case the file was in /var/snap/prometheus-alertmanager/11/alertmanager.yml
, and not in
/var/snap/prometheus/32/alertmanager.yml
or/etc/prometheus/alertmanager.yml
In section C Grafana:
These are incorrect references to the local configuration file. We should not assume that just because the provisioning path is overridden with an environment variable pointing to a certain location that the config should be in the same place. I suggest that the only way to know is to inspect the wrapper file. For example, with the grafana snap I recently installed you will see:
CONF="$SNAP_DATA/conf/grafana.ini"
You should confirm the value of the $SNAP_DATA variable also. I did this in a snap shell but there may be another way⊠Iâm no snap expert.
So in my case the actual location for settings was:
/var/snap/grafana/36/conf/grafana.ini
This is a great page, and certainly a common search result for âUbuntu loggingâ. That one misdirection had me beating my head against the wall though.
The second edit session under B. Alerts uses the wrong name:
Now create
/var/snap/prometheus/32/alerts.yml
with the following contents:## /var/snap/prometheus/32/alertmanager.yml
The âalertsmanager.ymlâ should be âalerts.ymlâ.
Thank you for your feedback. Sorry this took so long, but weâve been working through lots of feedback received on these docs. We think weâve now addressed all feedback above this comment by editing the original text above. As the feedback is incorporated, weâll delete the feedback comments to clean up in about a month from now.
Thank you for your feedback. Sorry this took so long, but weâve been working through lots of feedback received on these docs. We think weâve now addressed all feedback above this comment by editing the original text above. Are our edits OK, and have we correctly understood and addressed your feedback? If not, please let us know. Otherwise, as the feedback is incorporated, weâll delete the feedback comments to clean up in about a month from now.
Thank you for your feedback. Sorry this took so long, but weâve been working through lots of feedback received on these docs. We think weâve now addressed all feedback above this comment by editing the original text above. Are our edits OK, and have we correctly understood and addressed your feedback? If not, please let us know. Otherwise, as the feedback is incorporated, weâll delete the feedback comments to clean up in about a month from now.
On a side note, I would like to point out that I believe the right way to address this issue is to use $SNAP_COMMON
(i.e., /var/snap/grafana/common/
) as the right path for the customization file. I happen to be working on the grafana snap now, so I will take this opportunity to also improve its configuration scheme.