Prometheus - monitoring & time series database
-
"From metrics to insight
Power your metrics and alerting with a leading
open-source monitoring solution." -
And Thanos:
"Open source, highly available Prometheus setup with long term storage capabilities."
-
And AlertManager:
"The Alertmanager handles alerts sent by client applications such as the Prometheus server. It takes care of deduplicating, grouping, and routing them to the correct receiver integration such as email, PagerDuty, or OpsGenie. It also takes care of silencing and inhibition of alerts."
https://prometheus.io/docs/alerting/latest/alertmanager/
https://github.com/prometheus/alertmanager -
After installing Grafana on Cloudron, I'd really like this too!
-
https://git.cloudron.io/erik/prometheus-app our app for Prometheus ( in progress )
-
@eriktad This looks like a good start! I guess we need some sort of authentication for the prometheus dashboard? https://prometheus.io/docs/guides/tls-encryption/ has some information.
-
@girish Yes but I only find basic http auth on Prometheus docs, so what can you suggest?
-
@girish is it normal practice for us?
-
@eriktad Yes. You can do something like https://git.cloudron.io/cloudron/simple-torrent-app/-/blob/master/apache/cloud-torrent.conf . That apache config sets up the app for authentication via Cloudron LDAP .
-
@girish cool thx
-
@girish I tried this example, but somehow apache does not start for me, if you can help, I will give the more information about this
-
@eriktad Happy to help, let me know what error you are facing.
-
-
@girish So idk what happens I try to do it like another example I found in GitLab
-
@girish Ye problem founded. #!/bin/sh -> #!/bin/bash
-
@girish Prometheus app is done. Can you review it and tell me what to need to do next?
-
@girish https://git.cloudron.io/erik/alertmanager-app and Alertmanager app
-
@eriktad That's great progress! Yes, I can take a look next week. I have marked this app as WIP.
-
@eriktad said in Prometheus - monitoring & time series database:
@girish https://git.cloudron.io/erik/alertmanager-app and Alertmanager app
I don't have much experience with Promotheus. Does it make sense to merge alertmanager into the main app itself or do you think it should be separate apps?
If you need help deciding, we can take a guess from how they are usually deployed? Are they in separate domains or as subpaths etc.
-
@girish Yeh, I thought about that but idk, they run on other ports and have other dashboards, but altermanager only alerting Prometheus massages, I can try to merge, think it is good idea, but we need to understand if user no need alerts why we setup it with Prometheus.