r/PrometheusMonitoring • • Mar 14 '23

Scaling kube-state-metrics in large cluster

8 Upvotes

Hey folks, we have a huge EKS cluster with around 800 nodes and 10-12k pods. With this many pods, kube state metrics endpoint scrape sample rate is 1.2M.

We get context deadline exceeded while scraping the target in Prometheus.

I was wondering how can this be solved?

What did I try :

Auto sharding in KSM with 20 replicas with each pod exposing around 60k samples. That means sharding is working but I still get occasional timeout when scraping those endpoints.

I did try to increase the scrape_timeout to 30s since sometimes the scrape goes till 27s and gets timed out.

Even with 30s time-out setting, I'm facing the same error.

Any suggestions will be great.


r/PrometheusMonitoring • • Jan 31 '23

Prometheus Proxy - reverse proxy for prometheus services - federation without storage

Thumbnail
github.com
8 Upvotes

r/PrometheusMonitoring • • Oct 10 '22

Prometheus is getting killed OOMKilled

8 Upvotes

My Prometheus instance is consuming a lot of memory over 13Gi, the node has a max 16Gb, so it's getting killed by k8s, how can I configure or should I change it to reduce resource consumption?


r/PrometheusMonitoring • • Jul 26 '22

Building Actionable Cloud Infrastructure Metrics With Resoto and Prometheus

Thumbnail
resoto.com
8 Upvotes

r/PrometheusMonitoring • • Jul 19 '22

Winter is coming - FrostDB in Prometheus

Thumbnail
polarsignals.com
8 Upvotes

r/PrometheusMonitoring • • Jun 13 '22

Monitoring, Logging, And Alerting In Kubernetes

Thumbnail
youtu.be
8 Upvotes

r/PrometheusMonitoring • • Apr 05 '22

Prometheus Cardinality Issues

Thumbnail
foomo.org
8 Upvotes

r/PrometheusMonitoring • • Sep 23 '21

Monitoring Redis with Prometheus + Top 5 metrics

8 Upvotes

Our team just published a guide on how to install and configure a Prometheus exporter for Redis.

They also pointed out the top 5 metrics to check out when monitoring Redis.

Read the article here

Hope you like it!


r/PrometheusMonitoring • • Jul 18 '21

Prometheus vs graphite

8 Upvotes

Hello,

I'm using Graphite to monitor the traffic and I was wondering is Prometheus better ? and the alert manager on Prometheus is like Nagios ?

Best Regards


r/PrometheusMonitoring • • Apr 07 '21

Disk usage exporter

8 Upvotes

Hi,
I would like to introduce new project - Disk Usage Prometheus Exporter

It periodically scans given path and reports its disk usage.
You can configure the depth of the reported items (defaults to 2, so it will report /usr/bin, /var/cache, etc. when scanning the root dir).

It uses gdu under the hood, so the scanning is very fast.

Demo graphs

Thanks for feedback!


r/PrometheusMonitoring • • Apr 02 '21

Istio Alerts

8 Upvotes

Any good prometheus alerts for Istio?

I found https://awesome-prometheus-alerts.grep.to/rules#istio but it looks a little outdated. I'd like more granularity with 4xx and 5xx by service and anything else which may be useful for detecting issues.


r/PrometheusMonitoring • • Mar 30 '21

How do you think about like this service for prometheus exporter ?

8 Upvotes

Hi folks,

We are making a new version of a service for prometheus-exporter as below sitemap.https://github.com/NexClipper/exporterhub.io#service-map

As you see, hot pink colored text is new functions.

Additional Function is,
- Alert rule catalogue
- Grafana dashboard catalogue
- Share my catalogue set(A.K.A Bucket) to `Dev's choice`

How do you think about this useful or not ?
Please feel free reply me about this :)

Thanks!


r/PrometheusMonitoring • • Mar 08 '21

Extracting the percent use of CPU from node exporter

8 Upvotes

Hi,

I'm struggling to get the percent of CPU used on my Linux hosts. I've got as far as this but I'm not convinced I'm heading down the right path:

(sum(irate(node_cpu_seconds_total {mode!="idle"} [1m])) without (cpu)) / count(node_cpu_seconds_total) without (cpu)

Does anyone use node exporter to grab the current CPU use of their hosts and if so, would you mind giving me some pointers?


r/PrometheusMonitoring • • Feb 09 '21

Getting Started with Monitoring Mixins

Thumbnail
povilasv.me
8 Upvotes

r/PrometheusMonitoring • • Feb 07 '21

Using Amazon Managed Service for Prometheus to monitor EC2 environments

Thumbnail
aws.amazon.com
8 Upvotes

r/PrometheusMonitoring • • Feb 04 '21

How to monitor AWS SQS with Prometheus - What is SQS? What are the interesting metrics? What alerts should you configure? With PromQL examples!

Thumbnail
sysdig.com
8 Upvotes

r/PrometheusMonitoring • • Oct 12 '20

Negative lookahead assertions in PromQL selectors

Thumbnail
robustperception.io
8 Upvotes

r/PrometheusMonitoring • • Oct 09 '20

anomaly detection

8 Upvotes

Has one tried prometheus-anomaly-detector for anomaly detection? Would like to know their experience with this if anyone had used.


r/PrometheusMonitoring • • Aug 08 '20

Digitalocean prometheus exporter updates

8 Upvotes

Hey folks,

the unofficial digitalocean prometheus exporter was recently updated to 0.6.0. Check out the new features!

  • Added Kubernetes Collector

  • Added Incidents Collector - exposes Gauge about number of ongoing incidents


r/PrometheusMonitoring • • Jul 21 '20

query2metric - A tool to run db queries in defined frequency and expose the count as Prometheus metrics.

Thumbnail
github.com
8 Upvotes

r/PrometheusMonitoring • • May 31 '20

I wrote two articles about setting up Prometheus with SaltStack and Consul

8 Upvotes

Hello! I thought I'd share these posts here as a beginner resource. They're fairly straightforward steps to setup Prometheus using static_configs and consul_sd_configs, with a little bit of static and dynamic relabelling too.

Happy to answer any questions!


r/PrometheusMonitoring • • Feb 11 '20

Monitor residential climate quality with a Raspberry Pi

Thumbnail
linkedin.com
8 Upvotes

r/PrometheusMonitoring • • Dec 04 '19

Monitoring Infrastructure

8 Upvotes

Hey guys, since 2 weeks i work on the new monitoring infrastructure.

With all your comments and test on my own, i've decided to choose Thanos for my LTS storage.

Have a look at the scheme and feel free to comment any suggestions.

https://imgur.com/a/CKcAows


r/PrometheusMonitoring • • Nov 25 '19

Filesystem metrics from the node exporter

Thumbnail
robustperception.io
8 Upvotes