mirror of
https://git.mirrors.martin98.com/https://github.com/SigNoz/signoz
synced 2025-10-13 20:21:27 +08:00
feat: added onboarding detail for consumer setup (#6372)
* feat: added onboarding detail for consumer setup * feat: corrected spelling * feat: reorders imports correctly
This commit is contained in:
parent
468f056530
commit
f1b6b2d3d8
@ -0,0 +1,32 @@
|
|||||||
|
|
||||||
|
|
||||||
|
Once you are done instrumenting your Java application, you can run it using the below commands
|
||||||
|
|
||||||
|
**Note:**
|
||||||
|
- Ensure you have Java and Maven installed. Compile your Java consumer applications: Ensure your consumer apps are compiled and ready to run.
|
||||||
|
|
||||||
|
**Run Consumer App with Java Agent:**
|
||||||
|
|
||||||
|
```bash
|
||||||
|
java -javaagent:/path/to/opentelemetry-javaagent.jar \
|
||||||
|
-Dotel.service.name=consumer-svc \
|
||||||
|
-Dotel.traces.exporter=otlp \
|
||||||
|
-Dotel.metrics.exporter=otlp \
|
||||||
|
-Dotel.logs.exporter=otlp \
|
||||||
|
-Dotel.instrumentation.kafka.producer-propagation.enabled=true \
|
||||||
|
-Dotel.instrumentation.kafka.experimental-span-attributes=true \
|
||||||
|
-Dotel.instrumentation.kafka.metric-reporter.enabled=true \
|
||||||
|
-jar /path/to/your/consumer.jar
|
||||||
|
```
|
||||||
|
|
||||||
|
<path> - update it to the path where you downloaded the Java JAR agent in previous step
|
||||||
|
<my-app> - Jar file of your application
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
**Note:**
|
||||||
|
- In case you're dockerising your application, make sure to dockerise it along with OpenTelemetry instrumentation done in previous step.
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
If you encounter any difficulties, please consult the [troubleshooting section](https://signoz.io/docs/instrumentation/springboot/#troubleshooting-your-installation) for assistance.
|
@ -1,9 +1,9 @@
|
|||||||
|
|
||||||
|
|
||||||
Once you are done intrumenting your Java application, you can run it using the below commands
|
Once you are done instrumenting your Java application, you can run it using the below commands
|
||||||
|
|
||||||
**Note:**
|
**Note:**
|
||||||
- Ensure you have Java and Maven installed. Compile your Java producer applications: Ensure your producer and consumer apps are compiled and ready to run.
|
- Ensure you have Java and Maven installed. Compile your Java producer applications: Ensure your producer apps are compiled and ready to run.
|
||||||
|
|
||||||
**Run Producer App with Java Agent:**
|
**Run Producer App with Java Agent:**
|
||||||
|
|
||||||
|
@ -252,6 +252,7 @@ import APM_java_springBoot_docker_recommendedSteps_runApplication from '../Modul
|
|||||||
import APM_java_springBoot_kubernetes_recommendedSteps_setupOtelCollector from '../Modules/APM/Java/md-docs/SpringBoot/Kubernetes/springBoot-kubernetes-installOtelCollector.md';
|
import APM_java_springBoot_kubernetes_recommendedSteps_setupOtelCollector from '../Modules/APM/Java/md-docs/SpringBoot/Kubernetes/springBoot-kubernetes-installOtelCollector.md';
|
||||||
import APM_java_springBoot_kubernetes_recommendedSteps_instrumentApplication from '../Modules/APM/Java/md-docs/SpringBoot/Kubernetes/springBoot-kubernetes-instrumentApplication.md';
|
import APM_java_springBoot_kubernetes_recommendedSteps_instrumentApplication from '../Modules/APM/Java/md-docs/SpringBoot/Kubernetes/springBoot-kubernetes-instrumentApplication.md';
|
||||||
import APM_java_springBoot_kubernetes_recommendedSteps_runApplication from '../Modules/APM/Java/md-docs/SpringBoot/Kubernetes/springBoot-kubernetes-runApplication.md';
|
import APM_java_springBoot_kubernetes_recommendedSteps_runApplication from '../Modules/APM/Java/md-docs/SpringBoot/Kubernetes/springBoot-kubernetes-runApplication.md';
|
||||||
|
import APM_java_springBoot_kubernetes_recommendedSteps_runApplication_consumers from '../Modules/APM/Java/md-docs/SpringBoot/Kubernetes/springBoot-kubernetes-runApplication-consumers.md';
|
||||||
import APM_java_springBoot_kubernetes_recommendedSteps_runApplication_producers from '../Modules/APM/Java/md-docs/SpringBoot/Kubernetes/springBoot-kubernetes-runApplication-producers.md';
|
import APM_java_springBoot_kubernetes_recommendedSteps_runApplication_producers from '../Modules/APM/Java/md-docs/SpringBoot/Kubernetes/springBoot-kubernetes-runApplication-producers.md';
|
||||||
// SpringBoot-LinuxAMD64-quickstart
|
// SpringBoot-LinuxAMD64-quickstart
|
||||||
import APM_java_springBoot_linuxAMD64_quickStart_instrumentApplication from '../Modules/APM/Java/md-docs/SpringBoot/LinuxAMD64/QuickStart/springBoot-linuxamd64-quickStart-instrumentApplication.md';
|
import APM_java_springBoot_linuxAMD64_quickStart_instrumentApplication from '../Modules/APM/Java/md-docs/SpringBoot/LinuxAMD64/QuickStart/springBoot-linuxamd64-quickStart-instrumentApplication.md';
|
||||||
@ -1055,6 +1056,7 @@ export const ApmDocFilePaths = {
|
|||||||
APM_java_springBoot_kubernetes_recommendedSteps_instrumentApplication,
|
APM_java_springBoot_kubernetes_recommendedSteps_instrumentApplication,
|
||||||
APM_java_springBoot_kubernetes_recommendedSteps_runApplication,
|
APM_java_springBoot_kubernetes_recommendedSteps_runApplication,
|
||||||
APM_java_springBoot_kubernetes_recommendedSteps_runApplication_producers,
|
APM_java_springBoot_kubernetes_recommendedSteps_runApplication_producers,
|
||||||
|
APM_java_springBoot_kubernetes_recommendedSteps_runApplication_consumers,
|
||||||
|
|
||||||
// SpringBoot-LinuxAMD64-recommended
|
// SpringBoot-LinuxAMD64-recommended
|
||||||
APM_java_springBoot_linuxAMD64_recommendedSteps_setupOtelCollector,
|
APM_java_springBoot_linuxAMD64_recommendedSteps_setupOtelCollector,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user