morning
Good morning
I'm in the market for something that can take my traefik logs, and can show me a graph over time of number of requests, request duration (e.g. 95th percentile), and number of 2XX/4XX/5XX responses as a stacked graph. Doesn't need auth. Doesn't need to auto-refresh. Doesn't need anything else... anyone have a recommendation?
Is t this almost what @tonsky talked about at DCD?
no, this is not that, I'm already using that 🙂 but that only shows me the traffic that hits the app, I want to also see the traffic that doesn't hit the app (because the app throws 500, or because traffic responds with 429 too many requests)
Right. So basically @tonsky's thing with a breakdown of status codes?
maybe, but sitting outside the app
needs to work off server logs, not requests
Don't remember the details, but would've thunk one could wrap the app-handler in a try catch and count and dethrone the exception? But I'm on a phone, on vacation, and probs just talking stupid.
there's a bunch of traffic that doesn't hit the app. maybe the app is down
or the proxy (traefik) blocks it (scraper detection, rate limits)
Right. You got something in front.
so far doing alright with jq .DownstreamStatus | sort | unic -c :D
I was going to suggest awk or something, no need for something much more complicated 🙃
At one point, I was diagnosing memory usage for cljdoc. I found https://github.com/nextjournal/clerk and https://github.com/scicloj/clay were pretty nice for ad hoc explorations. I loaded the data in a REPL session and poked around with graphs. But maybe you are looking for a report/graph you just call up?
Not sure if it fits your use case, but there is also goacess. Described https://www.fuzzygrim.com/posts/goaccess-traefik.
mogge
Good [ growth | tumescent | blue origin ] morning
Morning