You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@skywalking.apache.org by benchu yao <ya...@gmail.com> on 2020/06/02 07:50:13 UTC
How to monitor skywalking with skywalking
I tried to start the agent to track when running oapService.sh, but it did
not succeed
This is the part of the script I modified
SKYWALKING_EXE="
-javaagent:/root/software/apache-skywalking-apm-bin/agent/skywalking-agent.jar
-Dskywalking.agent.service_name=102-skywalking-collector
-Dskywalking.collector.backend_service=10.0.99.102:11800 "
eval exec "\"$_RUNJAVA\" ${JAVA_OPTS} ${OAP_OPTIONS} -classpath $CLASSPATH
org.apache.skywalking.oap.server.starter.OAPServerStartUp ${SKYWALKING_EXE}
\
2>${OAP_LOG_DIR}/oap.log 1> /dev/null &"
Where is wrong
Re: How to monitor skywalking with skywalking
Posted by benchu yao <ya...@gmail.com>.
I modified the configuration file according to the instructions, and also
came out the SkyWalking service, but there is no data.
I changed:
receiver-so11y:
selector: ${SW_RECEIVER_SO11Y:-}
default:
to
receiver-so11y:
selector: ${SW_RECEIVER_SO11Y:default}
default:
In addition, I added according to the documentation:
telemetry:
selector: ${SW_TELEMETRY:so11y}
Generate error message:no provider found for module telemetry, if you're
sure it's not required module and want to remove it, set the selector to -
How do i fix it?
Thanks,
Yao benchu
Sheng Wu <wu...@gmail.com> 于2020年6月2日周二 下午3:54写道:
> We don’t do that, and don’t recommend to do so.
>
> Read the documentation about the `telemetry for backend`. That is the way
> we recommend.
>
> benchu yao <ya...@gmail.com>于2020年6月2日 周二下午3:50写道:
>
> > I tried to start the agent to track when running oapService.sh, but it
> did
> > not succeed
> >
> > This is the part of the script I modified
> >
> > SKYWALKING_EXE="
> >
> >
> -javaagent:/root/software/apache-skywalking-apm-bin/agent/skywalking-agent.jar
> > -Dskywalking.agent.service_name=102-skywalking-collector
> > -Dskywalking.collector.backend_service=10.0.99.102:11800 "
> >
> > eval exec "\"$_RUNJAVA\" ${JAVA_OPTS} ${OAP_OPTIONS} -classpath
> $CLASSPATH
> > org.apache.skywalking.oap.server.starter.OAPServerStartUp
> ${SKYWALKING_EXE}
> > \
> > 2>${OAP_LOG_DIR}/oap.log 1> /dev/null &"
> >
> >
> > Where is wrong
> >
> --
> Sheng Wu 吴晟
>
> Apache SkyWalking
> Apache Incubator
> Apache ShardingSphere, ECharts, DolphinScheduler podlings
> Zipkin
> Twitter, wusheng1108
>
Re: How to monitor skywalking with skywalking
Posted by Sheng Wu <wu...@gmail.com>.
We don’t do that, and don’t recommend to do so.
Read the documentation about the `telemetry for backend`. That is the way
we recommend.
benchu yao <ya...@gmail.com>于2020年6月2日 周二下午3:50写道:
> I tried to start the agent to track when running oapService.sh, but it did
> not succeed
>
> This is the part of the script I modified
>
> SKYWALKING_EXE="
>
> -javaagent:/root/software/apache-skywalking-apm-bin/agent/skywalking-agent.jar
> -Dskywalking.agent.service_name=102-skywalking-collector
> -Dskywalking.collector.backend_service=10.0.99.102:11800 "
>
> eval exec "\"$_RUNJAVA\" ${JAVA_OPTS} ${OAP_OPTIONS} -classpath $CLASSPATH
> org.apache.skywalking.oap.server.starter.OAPServerStartUp ${SKYWALKING_EXE}
> \
> 2>${OAP_LOG_DIR}/oap.log 1> /dev/null &"
>
>
> Where is wrong
>
--
Sheng Wu 吴晟
Apache SkyWalking
Apache Incubator
Apache ShardingSphere, ECharts, DolphinScheduler podlings
Zipkin
Twitter, wusheng1108