Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!


Shells Virtual Desktop
BMail.ag - Secure Email Service
Server.net
CPLicense.net
VPS Server
Buy VPN
Vultr
VMs for AI
HostDare
ReliableSite White-Label Dedicated Hosting for Resellers
InterServer VPS
BMail.ag - Secure Email Service
Best VPN
High-Performance Bare Metal Server Solutions
Karvl.com
Server Mania Cloud Hosting
DataWagon Hosting
AlphaVPS Hosting
Evoxt.com
Clouvider
VPS Hosting with NVMe
Residential IPs in the US & 4G Mobile Proxies in EU & US with Unlimited Bandwidth
ReliableSite White-Label Dedicated Hosting for Resellers
Rabisu - Hosting Solutions
Shells Virtual Desktop

In this Discussion

New on LowEndTalk? Please Register and read our Community Rules.

All new Registrations are manually reviewed and approved, so a short delay after registration may occur before your account becomes active.

Any tips to speed up some Prometheus queries?

Wonder if there are any Prometheus/Thanos/Grafana gurus here for some advice.

Our current set up is two Prometheus instances with two shards each, fronted by Thanos configured to use Wasabi for long term storage.

Grafana uses Thanos for querying by default and all works beautifully.

However some queries concerning web traffic still take a long time (like several minutes), even with downsampling enabled (by just using the $__interval builtin interval variable).

For example with an estimated 164 million requests in 30 days, when I make a query to rate the requests per second for error related status codes, it can still take 8 minutes even with downsampling and only 200 data points.

Thanos query instances have 8 CPUs and 32 GB of ram each, while each Prometheus instance has 8 CPUs and 32GB.

What am I doing wrong?

Comments

  • tentortentor Member, Host Rep

    I am not Prometheus expert but from what I've seen, on heavy query, only one CPU thread is used by Prometheus.

Sign In or Register to comment.