zitadel/internal/api/http
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 http_server_return_code_counter metric to gateway (#8173) 2024-07-04 09:37:23 +00:00
cookie.go fix: set user agent cookie on host only (without subdomains) (#7297) 2024-02-15 07:53:59 +01:00
domain_check.go refactor: rename package errors to zerrors (#7039) 2023-12-08 15:30:55 +01:00
error_test.go refactor: rename package errors to zerrors (#7039) 2023-12-08 15:30:55 +01:00
error.go refactor: rename package errors to zerrors (#7039) 2023-12-08 15:30:55 +01:00
header.go fix: use triggering origin for notification links (#6628) 2023-10-10 13:20:53 +00:00
marshal.go chore(v2): move to new org (#3499) 2022-04-26 23:01:45 +00:00
origin.go refactor(fmt): run gci on complete project (#7557) 2024-04-03 10:43:43 +00:00
parser.go refactor: rename package errors to zerrors (#7039) 2023-12-08 15:30:55 +01:00
probes.go feat: add tracing interceptors to login and oidc (#764) 2020-10-21 10:18:34 +02:00