opentelemetry-java-instrumentation icon indicating copy to clipboard operation
opentelemetry-java-instrumentation copied to clipboard

feat: Add support for Thrift 0.9.1 and later versions

Open YaoYingLong opened this issue 1 year ago • 3 comments

Add support for Thrift 0.9.1 and later versions

https://github.com/open-telemetry/opentelemetry-java-instrumentation/issues/1573

Special Note:Although 51 files were added with a total of 16,937 lines of code, 12 of them are test-related files containing 14,960 lines of code, while the actual instrumentation adaptation code is only around 1,900 lines. Among the test-related code, approximately 9,000 lines were generated using the Thrift client based on IDL files for testing purposes. Due to the limitations of Thrift client code generation, these generated codes were pre-generated and placed in the project's test directory.

YaoYingLong avatar Apr 28 '25 11:04 YaoYingLong

In order to minimize the amount of code, do you think it would be possible to re-generate the generated code on build instead of adding it to git ? The likely challenge here would be being able to maintain those over time, in particular it would really be useful to be able to re-generate and update those every time the thrift version changes, or even generating and testing multiple versions.

SylvainJuge avatar Apr 28 '25 12:04 SylvainJuge

@YaoYingLong 兄弟你还在维护这个pull req吗

fatekingsama avatar Jun 02 '25 17:06 fatekingsama

@YaoYingLong 兄弟你还在维护这个pull req吗

在的 只是最近没有时间顾的上来修改提的修改建议

YaoYingLong avatar Jun 09 '25 07:06 YaoYingLong

Any updates?

beztebya666 avatar Feb 13 '26 15:02 beztebya666

@YaoYingLong ?

beztebya666 avatar Feb 13 '26 15:02 beztebya666