* rgw: bytes sent/received excludes headers
@ 2015-02-04 1:40 Paul Von-Stamwitz
2015-02-04 16:34 ` Yehuda Sadeh-Weinraub
0 siblings, 1 reply; 2+ messages in thread
From: Paul Von-Stamwitz @ 2015-02-04 1:40 UTC (permalink / raw)
To: ceph-devel@vger.kernel.org
Hi,
It is my impression that bytes_sent and bytes_received do not include headers. We got a request from a customer who wants to include them (I know... greedy.) Is there a way to calculate the amount of header information that was transferred?
Thanks,
Paul
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: rgw: bytes sent/received excludes headers
2015-02-04 1:40 rgw: bytes sent/received excludes headers Paul Von-Stamwitz
@ 2015-02-04 16:34 ` Yehuda Sadeh-Weinraub
0 siblings, 0 replies; 2+ messages in thread
From: Yehuda Sadeh-Weinraub @ 2015-02-04 16:34 UTC (permalink / raw)
To: Paul Von-Stamwitz; +Cc: ceph-devel
>
> Hi,
>
> It is my impression that bytes_sent and bytes_received do not include
> headers. We got a request from a customer who wants to include them (I
> know... greedy.) Is there a way to calculate the amount of header
> information that was transferred?
>
There's no easy way to do it from the gateway itself. If going through fastcgi then the actual received and sent headers are modified. We could do some estimation, but it just wouldn't be accurate.
Another way to go would be to do some kind of post processing on the web server logs.
Yehuda
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2015-02-04 16:34 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-02-04 1:40 rgw: bytes sent/received excludes headers Paul Von-Stamwitz
2015-02-04 16:34 ` Yehuda Sadeh-Weinraub
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox