pomerium/authenticate
Caleb Doxsey 13554ec78d
core: more metrics (#5629)
## Summary
Add some more metrics:

- Authenticate token verification
- Authorization log duration
- Authorization evaluator and header evaluator
- IDP token session creator

HTTP and gRPC endpoints are already instrumented via middleware, which
covers authenticate, proxy and databroker endpoints. Postgres is also
already instrumented using `otelpgx`.

## Related issues
-
[ENG-2407](https://linear.app/pomerium/issue/ENG-2407/add-additional-metrics-and-tracing-spans-to-pomerium)


## Checklist

- [x] reference any related issues
- [ ] updated unit tests
- [ ] add appropriate label (`enhancement`, `bug`, `breaking`,
`dependencies`, `ci`)
- [x] ready for review
2025-05-29 09:34:41 -06:00
..
events move events.go out of internal/authenticateflow (#4852) 2023-12-11 19:42:56 -08:00
authenticate.go core: more metrics (#5629) 2025-05-29 09:34:41 -06:00
authenticate_test.go upgrade to go v1.24 (#5562) 2025-04-02 15:53:09 -06:00
config.go upgrade to go v1.24 (#5562) 2025-04-02 15:53:09 -06:00
handlers.go logging: standardize on hyphens in attribute names (#5577) 2025-04-22 10:57:19 -07:00
handlers_test.go upgrade to go v1.24 (#5562) 2025-04-02 15:53:09 -06:00
handlers_verify.go core: more metrics (#5629) 2025-05-29 09:34:41 -06:00
handlers_verify_test.go authorize: support authenticating with idp tokens (#5484) 2025-02-18 13:02:06 -07:00
identity.go authorize: support authenticating with idp tokens (#5484) 2025-02-18 13:02:06 -07:00
middleware.go authenticate: remove /.pomerium/callback handler (#5553) 2025-03-28 13:04:25 -06:00
state.go New tracing system (#5388) 2025-01-21 13:26:32 -05:00