zitadel/internal/api/grpc/server
Elio Bischof 7573e0ea8f
feat: add http_server_return_code_counter metric to gateway (#8173)
# Which Problems Are Solved

The metric `http_server_return_code_counter` doesn't record calls to the
gRPC gateway.

# How the Problems Are Solved

The DefaultMetricsHandler that is used for the gPRC gateway doesn't
record `http_server_return_code_counter`.
Instead of the DefaultMetricsHandler, a custom metrics handler which
includes `http_server_return_code_counter` is created for the gRPC
gateway

# Additional Changes

The DefaultMetricsHandler function is removed, as it is no longer used.

# Additional Context

Reported by a customer

---------

Co-authored-by: Silvan <silvan.reusser@gmail.com>
2024-07-04 09:37:23 +00:00
..
middleware feat: add action v2 execution on requests and responses (#7637) 2024-05-04 11:55:57 +02:00
gateway.go feat: add http_server_return_code_counter metric to gateway (#8173) 2024-07-04 09:37:23 +00:00
probes_test.go refactor: rename package errors to zerrors (#7039) 2023-12-08 15:30:55 +01:00
probes.go refactor: rename package errors to zerrors (#7039) 2023-12-08 15:30:55 +01:00
server.go feat: add action v2 execution on requests and responses (#7637) 2024-05-04 11:55:57 +02:00