chore: fixed java instructions

This commit is contained in:
CheetoDa 2024-04-03 04:42:19 +05:30
parent a47d3289d0
commit 3276dfa03e
18 changed files with 37 additions and 18 deletions

View File

@ -3,10 +3,12 @@
Once you are done intrumenting your Java application, you can run it using the below command Once you are done intrumenting your Java application, you can run it using the below command
```bash ```bash
java -javaagent:<path>/opentelemetry-javaagent.jar -jar {{MYAPP}}.jar java -javaagent:<path>/opentelemetry-javaagent.jar -jar <my-app>.jar
``` ```
<path> - update it to the path where you downloaded the Java JAR agent in previous step <path> - update it to the path where you downloaded the Java JAR agent in previous step
<my-app> - Jar file of your application
&nbsp; &nbsp;
**Note:** **Note:**

View File

@ -5,10 +5,11 @@ Once you are done intrumenting your Java application, you can run it using the b
OTEL_RESOURCE_ATTRIBUTES=service.name={{MYAPP}} \ OTEL_RESOURCE_ATTRIBUTES=service.name={{MYAPP}} \
OTEL_EXPORTER_OTLP_HEADERS="signoz-access-token={{SIGNOZ_INGESTION_KEY}}" \ OTEL_EXPORTER_OTLP_HEADERS="signoz-access-token={{SIGNOZ_INGESTION_KEY}}" \
OTEL_EXPORTER_OTLP_ENDPOINT=https://ingest.{{REGION}}.signoz.cloud:443 \ OTEL_EXPORTER_OTLP_ENDPOINT=https://ingest.{{REGION}}.signoz.cloud:443 \
java -javaagent:<path>/opentelemetry-javaagent.jar -jar {{MYAPP}}.jar java -javaagent:<path>/opentelemetry-javaagent.jar -jar <my-app>.jar
``` ```
<path> - update it to the path where you downloaded the Java JAR agent in previous step <path> - update it to the path where you downloaded the Java JAR agent in previous step
<my-app> - Jar file of your application
&nbsp; &nbsp;

View File

@ -24,8 +24,9 @@ kill "$(< otel-pid)"
### Step 2: Run your application ### Step 2: Run your application
```bash ```bash
java -javaagent:<path>/opentelemetry-javaagent.jar -jar {{MYAPP}}.jar java -javaagent:<path>/opentelemetry-javaagent.jar -jar <my-app>.jar
``` ```
<path> - update it to the path where you downloaded the Java JAR agent in previous step <path> - update it to the path where you downloaded the Java JAR agent in previous step
<my-app> - Jar file of your application

View File

@ -5,10 +5,11 @@ Once you are done intrumenting your Java application, you can run it using the b
OTEL_RESOURCE_ATTRIBUTES=service.name={{MYAPP}} \ OTEL_RESOURCE_ATTRIBUTES=service.name={{MYAPP}} \
OTEL_EXPORTER_OTLP_HEADERS="signoz-access-token={{SIGNOZ_INGESTION_KEY}}" \ OTEL_EXPORTER_OTLP_HEADERS="signoz-access-token={{SIGNOZ_INGESTION_KEY}}" \
OTEL_EXPORTER_OTLP_ENDPOINT=https://ingest.{{REGION}}.signoz.cloud:443 \ OTEL_EXPORTER_OTLP_ENDPOINT=https://ingest.{{REGION}}.signoz.cloud:443 \
java -javaagent:<path>/opentelemetry-javaagent.jar -jar {{MYAPP}}.jar java -javaagent:<path>/opentelemetry-javaagent.jar -jar <my-app>.jar
``` ```
<path> - update it to the path where you downloaded the Java JAR agent in previous step <path> - update it to the path where you downloaded the Java JAR agent in previous step
<my-app> - Jar file of your application
&nbsp; &nbsp;

View File

