Is it possible to analyze which endpoints is called that gets 405 Method not allowed from router layer

19 views
Skip to first unread message

Patrick Karlsson

unread,
Jan 16, 2025, 2:52:02 AMJan 16
to KrakenD Community
Hi!

I want to follow up which requests receives 405 method not allowed from the router layer but I cant see it in either OTEL or debug logging. 
Is there someway i can configure verbosity in router layer or something?

Best regards

Jorge Tarrero

unread,
Jan 16, 2025, 4:11:00 AMJan 16
to KrakenD Community, Patrick Karlsson
Hi Patrick,

If I understood correctly, you want to find out which Krakend endpoints are returning a 405. The access log informs about the endpoint path that is being called:

[GIN] 2025/01/16 - 10:05:39 | 405 |       2.427µs |             ::1 | GET      "/post-endpoint"

This is the default behavior, so I'm missing something here. What are you expecting to see in the logs in order to properly followup the requests?

Patrick Karlsson

unread,
Jan 16, 2025, 4:26:30 AMJan 16
to KrakenD Community, Jorge Tarrero, Patrick Karlsson
I would like to have it as a metric if I could choose because I cant have access log currently
Reply all
Reply to author
Forward
0 new messages