First of all, when you changed codes, you are on your own. About Java stack based peofiling, it is supported even before otel exists. We call that agent profiling, supported by Java and Python agenta.
As a result, I have no idea what you changed, and what are you saying. Zhou Jingwei 周经纬 <[email protected]>于2023年7月27日 周四22:58写道: > Hello: > > Will an extension pack mechanism like the opentelemetry java agent > be supported in the future? address > <https://opentelemetry.io/docs/instrumentation/java/automatic/extensions/#:~:text=Extensions%20add%20capabilities%20to%20the%20agent%20without%20having,or%20alter%20the%20agent%20code%20in%20any%20way.> > > > > We have a requirement to perform some operations to collect profiles after > all span is created and before span is stopped. Previously, we only need to > implement Spanprocessor using extensions mechanism in opentelemetry java > agent. Similar to grafana implementation, project address, > https://github.com/grafana/otel-profiling-java, but no similar mechanism > on skywalking, whether the future will support? > > > > So far I've done this by adding extra logic to the skywalking java agent's > createEntrySpan, createLocalSpan, createExstSpan, stopSpan methods, but > this only works for my local projects. And case by case, I still expect the > official community to support the extension mechanism. > > > > *Regards,* > > > > *Jingwei Zhou **周经纬* > > 技术中心 技术经理 > > ——————— > > *擎创科技* > > 上海市浦东新区申江路5005号星创科技广场2号楼603 > > *Tel:* +86 21 61637308 > > *Mobile:* +86 15515290355 > > *Make Data Think**!* > > [image: id:[email protected]] > > > -- Sheng Wu 吴晟 Apache SkyWalking Apache Incubator Apache ShardingSphere, ECharts, DolphinScheduler podlings Zipkin Twitter, wusheng1108
