Treating Nginx as an Application and Extracting OPS

TLDR Dennis asks how to treat nginx as an application and get OPS. Ankit suggests parsing logs in otel-collector and creating a dashboard from log data.

Photo of Dennis
Tue, 18 Apr 2023 08:25:26 UTC

Hey guys! Is it somehow possible to treat Nginx (logs or somehow otherwise) as an Application, and get OPS from request logs and latency from $request_time ?

Photo of Ankit
Tue, 18 Apr 2023 14:48:21 UTC

you can parse NGINX logs in otel-collector. Once you see these fields in `selected fields` in logs explorer page. You can create a dashboard from logs data to get RPS, latencies, error, etc