Forecast of traffic an CPU usage with prometheus?

25 views
Skip to first unread message

Alexey Stambulzhan

unread,
Sep 7, 2020, 9:34:15 AM9/7/20
to Prometheus Users

Hi guys,

is it possible to forecast traffic an CPU usage with prometheus data?

Brian Candler

unread,
Sep 7, 2020, 10:55:34 AM9/7/20
to Prometheus Users
There are a couple of very basic built-in helper functions:
https://prometheus.io/docs/prometheus/latest/querying/functions/#predict_linear

predict_linear can be useful, for example, in giving advance warning of when a filesystem might become full based on its recent rate of growth.

For investigating long-term or seasonal trends, you'll probably want to read out the raw data via the API and pass it to a statistical tool of your choice.
Reply all
Reply to author
Forward
0 new messages