This repository has been archived on 2024-05-31. You can view files and clone it, but cannot push or open issues or pull requests.
authentik/internal/outpost/proxyv2/application
Alexandre NICOLAIE a2714ab1f1
outposts: make metrics compliant with Prometheus best-practices (#6398)
web/outpost: make metrics compliant with Prometheus best-practices

Today, all NewHistogramVec store values in nanoseconds without changing
the default histogram bucket, which are made for seconds, making them
a bit useless. In addition, some metrics names are not self-explanatoryand
and do not comply with Prometheus best practices.

This commit tries to fix all of this "issues".

NOTE: I kept old metrics in order to avoid breaking changes with
existing dashboards and metrics.

Signed-off-by: Alexandre NICOLAIE <xunleii@users.noreply.github.com>
2023-07-27 18:51:08 +02:00
..
application.go outposts: make metrics compliant with Prometheus best-practices (#6398) 2023-07-27 18:51:08 +02:00
auth.go providers/proxy: different cookie name based on hashed client id (#4666) 2023-02-12 16:34:57 +01:00
auth_basic.go providers/proxy: fix client credential flows not using http interceptor 2023-02-15 00:22:56 +01:00
auth_bearer.go providers/proxy: fix client credential flows not using http interceptor 2023-02-15 00:22:56 +01:00
claims.go providers/proxy: add is_superuser to ak_proxy object, only show full error when superuser 2022-07-30 20:29:23 +02:00
endpoint.go providers/proxy: rework endpoints logic (#4993) 2023-03-18 18:51:20 +01:00
endpoint_test.go root: bump api generator (#5139) 2023-04-01 18:10:52 +02:00
error.go providers/proxy: different cookie name based on hashed client id (#4666) 2023-02-12 16:34:57 +01:00
mode_common.go outposts/proxy: fix error handling, remove requirement for profile/etc scopes 2023-01-14 21:44:28 +01:00
mode_common_test.go root: bump api generator (#5139) 2023-04-01 18:10:52 +02:00
mode_forward.go providers/proxy: different cookie name based on hashed client id (#4666) 2023-02-12 16:34:57 +01:00
mode_forward_caddy_test.go root: bump api generator (#5139) 2023-04-01 18:10:52 +02:00
mode_forward_envoy_test.go root: bump api generator (#5139) 2023-04-01 18:10:52 +02:00
mode_forward_nginx_test.go root: bump api generator (#5139) 2023-04-01 18:10:52 +02:00
mode_forward_traefik_test.go root: bump api generator (#5139) 2023-04-01 18:10:52 +02:00
mode_proxy.go outposts: make metrics compliant with Prometheus best-practices (#6398) 2023-07-27 18:51:08 +02:00
mode_proxy_test.go providers/proxy: different cookie name based on hashed client id (#4666) 2023-02-12 16:34:57 +01:00
oauth.go providers/proxy: strip scheme when comparing redirect URL 2023-02-20 21:22:26 +01:00
oauth_callback.go providers/proxy: send token request internally, with overwritten host header (#4675) 2023-02-13 16:34:47 +01:00
oauth_test.go root: bump api generator (#5139) 2023-04-01 18:10:52 +02:00
session.go providers/proxy: fix panic when claims in session were nil (#5569) 2023-05-10 20:58:44 +02:00
session_test.go providers/proxy: different cookie name based on hashed client id (#4666) 2023-02-12 16:34:57 +01:00
test.go root: bump api generator (#5139) 2023-04-01 18:10:52 +02:00
utils.go providers/proxy: different cookie name based on hashed client id (#4666) 2023-02-12 16:34:57 +01:00
utils_test.go root: bump api generator (#5139) 2023-04-01 18:10:52 +02:00