-
Notifications
You must be signed in to change notification settings - Fork 376
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Varnishtop 6 does not report RespUnset tags #3527
Comments
first look: varnish-cache/include/tbl/vsl_tags_http.h Line 86 in e89cd5f
So SLT_F_UNUSED gets added here varnish-cache/include/tbl/vsl_tags.h Line 220 in e89cd5f
which is skipped in varnishtop here varnish-cache/bin/varnishtop/varnishtop.c Line 134 in e89cd5f
|
Or should |
This is largely above my head, to be fair, but : e.g :
varnishncsa -f "%{X-My-Header}o" --> "not-actually-sent" ? (sorry if this is something else entirely...) |
@yched my remarks are for coordination with fellow developers. |
Sure, I know you didn't expect me to answer that 😁 |
after input from @mbgrydeland on IRC this one should be easy to fix:
|
I'm not sure I understand the question. As I unserstand it, the only defined effect of SLT_F_UNUSED is to skip it when creating the RST doc output in vsl2rst. The matrix of SLT_F_{Req,Resp,Obj,Bereq,Beresp}{Method,URL,Status,...} becomes quite large, and would bloat the vsl2rst output with a lot of duplicate and non-useful information. So this trick with the flag was introduced to limit that output.
I think that is a correct analysis. Assuming that any tag flag is the same and any set should skip it is wrong. |
Expected Behavior
varnishtop should show RespUnset tags, just like any other VSL tag
that's the case in 5.2
for instance, when http_gzip_support=on and serving zipped beresp to clients with no Accept-Encoding:gzip,
varnishtop 5.2 does show
Current Behavior
varnishtop 6 (tested with 6.0.7) does not show any RespUnset tag
in the "serving zipped beresp to no-gzip reqs" case mentioned above,
varnishtop 6.0.7 only shows
without the corresponding RespUnset (which is indeed listed by varnishlog when looking at individual request logs)
The text was updated successfully, but these errors were encountered: