You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Sep 5, 2023. It is now read-only.
One monitoring solutions that has gotten a lot of attention in the container ecosystem is Prometheus. It defines formats for pull based metric gathering that spate can also use for autoscaling.
Design
Prometheus metric have the metric type prometheus. To function correctly additional labels have to be specified. In particular spate needs to know the HTTP url exposing the metrics, the name of the metric, and the kind (see #6) as well as the target value (see #10). localhost in urls refers to individual replicas. This is especially necessary for replica metrics, as there each replica needs to be queried individually. If localhost is not used as the host part and the metric is a replica metric, a warning should be logged. If localhost is used and the metric is a system metric any replica is used for querying. If HTTPS is used the full certificate validation must succeed. There is no option for turning this off. The name must be a valid Prometheus metric name. If more than one Prometheus metric with the exact same url and name is declared, autoscaling is deactivated and an error is logged.
Description
One monitoring solutions that has gotten a lot of attention in the container ecosystem is Prometheus. It defines formats for pull based metric gathering that
spate
can also use for autoscaling.Design
Prometheus metric have the metric type
prometheus
. To function correctly additional labels have to be specified. In particularspate
needs to know the HTTPurl
exposing the metrics, thename
of the metric, and thekind
(see #6) as well as thetarget
value (see #10).localhost
inurl
s refers to individual replicas. This is especially necessary forreplica metric
s, as there each replica needs to be queried individually. Iflocalhost
is not used as thehost
part and the metric is areplica metric
, a warning should be logged. Iflocalhost
is used and the metric is asystem metric
any replica is used for querying. If HTTPS is used the full certificate validation must succeed. There is no option for turning this off. Thename
must be a valid Prometheus metric name. If more than one Prometheus metric with the exact sameurl
andname
is declared, autoscaling is deactivated and an error is logged.The text was updated successfully, but these errors were encountered: