sysulq / nginx-vts-exporter

Simple server that scrapes Nginx vts stats and exports them via HTTP for Prometheus consumption
https://sysulq.github.io/nginx-vts-exporter/
MIT License
645 stars 142 forks source link

Payload metrics for each request #71

Open bsushant-athena opened 6 years ago

bsushant-athena commented 6 years ago

Hi,

Is it possible to get the metrics for payload size of each request hitting the nginx server using nginx-vts-exporter?

Thanks, Sushant

sysulq commented 6 years ago

maybe inBytes is the thing you want?

bsushant-athena commented 6 years ago

you mean nginx_upstream_bytes this metric? or is their something else ?

sysulq commented 6 years ago

yep, and the nginx_server_bytes

bsushant-athena commented 6 years ago

but it does not give payload size for each request? it gives total requests in and out !