dcelasun commented on pull request #1992: URL: https://github.com/apache/thrift/pull/1992#issuecomment-705811926
> How do you collect traces/metrics in real project? Where your jaeger span starts and how you take "serviceName:methodName" to collect metrics? With middlewares, the handler name is [available](https://github.com/apache/thrift/blob/daf620915714b76fce517b376b963440d1f34089/lib/go/thrift/middleware.go#L29). See the [original commit](https://github.com/apache/thrift/commit/00c039adeb551b297276fcb88131f1cfe82be1cd) for examples. > How do you collect traces/metrics in real project? Where your jaeger span starts and how you take "serviceName:methodName" to collect metrics? Either with middlewares (the new way), or by a 2-line statement inside the handler (the old way). ---------------------------------------------------------------- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: [email protected]
