TGViewer
rtfm.co.ua | English rtfm.co.ua | English @rtfmcoua_en · 21 subscribers
Post #17 22
VictoriaMetrics: using vmalert and query() in alerts for different $value values

Just a quick note, because I’ve needed to do something like this fairly often – and only today discovered how elegantly it’s done with vmalert. So, sometimes in an alert you want to display multiple $value entries, for example: - alert: OpenAI Budget Usage expr: | openai_budget_used_usd / openai_budget_total_usd * 100 > 80 ... annotations:…

https://rtfm.co.ua/en/victoriametrics-using-vmalert-and-query-in-alerts-for-different-value-values/

#monitoring #VictoriaMetrics #vmalert
RTFM: Linux, DevOps, and system administration | DevOps-engineering, and system administration. Cases from practice. VictoriaMetrics: using vmalert and query() in alerts for different $value values VictoriaMetrics and vmalert - using the `query()` function in alert annotations to display several different metrics instead of a single `$value` from `expr`.
More from @rtfmcoua_en
  1. Oct 7, 2026LiteLLM: PostgreSQL Failed Requests, AWS RDS, and “Manual Debugging” This one turned out t…
  2. Sep 30, 2026AI: LLMs, Agents, Work, and Us – Engineers. Personal Thoughts. A very random text. Wasn’t…
  3. Sep 24, 2026AI: LLM Spend Control with LiteLLM Budgets and OpenAI Limits The main goal we had when int…
  4. Sep 16, 2026LiteLLM: Debugging AI Cost Monitoring with VictoriaMetrics Had a pretty interesting case w…
  5. Sep 11, 2026LiteLLM: Custom Callbacks and LLM Evaluations with Judge LLM A quick recap of what we are…
  6. Sep 9, 2026LiteLLM: Custom Callback for Traffic Mirroring and OTel Tracing to VictoriaTraces We’re cu…
Threads Profile ViewerView any public Threads profile without an account.Open ThreadLook →Writing with AI? Make it sound human.Metric37 rewrites AI drafts so they read naturally. Free AI detector, 1,500 words free.Try Metric37 →