Skip to content

Commit

Permalink
Attempt to work around weird otel metric renaming
Browse files Browse the repository at this point in the history
For some reason it adds a _total suffix to the end of the series name,
which isn't there in the original.
  • Loading branch information
grdryn committed Oct 30, 2024
1 parent b2030c1 commit 9076126
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
4 changes: 2 additions & 2 deletions acm/odh-core/acm-observability/files/uwl_metrics_list.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,8 @@ names:
- ovms_request_time_us_bucket
- ovms_request_time_us_count
- ovms_request_time_us_sum
- ovms_requests_fail
- ovms_requests_success
- ovms_requests_fail_total
- ovms_requests_success_total
- ovms_streams
- ovms_wait_for_infer_req_time_us_bucket
- ovms_wait_for_infer_req_time_us_count
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -242,15 +242,15 @@
"targets": [
{
"exemplar": true,
"expr": "sum(ovms_requests_success{cluster=~\"$cluster\"}) by(namespace)",
"expr": "sum(ovms_requests_success_total{cluster=~\"$cluster\"}) by(namespace)",
"hide": false,
"interval": "",
"legendFormat": "{{namespace}} success",
"refId": "A"
},
{
"exemplar": true,
"expr": "sum(ovms_requests_fail{cluster=~\"$cluster\"}) by(namespace)",
"expr": "sum(ovms_requests_fail_total{cluster=~\"$cluster\"}) by(namespace)",
"hide": false,
"interval": "",
"legendFormat": "{{namespace}} fail",
Expand Down
4 changes: 2 additions & 2 deletions acm/odh-edge/base/files/uwl_metrics_list.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,8 @@ names:
- ovms_request_time_us_bucket
- ovms_request_time_us_count
- ovms_request_time_us_sum
- ovms_requests_fail
- ovms_requests_success
- ovms_requests_fail_total
- ovms_requests_success_total
- ovms_streams
- ovms_wait_for_infer_req_time_us_bucket
- ovms_wait_for_infer_req_time_us_count
Expand Down

0 comments on commit 9076126

Please sign in to comment.