grafana/pkg/apiserver
Leonor Oliveira ef07dfa3bb
Add latency metrics to mode2 (#88011)
* Also call storage on mode1. Add metrics

* Update comment

* Don't use compare function for now

* Remove very important space

* Improve code readability on modes 1 and 2

* Fix tests

* Return error from legacy write

* Renume useless defer

* Start adding logging for mode2

* Retrurn errors is storage read fails

* Finish adding latency metrics to mode2

* Emit kind to metrics instead

* Fix var name

* Return if legacy delete list fails

* Unify latency calls

* Fix get function
2024-05-28 16:15:53 +02:00
..
builder API Server: Include traceID in HTTP request logs (#88179) 2024-05-22 17:56:34 +02:00
endpoints API Server: Include traceID in HTTP request logs (#88179) 2024-05-22 17:56:34 +02:00
registry/generic K8s: Add apimachinery and apiserver packages (#83190) 2024-02-23 15:15:43 -05:00
rest Add latency metrics to mode2 (#88011) 2024-05-28 16:15:53 +02:00
storage/file K8s: skip invalid items in GetList when not invoked as part of SendInitialEvents (#85050) 2024-03-25 07:50:14 -07:00
go.mod Prometheus: Update dependency to v0.52.0 (#87809) 2024-05-28 15:22:20 +02:00
go.sum Prometheus: Update dependency to v0.52.0 (#87809) 2024-05-28 15:22:20 +02:00