Skip to content

Commit

Permalink
fix: update metric name
Browse files Browse the repository at this point in the history
  • Loading branch information
henrywhitaker3 committed Mar 5, 2024
1 parent 11a9b90 commit 8afc688
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,8 @@ data:
- name: ui
interval: 1m
rules:
- record: srep_ui_requests_total
- record: srep_ui:requests:count1m
expr: |
sum(
rate({app="srep-ui-chart"} |= `` | pattern `<_> - - <_> "<method> <url> <_>" <status> <size> <_> "<agent>" "<ip>"` [1m])
count_over_time({app="srep-ui-chart"} |= `` | pattern `<_> - - <_> "<method> <url> <_>" <status> <size> <_> "<agent>" "<ip>"` [1m])
) by(job, status, url, method, container, pod, instance)

0 comments on commit 8afc688

Please sign in to comment.