@ -24,8 +24,9 @@ kill "$(< otel-pid)"
### Step 2: Run your application ### Step 2: Run your application
```bash ```bash
java -javaagent:<path>/opentelemetry-javaagent.jar -jar {{MYAPP}}.jar java -javaagent:<path>/opentelemetry-javaagent.jar -jar <my-app>.jar
``` ```
<path> - update it to the path where you downloaded the Java JAR agent in previous step <path> - update it to the path where you downloaded the Java JAR agent in previous step
<my-app> - Jar file of your application

View File

@ -5,10 +5,11 @@ Once you are done intrumenting your Java application, you can run it using the b
OTEL_RESOURCE_ATTRIBUTES=service.name={{MYAPP}} \ OTEL_RESOURCE_ATTRIBUTES=service.name={{MYAPP}} \
OTEL_EXPORTER_OTLP_HEADERS="signoz-access-token={{SIGNOZ_INGESTION_KEY}}" \ OTEL_EXPORTER_OTLP_HEADERS="signoz-access-token={{SIGNOZ_INGESTION_KEY}}" \
OTEL_EXPORTER_OTLP_ENDPOINT=https://ingest.{{REGION}}.signoz.cloud:443 \ OTEL_EXPORTER_OTLP_ENDPOINT=https://ingest.{{REGION}}.signoz.cloud:443 \
java -javaagent:<path>/opentelemetry-javaagent.jar -jar {{MYAPP}}.jar java -javaagent:<path>/opentelemetry-javaagent.jar -jar <my-app>.jar
``` ```
<path> - update it to the path where you downloaded the Java JAR agent in previous step <path> - update it to the path where you downloaded the Java JAR agent in previous step
<my-app> - Jar file of your application
&nbsp; &nbsp;

View File

@ -24,8 +24,9 @@ kill "$(< otel-pid)"
### Step 2: Run your application ### Step 2: Run your application
```bash ```bash
java -javaagent:<path>/opentelemetry-javaagent.jar -jar {{MYAPP}}.jar java -javaagent:<path>/opentelemetry-javaagent.jar -jar <my-app>.jar
``` ```
<path> - update it to the path where you downloaded the Java JAR agent in previous step <path> - update it to the path where you downloaded the Java JAR agent in previous step
<my-app> - Jar file of your application

View File

@ -5,10 +5,11 @@ Once you are done intrumenting your Java application, you can run it using the b
OTEL_RESOURCE_ATTRIBUTES=service.name={{MYAPP}} \ OTEL_RESOURCE_ATTRIBUTES=service.name={{MYAPP}} \
OTEL_EXPORTER_OTLP_HEADERS="signoz-access-token={{SIGNOZ_INGESTION_KEY}}" \ OTEL_EXPORTER_OTLP_HEADERS="signoz-access-token={{SIGNOZ_INGESTION_KEY}}" \
OTEL_EXPORTER_OTLP_ENDPOINT=https://ingest.{{REGION}}.signoz.cloud:443 \ OTEL_EXPORTER_OTLP_ENDPOINT=https://ingest.{{REGION}}.signoz.cloud:443 \
java -javaagent:<path>/opentelemetry-javaagent.jar -jar {{MYAPP}}.jar java -javaagent:<path>/opentelemetry-javaagent.jar -jar <my-app>.jar
``` ```
<path> - update it to the path where you downloaded the Java JAR agent in previous step <path> - update it to the path where you downloaded the Java JAR agent in previous step
<my-app> - Jar file of your application
&nbsp; &nbsp;

View File

@ -22,8 +22,9 @@ kill "$(< otel-pid)"
``` ```
### Step 2: Run your application ### Step 2: Run your application
```bash ```bash
java -javaagent:<path>/opentelemetry-javaagent.jar -jar {{MYAPP}}.jar java -javaagent:<path>/opentelemetry-javaagent.jar -jar <my-app>.jar
``` ```
<path> - update it to the path where you downloaded the Java JAR agent in previous step <path> - update it to the path where you downloaded the Java JAR agent in previous step
<my-app> - Jar file of your application

