Welcome! Log In Create A New Profile

Advanced

Any way to get timestamps for upstream-downstream events?

June 07, 2019 03:56PM
Hello everyone,

I work on a module that provides distributed tracing for NGINX
(https://github.com/opentracing-contrib/nginx-opentracing). If
possible, I would like to include in the tracing data timestamps for
the following events:

* When the last byte from a downstream request was read
* When the first byte of an upstream request was sent
* When the last byte of an upstream request was sent
* When the first byte of an upstream response was read
* When the last byte of an upstream response was read
* When the first byte of a downstream response was sent
* When the last byte of a downstream response was sent

I recently added similar data to Envoy's tracing
(https://github.com/envoyproxy/envoy/pull/5915), but I'm having
trouble finding out how to access this data from an NGINX module.
Anyone know if it's possible?

Thanks,
Ryan
_______________________________________________
nginx-devel mailing list
nginx-devel@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx-devel
Subject Author Views Posted

Any way to get timestamps for upstream-downstream events?

rnburn 65 June 07, 2019 03:56PM

Re: Any way to get timestamps for upstream-downstream events?

Maxim Dounin 25 June 10, 2019 09:42AM



Sorry, you do not have permission to post/reply in this forum.

Online Users

Guests: 76
Record Number of Users: 6 on February 13, 2018
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready