opencensus-java icon indicating copy to clipboard operation
opencensus-java copied to clipboard

provide a method to extract response length for http servlet.

Open rghetia opened this issue 7 years ago • 4 comments

In certain cases Content-Length header is not set in the response. In those case message size will not be recorded on the server side using opencensus-contrib-http-servlet. However some of the frame work provide another way to get the data. For example, jetty server has Response.getContentCount() method that returns the size of the response. Provide a method to retrieve content length based on the framework being used.

What version of OpenCensus are you using?

0.19.0

rghetia avatar Jan 24 '19 21:01 rghetia

Is this fixed? Should this be part of the next release?

songy23 avatar Mar 13 '19 23:03 songy23

this is not fixed.

rghetia avatar Mar 13 '19 23:03 rghetia

I think this is fixed? @rghetia

songy23 avatar Jun 12 '19 17:06 songy23

I think this is fixed? @rghetia

no, it is not fixed.

rghetia avatar Jun 12 '19 18:06 rghetia