View File

@ -4,10 +4,11 @@ Once you are done intrumenting your Java application, you can run it using the b
```bash ```bash
java -javaagent:<path>/opentelemetry-javaagent.jar -jar {{MYAPP}}.jar java -javaagent:<path>/opentelemetry-javaagent.jar -jar <my-app>.jar
``` ```
<path> - update it to the path where you downloaded the Java JAR agent in previous step <path> - update it to the path where you downloaded the Java JAR agent in previous step
<my-app> - Jar file of your application
&nbsp; &nbsp;

View File

@ -5,10 +5,11 @@ Once you are done intrumenting your Java application, you can run it using the b
OTEL_RESOURCE_ATTRIBUTES=service.name={{MYAPP}} \ OTEL_RESOURCE_ATTRIBUTES=service.name={{MYAPP}} \
OTEL_EXPORTER_OTLP_HEADERS="signoz-access-token={{SIGNOZ_INGESTION_KEY}}" \ OTEL_EXPORTER_OTLP_HEADERS="signoz-access-token={{SIGNOZ_INGESTION_KEY}}" \
OTEL_EXPORTER_OTLP_ENDPOINT=https://ingest.{{REGION}}.signoz.cloud:443 \ OTEL_EXPORTER_OTLP_ENDPOINT=https://ingest.{{REGION}}.signoz.cloud:443 \
java -javaagent:<path>/opentelemetry-javaagent.jar -jar {{MYAPP}}.jar java -javaagent:<path>/opentelemetry-javaagent.jar -jar <my-app>.jar
``` ```
<path> - update it to the path where you downloaded the Java JAR agent in previous step <path> - update it to the path where you downloaded the Java JAR agent in previous step
<my-app> - Jar file of your application
&nbsp; &nbsp;

View File

@ -25,11 +25,12 @@ kill "$(< otel-pid)"
### Step 2: Run your application ### Step 2: Run your application
```bash ```bash
java -javaagent:<path>/opentelemetry-javaagent.jar -jar {{MYAPP}}.jar java -javaagent:<path>/opentelemetry-javaagent.jar -jar <my-app>.jar
``` ```
&nbsp; &nbsp;
<path> - update it to the path where you downloaded the Java JAR agent in previous step <path> - update it to the path where you downloaded the Java JAR agent in previous step
<my-app> - Jar file of your application
&nbsp; &nbsp;

View File

@ -5,10 +5,11 @@ Once you are done intrumenting your Java application, you can run it using the b
OTEL_RESOURCE_ATTRIBUTES=service.name={{MYAPP}} \ OTEL_RESOURCE_ATTRIBUTES=service.name={{MYAPP}} \
OTEL_EXPORTER_OTLP_HEADERS="signoz-access-token={{SIGNOZ_INGESTION_KEY}}" \ OTEL_EXPORTER_OTLP_HEADERS="signoz-access-token={{SIGNOZ_INGESTION_KEY}}" \
OTEL_EXPORTER_OTLP_ENDPOINT=https://ingest.{{REGION}}.signoz.cloud:443 \ OTEL_EXPORTER_OTLP_ENDPOINT=https://ingest.{{REGION}}.signoz.cloud:443 \
java -javaagent:<path>/opentelemetry-javaagent.jar -jar {{MYAPP}}.jar java -javaagent:<path>/opentelemetry-javaagent.jar -jar <my-app>.jar
``` ```
<path> - update it to the path where you downloaded the Java JAR agent in previous step <path> - update it to the path where you downloaded the Java JAR agent in previous step
<my-app> - Jar file of your application
&nbsp; &nbsp;

View File

@ -25,11 +25,12 @@ kill "$(< otel-pid)"
### Step 2: Run your application ### Step 2: Run your application
```bash ```bash
java -javaagent:<path>/opentelemetry-javaagent.jar -jar {{MYAPP}}.jar java -javaagent:<path>/opentelemetry-javaagent.jar -jar <my-app>.jar
``` ```
&nbsp; &nbsp;
<path> - update it to the path where you downloaded the Java JAR agent in previous step <path> - update it to the path where you downloaded the Java JAR agent in previous step
<my-app> - Jar file of your application
&nbsp; &nbsp;

