Add Response metric to Runtime SDK hook client #7952
Labels
area/clusterclass
Issues or PRs related to clusterclass
kind/feature
Categorizes issue or PR as related to a new feature.
needs-triage
Indicates an issue or PR lacks a `triage/foo` label and requires one.
User Story
As a user/operator I would like to have an additional response metric for Runtime SDK extensions to be able to trigger alerts in case of
ResponseStatusFailure
response.Detailed Description
CAPI added metrics for Runtime SDK in Add metrics to Runtime SDK hook client. But the existing metric
capi_runtime_sdk_requests_total
covers only HTTP status of the request. So if the request completes, but returns aResponseStatusFailure
response it is impossible to monitor\trigger the alert./kind feature
The text was updated successfully, but these errors were encountered: