kyma-project / kyma-environment-broker

Kyma Environment Broker
Apache License 2.0
0 stars 22 forks source link

SB: Metrics #1359

Open ralikio opened 1 month ago

ralikio commented 1 month ago

Consider and create metrics for usage etc. for Kyma Service Bindings.

AC

Metrics:

  1. Time of Bind request processing: dedicated histogram
  2. Time of Unbind request processing: dedicated histogram
  3. Errors -> number of 5xx responses: use istio metrics
  4. Maximum time to wait for expiration deletion. If the value is big then we see that something is wrong with the Job. x3 time of job schedule -> alert
  5. Number of created binding in given time (for example per day)
piotrmiskiewicz commented 3 weeks ago

sum(increase(istio_requests_total{request_url_path=~"/oauth/./service_bindings/.", request_method="PUT", source_workload="istio-ingressgateway", destination_workload="kcp-kyma-environment-broker"}[24h]))