View File

@ -5,10 +5,11 @@ Once you are done intrumenting your Java application, you can run it using the b
OTEL_RESOURCE_ATTRIBUTES=service.name={{MYAPP}} \ OTEL_RESOURCE_ATTRIBUTES=service.name={{MYAPP}} \
OTEL_EXPORTER_OTLP_HEADERS="signoz-access-token={{SIGNOZ_INGESTION_KEY}}" \ OTEL_EXPORTER_OTLP_HEADERS="signoz-access-token={{SIGNOZ_INGESTION_KEY}}" \
OTEL_EXPORTER_OTLP_ENDPOINT=https://ingest.{{REGION}}.signoz.cloud:443 \ OTEL_EXPORTER_OTLP_ENDPOINT=https://ingest.{{REGION}}.signoz.cloud:443 \
java -javaagent:<path>/opentelemetry-javaagent.jar -jar {{MYAPP}}.jar java -javaagent:<path>/opentelemetry-javaagent.jar -jar <my-app>.jar
``` ```
<path> - update it to the path where you downloaded the Java JAR agent in previous step <path> - update it to the path where you downloaded the Java JAR agent in previous step
<my-app> - Jar file of your application
&nbsp; &nbsp;

View File

@ -25,11 +25,12 @@ kill "$(< otel-pid)"
### Step 2: Run your application ### Step 2: Run your application
```bash ```bash
java -javaagent:<path>/opentelemetry-javaagent.jar -jar {{MYAPP}}.jar java -javaagent:<path>/opentelemetry-javaagent.jar -jar <my-app>.jar
``` ```
&nbsp; &nbsp;
<path> - update it to the path where you downloaded the Java JAR agent in previous step <path> - update it to the path where you downloaded the Java JAR agent in previous step
<my-app> - Jar file of your application
&nbsp; &nbsp;

View File

@ -5,10 +5,11 @@ Once you are done intrumenting your Java application, you can run it using the b
OTEL_RESOURCE_ATTRIBUTES=service.name={{MYAPP}} \ OTEL_RESOURCE_ATTRIBUTES=service.name={{MYAPP}} \
OTEL_EXPORTER_OTLP_HEADERS="signoz-access-token={{SIGNOZ_INGESTION_KEY}}" \ OTEL_EXPORTER_OTLP_HEADERS="signoz-access-token={{SIGNOZ_INGESTION_KEY}}" \
OTEL_EXPORTER_OTLP_ENDPOINT=https://ingest.{{REGION}}.signoz.cloud:443 \ OTEL_EXPORTER_OTLP_ENDPOINT=https://ingest.{{REGION}}.signoz.cloud:443 \
java -javaagent:<path>/opentelemetry-javaagent.jar -jar {{MYAPP}}.jar java -javaagent:<path>/opentelemetry-javaagent.jar -jar <my-app>.jar
``` ```
<path> - update it to the path where you downloaded the Java JAR agent in previous step <path> - update it to the path where you downloaded the Java JAR agent in previous step
<my-app> - Jar file of your application
&nbsp; &nbsp;

View File

@ -25,11 +25,12 @@ kill "$(< otel-pid)"
### Step 2: Run your application ### Step 2: Run your application
```bash ```bash
java -javaagent:<path>/opentelemetry-javaagent.jar -jar {{MYAPP}}.jar java -javaagent:<path>/opentelemetry-javaagent.jar -jar <my-app>.jar
``` ```
&nbsp; &nbsp;
<path> - update it to the path where you downloaded the Java JAR agent in previous step <path> - update it to the path where you downloaded the Java JAR agent in previous step
<my-app> - Jar file of your application
&nbsp; &nbsp;