ozhera icon indicating copy to clipboard operation
ozhera copied to clipboard

[enhancement] Utilize the capability of distributed tracing to support traffic recording

Open sadadw1 opened this issue 1 year ago • 2 comments

We currently have an idea to implement traffic recording functionality using a tracing system. Why can traffic recording be achieved using tracing?

Firstly, the technical solution for traffic recording involves logging the incoming and outgoing parameters of requests, as well as request headers, into log files within the business containers. This information is then collected by a log agent. This approach bears significant resemblance to the current architecture of tracing, and they share certain commonalities, indicating that some capabilities of tracing can be reused.

Internally within Opentelemetry, we will leverage the Nacos configuration notification mechanism. This will enable Opentelemetry to utilize Nacos configuration functionality. In the trac-etl-manager, capabilities will be provided to push configurations to Nacos.

sadadw1 avatar Nov 24 '23 01:11 sadadw1