#sre (2021-04)
Prometheus, Prometheus Operator, Grafana, Kubernetes
Archive: https://archive.sweetops.com/monitoring/
2021-04-03
2021-04-14
2021-04-22
![uselessuseofcat avatar](https://secure.gravatar.com/avatar/ddda316ccd8b658b244b786dae7d808f.jpg?s=72&d=https%3A%2F%2Fa.slack-edge.com%2Fdf10d%2Fimg%2Favatars%2Fava_0016-72.png)
Hi, is there any way to archive New Relic logs to S3 bucket so I have them saved after 30 days of retention?
![Pierre-Yves avatar](https://secure.gravatar.com/avatar/713064f85b426dae41765cd5dfc915f3.jpg?s=72&d=https%3A%2F%2Fa.slack-edge.com%2Fdf10d%2Fimg%2Favatars%2Fava_0011-72.png)
I was looking for examples on prometheus alertmanager rules. I found that many where listed here:
Collection of alerting rules
![andrea.pavan avatar](https://avatars.slack-edge.com/2021-03-15/1855119617349_a8ddf9f3736b220e1352_72.jpg)
Yes, it’s a good resource to start. Thanks for sharing. Anyway, rules are owned by Prometheus itself, Alertmanager has the only scope to dispatch fired alerts
Collection of alerting rules
![kskewes avatar](https://avatars.slack-edge.com/2019-04-05/592663364881_098e29e5a0fe63cc7c82_72.jpg)
That’s pretty slick. there are also a bunch of “Monitoring Mixins” in the prometheus code as jsonnet world. https://monitoring.mixins.dev/
![Pierre-Yves avatar](https://secure.gravatar.com/avatar/713064f85b426dae41765cd5dfc915f3.jpg?s=72&d=https%3A%2F%2Fa.slack-edge.com%2Fdf10d%2Fimg%2Favatars%2Fava_0011-72.png)
@andrea.pavan well spotted yes that the prometheus rules . Thanks @kskewes with those additional example I can rules :)
![andrea.pavan avatar](https://avatars.slack-edge.com/2021-03-15/1855119617349_a8ddf9f3736b220e1352_72.jpg)
Sadly I found some difficulties to enter in Prometheus “world”. Very easy to fill up it with tons on metrics but hard to define proper rules and alerts with not so much ready from product vendors and a query language a bit complicated (at least for me)
![Pierre-Yves avatar](https://secure.gravatar.com/avatar/713064f85b426dae41765cd5dfc915f3.jpg?s=72&d=https%3A%2F%2Fa.slack-edge.com%2Fdf10d%2Fimg%2Favatars%2Fava_0011-72.png)
yes, I miss more example for nosql couchbase
![Pierre-Yves avatar](https://secure.gravatar.com/avatar/713064f85b426dae41765cd5dfc915f3.jpg?s=72&d=https%3A%2F%2Fa.slack-edge.com%2Fdf10d%2Fimg%2Favatars%2Fava_0011-72.png)
it tooks me some times to do the initial setup , but now I have:
• service discovery enable on azure resources
• alert send to Teams
2021-04-23
![Pierre-Yves avatar](https://secure.gravatar.com/avatar/713064f85b426dae41765cd5dfc915f3.jpg?s=72&d=https%3A%2F%2Fa.slack-edge.com%2Fdf10d%2Fimg%2Favatars%2Fava_0011-72.png)
Hello, in prometheus server: I didn’t managed to move job with azure_sd_config
to file_sd
directory it seems that this target is only for static config ? and not for service discovery jobs.
is there a way to move prometheus jobs out of prometheus.yml ? (to keep things organized and not in a single file )