apache / skywalking

APM, Application Performance Monitoring System
https://skywalking.apache.org/
Apache License 2.0
23.72k stars 6.5k forks source link

[Bug] config -Dskywalking.plugin.elasticsearch.trace_dsl=true doesn't work #11090

Closed guaguaguaxia closed 1 year ago

guaguaguaxia commented 1 year ago

Search before asking

Apache SkyWalking Component

Java Agent (apache/skywalking-java)

What happened

helm upgrade --install "${project_name}" \ --set name="${project_name}" \ --set deployname="${project_name}" \ --set replicaCount=${replicaCount} \ --set version="${app_version}" \ --set resources.limits.memory="${limits_memory}" \ --set resources.requests.memory="${requests_memory}" \ --set pdb.enabled="true" \ --set image.repository="registry-vpc.cn-hongkong.aliyuncs.com/zhidayilian-o2o/${project_name}" \ --set image.tag="${DATETIME}" \ --set env.oap_opts="-javaagent:/skywalking-agent/skywalking-agent.jar -Dskywalking.agent.service_name=release::${project_name} -Dskywalking.collector.backend_service=skywalking-oap.oap.svc:11800 -Dskywalking.plugin.jdbc.trace_sql_parameters=true -Dskywalking.plugin.elasticsearch.trace_dsl=true" \ lalachart/demo-release -n release

this is my helm command,i config the <-Dskywalking.plugin.elasticsearch.trace_dsl=true> but it doesn't work, i can't find the DSL in skywalking UI,but -Dskywalking.plugin.jdbc.trace_sql_parameters=true it's work

image in this picture there is no dsl

image but i can see the mysql statement

could you tell me how can i troubleshoot this problem

What you expected to happen

to see the dsl

How to reproduce

i have no idea

Anything else

No response

Are you willing to submit PR?

Code of Conduct

wu-sheng commented 1 year ago

Please determine this is failed in regular Java agent or helm. The scope should be clear.