You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@trafficserver.apache.org by "Leif Hedstrom (JIRA)" <ji...@apache.org> on 2016/11/03 21:23:58 UTC

[jira] [Commented] (TS-5030) Proposal: Add API to get the client request UUID directly from a TSHttpTx

    [ https://issues.apache.org/jira/browse/TS-5030?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15634339#comment-15634339 ] 

Leif Hedstrom commented on TS-5030:
-----------------------------------

I posted on the PR, but are we sure this is really useful? All it does is a string concatenation of the two existing APIs.

> Proposal: Add API to get the client request UUID directly from a TSHttpTx
> -------------------------------------------------------------------------
>
>                 Key: TS-5030
>                 URL: https://issues.apache.org/jira/browse/TS-5030
>             Project: Traffic Server
>          Issue Type: Improvement
>          Components: TS API
>            Reporter: David Calavera
>          Time Spent: 0.5h
>  Remaining Estimate: 0h
>
> The new UUID api introduced in https://github.com/apache/trafficserver/pull/736 is great for tracing operations and requests. However, the most useful information for plugin developers, the unique client request id, is not exposed as an api endpoint. People need to understand very well how TrafficServer works internally to generate this value. By not having the API directly exposed, people need to repeat the same code every time they want to generate this unique identifier.
> I'd like to add an API enpoint to generate this identifier based in a given http transaction for plugins to use.
> This would be the signature:
> tsapi const char * TSClientRequestUuidGet(TSHttpTxn txnp);



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)