neondatabase / autoscaling

Postgres vertical autoscaling in k8s
Apache License 2.0
163 stars 21 forks source link

Bug: autoscaler-agent's vm-monitor inbound messages metric isn't working #807

Closed sharnoff closed 8 months ago

sharnoff commented 8 months ago

Environment

staging, prod. Presumably also local dev

Steps to reproduce

Gradually use up memory, e.g. with pgvector 0.5.1 index building, causing the vm-monitor to request upscaling.

Expected result

the metric autoscaling_agent_monitor_inbound_requests_total should be non-zero because of this

Actual result

the metric doesn't change

Other logs, links

Omrigan commented 8 months ago

@sharnoff should we create a follow-up issue to investigate if it is possible to set up a linter for this case?

sharnoff commented 8 months ago

Good idea - opened #842.