Commit 60b8db76 authored by Ahmad Sherif's avatar Ahmad Sherif

Add Stackdriver log entry rate to service ops rate

Related to gitlab-com/gl-infra/infrastructure#5580
parent 137b5159
......@@ -165,6 +165,15 @@ groups:
expr: >
sum(rate(prometheus_http_request_duration_seconds_count[1m])) by (environment)
# Stackdriver
- record: gitlab_component_ops:rate
labels:
tier: inf
stage: main
component: 'stackdriver'
expr: >
sum(zone:stackdriver_log_entry:rate1m) by (project_id, log)
# ci-runners
- record: gitlab_component_ops:rate
labels:
......
......@@ -35,3 +35,8 @@ groups:
sum without (instance_id) (
stackdriver_gce_instance_logging_googleapis_com_user_unstructured_500_deadline_exceeded
) / 60
- record: zone:stackdriver_log_entry:rate1m
expr: >
sum without (instance_id) (
stackdriver_gce_instance_logging_googleapis_com_log_entry_count
) / 60
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment