Skip to content

Commit

Permalink
Add prometheus rule osparc_container_instances_s4lcore - fix
Browse files Browse the repository at this point in the history
  • Loading branch information
kaiser committed Nov 21, 2023
1 parent 3d37dca commit e7e47a5
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions services/monitoring/prometheus/prometheus.rules.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,12 +25,12 @@ groups:
- name: osparc_container_instances_s4lcore
interval: 60s
rules:
- record: osparc_cpu_usage_per_node_percentage
- record: osparc_container_instances_s4lcore
expr: count(container_memory_usage_bytes{image=~"^.*[.osparc.io].*/simcore/services/dynamic/s4l-core.*$",container_label_simcore_user_agent!="puppeteer"}) OR clamp_max(absent(container_memory_usage_bytes{image=~"^.*[.osparc.io].*/simcore/services/dynamic/s4l-core.*$",container_label_simcore_user_agent!="puppeteer"}),0)
- name: osparc_container_instances_s4lcore
- name: osparc_container_instances_s4lcorelite
interval: 60s
rules:
- record: osparc_cpu_usage_per_node_percentage
- record: osparc_container_instances_s4lcorelite
expr: count(container_memory_usage_bytes{image=~"^.*[.osparc.io].*/simcore/services/dynamic/s4l-core-lite.*$",container_label_simcore_user_agent!="puppeteer"}) OR clamp_max(absent(container_memory_usage_bytes{image=~"^.*[.osparc.io].*/simcore/services/dynamic/s4l-core-lite.*$",container_label_simcore_user_agent!="puppeteer"}),0)
- name: osparc_autoscaling_machines_active
interval: 60s
Expand Down

0 comments on commit e7e47a5

Please sign in to comment.