mirror of
https://git.mirrors.martin98.com/https://github.com/SigNoz/signoz
synced 2025-08-12 18:29:00 +08:00
feat(signoz-ingestion-key): rename signoz-access-token to signoz-ingestion-key (#6633)
This commit is contained in:
parent
8c46de8eac
commit
a1059ed949
@ -48,7 +48,7 @@ builder.Services.AddOpenTelemetry()
|
|||||||
otlpOptions.Protocol = OtlpExportProtocol.Grpc;
|
otlpOptions.Protocol = OtlpExportProtocol.Grpc;
|
||||||
|
|
||||||
//SigNoz Cloud account Ingestion key
|
//SigNoz Cloud account Ingestion key
|
||||||
string headerKey = "signoz-access-token";
|
string headerKey = "signoz-ingestion-key";
|
||||||
string headerValue = "{{SIGNOZ_INGESTION_KEY}}";
|
string headerValue = "{{SIGNOZ_INGESTION_KEY}}";
|
||||||
|
|
||||||
string formattedHeader = $"{headerKey}={headerValue}";
|
string formattedHeader = $"{headerKey}={headerValue}";
|
||||||
|
@ -48,7 +48,7 @@ builder.Services.AddOpenTelemetry()
|
|||||||
otlpOptions.Protocol = OtlpExportProtocol.Grpc;
|
otlpOptions.Protocol = OtlpExportProtocol.Grpc;
|
||||||
|
|
||||||
//SigNoz Cloud account Ingestion key
|
//SigNoz Cloud account Ingestion key
|
||||||
string headerKey = "signoz-access-token";
|
string headerKey = "signoz-ingestion-key";
|
||||||
string headerValue = "{{SIGNOZ_INGESTION_KEY}}";
|
string headerValue = "{{SIGNOZ_INGESTION_KEY}}";
|
||||||
|
|
||||||
string formattedHeader = $"{headerKey}={headerValue}";
|
string formattedHeader = $"{headerKey}={headerValue}";
|
||||||
|
@ -68,7 +68,7 @@ exporters:
|
|||||||
tls:
|
tls:
|
||||||
insecure: false
|
insecure: false
|
||||||
headers:
|
headers:
|
||||||
"signoz-access-token": "{{SIGNOZ_INGESTION_KEY}}"
|
"signoz-ingestion-key": "{{SIGNOZ_INGESTION_KEY}}"
|
||||||
logging:
|
logging:
|
||||||
verbosity: normal
|
verbosity: normal
|
||||||
service:
|
service:
|
||||||
|
@ -48,7 +48,7 @@ builder.Services.AddOpenTelemetry()
|
|||||||
otlpOptions.Protocol = OtlpExportProtocol.Grpc;
|
otlpOptions.Protocol = OtlpExportProtocol.Grpc;
|
||||||
|
|
||||||
//SigNoz Cloud account Ingestion key
|
//SigNoz Cloud account Ingestion key
|
||||||
string headerKey = "signoz-access-token";
|
string headerKey = "signoz-ingestion-key";
|
||||||
string headerValue = "{{SIGNOZ_INGESTION_KEY}}";
|
string headerValue = "{{SIGNOZ_INGESTION_KEY}}";
|
||||||
|
|
||||||
string formattedHeader = $"{headerKey}={headerValue}";
|
string formattedHeader = $"{headerKey}={headerValue}";
|
||||||
|
@ -69,7 +69,7 @@ exporters:
|
|||||||
tls:
|
tls:
|
||||||
insecure: false
|
insecure: false
|
||||||
headers:
|
headers:
|
||||||
"signoz-access-token": "{{SIGNOZ_INGESTION_KEY}}"
|
"signoz-ingestion-key": "{{SIGNOZ_INGESTION_KEY}}"
|
||||||
logging:
|
logging:
|
||||||
verbosity: normal
|
verbosity: normal
|
||||||
service:
|
service:
|
||||||
|
@ -48,7 +48,7 @@ builder.Services.AddOpenTelemetry()
|
|||||||
otlpOptions.Protocol = OtlpExportProtocol.Grpc;
|
otlpOptions.Protocol = OtlpExportProtocol.Grpc;
|
||||||
|
|
||||||
//SigNoz Cloud account Ingestion key
|
//SigNoz Cloud account Ingestion key
|
||||||
string headerKey = "signoz-access-token";
|
string headerKey = "signoz-ingestion-key";
|
||||||
string headerValue = "{{SIGNOZ_INGESTION_KEY}}";
|
string headerValue = "{{SIGNOZ_INGESTION_KEY}}";
|
||||||
|
|
||||||
string formattedHeader = $"{headerKey}={headerValue}";
|
string formattedHeader = $"{headerKey}={headerValue}";
|
||||||
|
@ -67,7 +67,7 @@ exporters:
|
|||||||
tls:
|
tls:
|
||||||
insecure: false
|
insecure: false
|
||||||
headers:
|
headers:
|
||||||
"signoz-access-token": "{{SIGNOZ_INGESTION_KEY}}"
|
"signoz-ingestion-key": "{{SIGNOZ_INGESTION_KEY}}"
|
||||||
logging:
|
logging:
|
||||||
verbosity: normal
|
verbosity: normal
|
||||||
service:
|
service:
|
||||||
|
@ -48,7 +48,7 @@ builder.Services.AddOpenTelemetry()
|
|||||||
otlpOptions.Protocol = OtlpExportProtocol.Grpc;
|
otlpOptions.Protocol = OtlpExportProtocol.Grpc;
|
||||||
|
|
||||||
//SigNoz Cloud account Ingestion key
|
//SigNoz Cloud account Ingestion key
|
||||||
string headerKey = "signoz-access-token";
|
string headerKey = "signoz-ingestion-key";
|
||||||
string headerValue = "{{SIGNOZ_INGESTION_KEY}}";
|
string headerValue = "{{SIGNOZ_INGESTION_KEY}}";
|
||||||
|
|
||||||
string formattedHeader = $"{headerKey}={headerValue}";
|
string formattedHeader = $"{headerKey}={headerValue}";
|
||||||
|
@ -68,7 +68,7 @@ exporters:
|
|||||||
tls:
|
tls:
|
||||||
insecure: false
|
insecure: false
|
||||||
headers:
|
headers:
|
||||||
"signoz-access-token": "{{SIGNOZ_INGESTION_KEY}}"
|
"signoz-ingestion-key": "{{SIGNOZ_INGESTION_KEY}}"
|
||||||
logging:
|
logging:
|
||||||
verbosity: normal
|
verbosity: normal
|
||||||
service:
|
service:
|
||||||
|
@ -37,7 +37,7 @@ builder.Services.AddOpenTelemetry()
|
|||||||
otlpOptions.Protocol = OtlpExportProtocol.Grpc;
|
otlpOptions.Protocol = OtlpExportProtocol.Grpc;
|
||||||
|
|
||||||
//SigNoz Cloud account Ingestion key
|
//SigNoz Cloud account Ingestion key
|
||||||
string headerKey = "signoz-access-token";
|
string headerKey = "signoz-ingestion-key";
|
||||||
string headerValue = "{{SIGNOZ_INGESTION_KEY}}";
|
string headerValue = "{{SIGNOZ_INGESTION_KEY}}";
|
||||||
|
|
||||||
string formattedHeader = $"{headerKey}={headerValue}";
|
string formattedHeader = $"{headerKey}={headerValue}";
|
||||||
|
@ -53,7 +53,7 @@ config :opentelemetry, :processors,
|
|||||||
%{
|
%{
|
||||||
endpoints: ["https://ingest.{{REGION}}.signoz.cloud:443"],
|
endpoints: ["https://ingest.{{REGION}}.signoz.cloud:443"],
|
||||||
headers: [
|
headers: [
|
||||||
{"signoz-access-token", {{SIGNOZ_ACCESS_TOKEN}} }
|
{"signoz-ingestion-key", {{SIGNOZ_ACCESS_TOKEN}} }
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -53,7 +53,7 @@ config :opentelemetry, :processors,
|
|||||||
%{
|
%{
|
||||||
endpoints: ["https://ingest.{{REGION}}.signoz.cloud:443"],
|
endpoints: ["https://ingest.{{REGION}}.signoz.cloud:443"],
|
||||||
headers: [
|
headers: [
|
||||||
{"signoz-access-token", {{SIGNOZ_ACCESS_TOKEN}} }
|
{"signoz-ingestion-key", {{SIGNOZ_ACCESS_TOKEN}} }
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -66,7 +66,7 @@ exporters:
|
|||||||
tls:
|
tls:
|
||||||
insecure: false
|
insecure: false
|
||||||
headers:
|
headers:
|
||||||
"signoz-access-token": "{{SIGNOZ_INGESTION_KEY}}"
|
"signoz-ingestion-key": "{{SIGNOZ_INGESTION_KEY}}"
|
||||||
logging:
|
logging:
|
||||||
verbosity: normal
|
verbosity: normal
|
||||||
service:
|
service:
|
||||||
|
@ -53,7 +53,7 @@ config :opentelemetry, :processors,
|
|||||||
%{
|
%{
|
||||||
endpoints: ["https://ingest.{{REGION}}.signoz.cloud:443"],
|
endpoints: ["https://ingest.{{REGION}}.signoz.cloud:443"],
|
||||||
headers: [
|
headers: [
|
||||||
{"signoz-access-token", {{SIGNOZ_ACCESS_TOKEN}} }
|
{"signoz-ingestion-key", {{SIGNOZ_ACCESS_TOKEN}} }
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -66,7 +66,7 @@ exporters:
|
|||||||
tls:
|
tls:
|
||||||
insecure: false
|
insecure: false
|
||||||
headers:
|
headers:
|
||||||
"signoz-access-token": "{{SIGNOZ_INGESTION_KEY}}"
|
"signoz-ingestion-key": "{{SIGNOZ_INGESTION_KEY}}"
|
||||||
logging:
|
logging:
|
||||||
verbosity: normal
|
verbosity: normal
|
||||||
service:
|
service:
|
||||||
|
@ -53,7 +53,7 @@ config :opentelemetry, :processors,
|
|||||||
%{
|
%{
|
||||||
endpoints: ["https://ingest.{{REGION}}.signoz.cloud:443"],
|
endpoints: ["https://ingest.{{REGION}}.signoz.cloud:443"],
|
||||||
headers: [
|
headers: [
|
||||||
{"signoz-access-token", {{SIGNOZ_ACCESS_TOKEN}} }
|
{"signoz-ingestion-key", {{SIGNOZ_ACCESS_TOKEN}} }
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -66,7 +66,7 @@ exporters:
|
|||||||
tls:
|
tls:
|
||||||
insecure: false
|
insecure: false
|
||||||
headers:
|
headers:
|
||||||
"signoz-access-token": "{{SIGNOZ_INGESTION_KEY}}"
|
"signoz-ingestion-key": "{{SIGNOZ_INGESTION_KEY}}"
|
||||||
logging:
|
logging:
|
||||||
verbosity: normal
|
verbosity: normal
|
||||||
service:
|
service:
|
||||||
|
@ -53,7 +53,7 @@ config :opentelemetry, :processors,
|
|||||||
%{
|
%{
|
||||||
endpoints: ["https://ingest.{{REGION}}.signoz.cloud:443"],
|
endpoints: ["https://ingest.{{REGION}}.signoz.cloud:443"],
|
||||||
headers: [
|
headers: [
|
||||||
{"signoz-access-token", {{SIGNOZ_ACCESS_TOKEN}} }
|
{"signoz-ingestion-key", {{SIGNOZ_ACCESS_TOKEN}} }
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -66,7 +66,7 @@ exporters:
|
|||||||
tls:
|
tls:
|
||||||
insecure: false
|
insecure: false
|
||||||
headers:
|
headers:
|
||||||
"signoz-access-token": "{{SIGNOZ_INGESTION_KEY}}"
|
"signoz-ingestion-key": "{{SIGNOZ_INGESTION_KEY}}"
|
||||||
logging:
|
logging:
|
||||||
verbosity: normal
|
verbosity: normal
|
||||||
service:
|
service:
|
||||||
|
@ -53,7 +53,7 @@ config :opentelemetry, :processors,
|
|||||||
%{
|
%{
|
||||||
endpoints: ["https://ingest.{{REGION}}.signoz.cloud:443"],
|
endpoints: ["https://ingest.{{REGION}}.signoz.cloud:443"],
|
||||||
headers: [
|
headers: [
|
||||||
{"signoz-access-token", {{SIGNOZ_ACCESS_TOKEN}} }
|
{"signoz-ingestion-key", {{SIGNOZ_ACCESS_TOKEN}} }
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -75,7 +75,7 @@ exporters:
|
|||||||
tls:
|
tls:
|
||||||
insecure: false
|
insecure: false
|
||||||
headers:
|
headers:
|
||||||
"signoz-access-token": "{{SIGNOZ_INGESTION_KEY}}"
|
"signoz-ingestion-key": "{{SIGNOZ_INGESTION_KEY}}"
|
||||||
logging:
|
logging:
|
||||||
verbosity: normal
|
verbosity: normal
|
||||||
service:
|
service:
|
||||||
|
@ -134,7 +134,7 @@ From VMs, there are two ways to send data to SigNoz Cloud.
|
|||||||
The run command must have some environment variables to send data to SigNoz cloud. The run command:
|
The run command must have some environment variables to send data to SigNoz cloud. The run command:
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
SERVICE_NAME={{MYAPP}} INSECURE_MODE=false OTEL_EXPORTER_OTLP_HEADERS=signoz-access-token={{SIGNOZ_INGESTION_KEY}} OTEL_EXPORTER_OTLP_ENDPOINT=ingest.{{REGION}}.signoz.cloud:443 go run main.go
|
SERVICE_NAME={{MYAPP}} INSECURE_MODE=false OTEL_EXPORTER_OTLP_HEADERS=signoz-ingestion-key={{SIGNOZ_INGESTION_KEY}} OTEL_EXPORTER_OTLP_ENDPOINT=ingest.{{REGION}}.signoz.cloud:443 go run main.go
|
||||||
```
|
```
|
||||||
|
|
||||||
If you want to update your `service_name`, you can modify the `SERVICE_NAME` variable.
|
If you want to update your `service_name`, you can modify the `SERVICE_NAME` variable.
|
||||||
|
@ -128,7 +128,7 @@ Set the environment variables in your Dockerfile.
|
|||||||
# Set environment variables
|
# Set environment variables
|
||||||
ENV SERVICE_NAME={{MYAPP}} \
|
ENV SERVICE_NAME={{MYAPP}} \
|
||||||
INSECURE_MODE=false \
|
INSECURE_MODE=false \
|
||||||
OTEL_EXPORTER_OTLP_HEADERS="signoz-access-token=b{{SIGNOZ_INGESTION_KEY}}" \
|
OTEL_EXPORTER_OTLP_HEADERS="signoz-ingestion-key=b{{SIGNOZ_INGESTION_KEY}}" \
|
||||||
OTEL_EXPORTER_OTLP_ENDPOINT=ingest.{{REGION}}.signoz.cloud:443
|
OTEL_EXPORTER_OTLP_ENDPOINT=ingest.{{REGION}}.signoz.cloud:443
|
||||||
...
|
...
|
||||||
```
|
```
|
||||||
|
@ -2,5 +2,5 @@
|
|||||||
To run your Go Gin application, use the below command :
|
To run your Go Gin application, use the below command :
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
SERVICE_NAME={{MYAPP}} INSECURE_MODE=false OTEL_EXPORTER_OTLP_HEADERS=signoz-access-token={{SIGNOZ_INGESTION_KEY}} OTEL_EXPORTER_OTLP_ENDPOINT=ingest.{{REGION}}.signoz.cloud:443 go run main.go
|
SERVICE_NAME={{MYAPP}} INSECURE_MODE=false OTEL_EXPORTER_OTLP_HEADERS=signoz-ingestion-key={{SIGNOZ_INGESTION_KEY}} OTEL_EXPORTER_OTLP_ENDPOINT=ingest.{{REGION}}.signoz.cloud:443 go run main.go
|
||||||
```
|
```
|
@ -66,7 +66,7 @@ exporters:
|
|||||||
tls:
|
tls:
|
||||||
insecure: false
|
insecure: false
|
||||||
headers:
|
headers:
|
||||||
"signoz-access-token": "{{SIGNOZ_INGESTION_KEY}}"
|
"signoz-ingestion-key": "{{SIGNOZ_INGESTION_KEY}}"
|
||||||
logging:
|
logging:
|
||||||
verbosity: normal
|
verbosity: normal
|
||||||
service:
|
service:
|
||||||
|
@ -2,5 +2,5 @@
|
|||||||
To run your Go Gin application, use the below command :
|
To run your Go Gin application, use the below command :
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
SERVICE_NAME={{MYAPP}} INSECURE_MODE=false OTEL_EXPORTER_OTLP_HEADERS=signoz-access-token={{SIGNOZ_INGESTION_KEY}} OTEL_EXPORTER_OTLP_ENDPOINT=ingest.{{REGION}}.signoz.cloud:443 go run main.go
|
SERVICE_NAME={{MYAPP}} INSECURE_MODE=false OTEL_EXPORTER_OTLP_HEADERS=signoz-ingestion-key={{SIGNOZ_INGESTION_KEY}} OTEL_EXPORTER_OTLP_ENDPOINT=ingest.{{REGION}}.signoz.cloud:443 go run main.go
|
||||||
```
|
```
|
@ -69,7 +69,7 @@ exporters:
|
|||||||
tls:
|
tls:
|
||||||
insecure: false
|
insecure: false
|
||||||
headers:
|
headers:
|
||||||
"signoz-access-token": "{{SIGNOZ_INGESTION_KEY}}"
|
"signoz-ingestion-key": "{{SIGNOZ_INGESTION_KEY}}"
|
||||||
logging:
|
logging:
|
||||||
verbosity: normal
|
verbosity: normal
|
||||||
service:
|
service:
|
||||||
|
@ -2,5 +2,5 @@
|
|||||||
To run your Go Gin application, use the below command :
|
To run your Go Gin application, use the below command :
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
SERVICE_NAME={{MYAPP}} INSECURE_MODE=false OTEL_EXPORTER_OTLP_HEADERS=signoz-access-token={{SIGNOZ_INGESTION_KEY}} OTEL_EXPORTER_OTLP_ENDPOINT=ingest.{{REGION}}.signoz.cloud:443 go run main.go
|
SERVICE_NAME={{MYAPP}} INSECURE_MODE=false OTEL_EXPORTER_OTLP_HEADERS=signoz-ingestion-key={{SIGNOZ_INGESTION_KEY}} OTEL_EXPORTER_OTLP_ENDPOINT=ingest.{{REGION}}.signoz.cloud:443 go run main.go
|
||||||
```
|
```
|
@ -66,7 +66,7 @@ exporters:
|
|||||||
tls:
|
tls:
|
||||||
insecure: false
|
insecure: false
|
||||||
headers:
|
headers:
|
||||||
"signoz-access-token": "{{SIGNOZ_INGESTION_KEY}}"
|
"signoz-ingestion-key": "{{SIGNOZ_INGESTION_KEY}}"
|
||||||
logging:
|
logging:
|
||||||
verbosity: normal
|
verbosity: normal
|
||||||
service:
|
service:
|
||||||
|
@ -2,5 +2,5 @@
|
|||||||
To run your Go Gin application, use the below command :
|
To run your Go Gin application, use the below command :
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
SERVICE_NAME={{MYAPP}} INSECURE_MODE=false OTEL_EXPORTER_OTLP_HEADERS=signoz-access-token={{SIGNOZ_INGESTION_KEY}} OTEL_EXPORTER_OTLP_ENDPOINT=ingest.{{REGION}}.signoz.cloud:443 go run main.go
|
SERVICE_NAME={{MYAPP}} INSECURE_MODE=false OTEL_EXPORTER_OTLP_HEADERS=signoz-ingestion-key={{SIGNOZ_INGESTION_KEY}} OTEL_EXPORTER_OTLP_ENDPOINT=ingest.{{REGION}}.signoz.cloud:443 go run main.go
|
||||||
```
|
```
|
@ -64,7 +64,7 @@ exporters:
|
|||||||
tls:
|
tls:
|
||||||
insecure: false
|
insecure: false
|
||||||
headers:
|
headers:
|
||||||
"signoz-access-token": "{{SIGNOZ_INGESTION_KEY}}"
|
"signoz-ingestion-key": "{{SIGNOZ_INGESTION_KEY}}"
|
||||||
logging:
|
logging:
|
||||||
verbosity: normal
|
verbosity: normal
|
||||||
service:
|
service:
|
||||||
|
@ -22,7 +22,7 @@
|
|||||||
var (
|
var (
|
||||||
serviceName = "{{MYAPP}}")
|
serviceName = "{{MYAPP}}")
|
||||||
collectorURL = "https://ingest.{{REGION}}.signoz.cloud:443"
|
collectorURL = "https://ingest.{{REGION}}.signoz.cloud:443"
|
||||||
headers="signoz-access-token={{SIGNOZ_INGESTION_KEY}}"
|
headers="signoz-ingestion-key={{SIGNOZ_INGESTION_KEY}}"
|
||||||
insecure = os.Getenv("INSECURE_MODE")
|
insecure = os.Getenv("INSECURE_MODE")
|
||||||
)
|
)
|
||||||
```
|
```
|
||||||
|
@ -18,7 +18,7 @@ RUN wget https://github.com/open-telemetry/opentelemetry-java-instrumentation/re
|
|||||||
# Open and update the configuration file
|
# Open and update the configuration file
|
||||||
RUN sed -i 's/\(JAVA_OPTS=".*\)/\1 -javaagent:\/opt\/jboss-eap-7.1\/opentelemetry-javaagent.jar \
|
RUN sed -i 's/\(JAVA_OPTS=".*\)/\1 -javaagent:\/opt\/jboss-eap-7.1\/opentelemetry-javaagent.jar \
|
||||||
-Dotel.exporter.otlp.endpoint=https:\/\/ingest.{{REGION}}.signoz.cloud:443 \
|
-Dotel.exporter.otlp.endpoint=https:\/\/ingest.{{REGION}}.signoz.cloud:443 \
|
||||||
-Dotel.exporter.otlp.headers="signoz-access-token={{SIGNOZ_INGESTION_KEY}}" \
|
-Dotel.exporter.otlp.headers="signoz-ingestion-key={{SIGNOZ_INGESTION_KEY}}" \
|
||||||
-Dotel.resource.attributes="service.name={{MYAPP}}"/' /opt/jboss-eap-7.1/bin/standalone.conf
|
-Dotel.resource.attributes="service.name={{MYAPP}}"/' /opt/jboss-eap-7.1/bin/standalone.conf
|
||||||
...
|
...
|
||||||
```
|
```
|
||||||
|
@ -10,7 +10,7 @@ Update `JAVA_OPTS` environment variable with configurations required to send dat
|
|||||||
```bash
|
```bash
|
||||||
JAVA_OPTS="-javaagent:/<path>/opentelemetry-javaagent.jar
|
JAVA_OPTS="-javaagent:/<path>/opentelemetry-javaagent.jar
|
||||||
-Dotel.exporter.otlp.endpoint=https://ingest.{{REGION}}.signoz.cloud:443
|
-Dotel.exporter.otlp.endpoint=https://ingest.{{REGION}}.signoz.cloud:443
|
||||||
-Dotel.exporter.otlp.headers="signoz-access-token={{SIGNOZ_INGESTION_KEY}}"
|
-Dotel.exporter.otlp.headers="signoz-ingestion-key={{SIGNOZ_INGESTION_KEY}}"
|
||||||
-Dotel.resource.attributes="service.name={{MYAPP}}""
|
-Dotel.resource.attributes="service.name={{MYAPP}}""
|
||||||
```
|
```
|
||||||
|
|
||||||
|
@ -66,7 +66,7 @@ exporters:
|
|||||||
tls:
|
tls:
|
||||||
insecure: false
|
insecure: false
|
||||||
headers:
|
headers:
|
||||||
"signoz-access-token": "{{SIGNOZ_INGESTION_KEY}}"
|
"signoz-ingestion-key": "{{SIGNOZ_INGESTION_KEY}}"
|
||||||
logging:
|
logging:
|
||||||
verbosity: normal
|
verbosity: normal
|
||||||
service:
|
service:
|
||||||
|
@ -10,7 +10,7 @@ Update `JAVA_OPTS` environment variable with configurations required to send dat
|
|||||||
```bash
|
```bash
|
||||||
JAVA_OPTS="-javaagent:/<path>/opentelemetry-javaagent.jar
|
JAVA_OPTS="-javaagent:/<path>/opentelemetry-javaagent.jar
|
||||||
-Dotel.exporter.otlp.endpoint=https://ingest.{{REGION}}.signoz.cloud:443
|
-Dotel.exporter.otlp.endpoint=https://ingest.{{REGION}}.signoz.cloud:443
|
||||||
-Dotel.exporter.otlp.headers="signoz-access-token={{SIGNOZ_INGESTION_KEY}}"
|
-Dotel.exporter.otlp.headers="signoz-ingestion-key={{SIGNOZ_INGESTION_KEY}}"
|
||||||
-Dotel.resource.attributes="service.name={{MYAPP}}""
|
-Dotel.resource.attributes="service.name={{MYAPP}}""
|
||||||
```
|
```
|
||||||
|
|
||||||
|
@ -66,7 +66,7 @@ exporters:
|
|||||||
tls:
|
tls:
|
||||||
insecure: false
|
insecure: false
|
||||||
headers:
|
headers:
|
||||||
"signoz-access-token": "{{SIGNOZ_INGESTION_KEY}}"
|
"signoz-ingestion-key": "{{SIGNOZ_INGESTION_KEY}}"
|
||||||
logging:
|
logging:
|
||||||
verbosity: normal
|
verbosity: normal
|
||||||
service:
|
service:
|
||||||
|
@ -10,7 +10,7 @@ Update `JAVA_OPTS` environment variable with configurations required to send dat
|
|||||||
```bash
|
```bash
|
||||||
JAVA_OPTS="-javaagent:/<path>/opentelemetry-javaagent.jar
|
JAVA_OPTS="-javaagent:/<path>/opentelemetry-javaagent.jar
|
||||||
-Dotel.exporter.otlp.endpoint=https://ingest.{{REGION}}.signoz.cloud:443
|
-Dotel.exporter.otlp.endpoint=https://ingest.{{REGION}}.signoz.cloud:443
|
||||||
-Dotel.exporter.otlp.headers="signoz-access-token={{SIGNOZ_INGESTION_KEY}}"
|
-Dotel.exporter.otlp.headers="signoz-ingestion-key={{SIGNOZ_INGESTION_KEY}}"
|
||||||
-Dotel.resource.attributes="service.name={{MYAPP}}""
|
-Dotel.resource.attributes="service.name={{MYAPP}}""
|
||||||
```
|
```
|
||||||
|
|
||||||
|
@ -66,7 +66,7 @@ exporters:
|
|||||||
tls:
|
tls:
|
||||||
insecure: false
|
insecure: false
|
||||||
headers:
|
headers:
|
||||||
"signoz-access-token": "{{SIGNOZ_INGESTION_KEY}}"
|
"signoz-ingestion-key": "{{SIGNOZ_INGESTION_KEY}}"
|
||||||
logging:
|
logging:
|
||||||
verbosity: normal
|
verbosity: normal
|
||||||
service:
|
service:
|
||||||
|
@ -10,7 +10,7 @@ Update `JAVA_OPTS` environment variable with configurations required to send dat
|
|||||||
```bash
|
```bash
|
||||||
JAVA_OPTS="-javaagent:/<path>/opentelemetry-javaagent.jar
|
JAVA_OPTS="-javaagent:/<path>/opentelemetry-javaagent.jar
|
||||||
-Dotel.exporter.otlp.endpoint=https://ingest.{{REGION}}.signoz.cloud:443
|
-Dotel.exporter.otlp.endpoint=https://ingest.{{REGION}}.signoz.cloud:443
|
||||||
-Dotel.exporter.otlp.headers="signoz-access-token={{SIGNOZ_INGESTION_KEY}}"
|
-Dotel.exporter.otlp.headers="signoz-ingestion-key={{SIGNOZ_INGESTION_KEY}}"
|
||||||
-Dotel.resource.attributes="service.name={{MYAPP}}""
|
-Dotel.resource.attributes="service.name={{MYAPP}}""
|
||||||
```
|
```
|
||||||
|
|
||||||
|
@ -66,7 +66,7 @@ exporters:
|
|||||||
tls:
|
tls:
|
||||||
insecure: false
|
insecure: false
|
||||||
headers:
|
headers:
|
||||||
"signoz-access-token": "{{SIGNOZ_INGESTION_KEY}}"
|
"signoz-ingestion-key": "{{SIGNOZ_INGESTION_KEY}}"
|
||||||
logging:
|
logging:
|
||||||
verbosity: normal
|
verbosity: normal
|
||||||
service:
|
service:
|
||||||
|
@ -17,7 +17,7 @@ Update `JAVA_OPTS` environment variable with configurations required to send dat
|
|||||||
```bash
|
```bash
|
||||||
set JAVA_OPTS=-javaagent:C:\path\to\opentelemetry-javaagent.jar
|
set JAVA_OPTS=-javaagent:C:\path\to\opentelemetry-javaagent.jar
|
||||||
set JAVA_OPTS=%JAVA_OPTS% -Dotel.exporter.otlp.endpoint=https://ingest.{{REGION}}.signoz.cloud:443
|
set JAVA_OPTS=%JAVA_OPTS% -Dotel.exporter.otlp.endpoint=https://ingest.{{REGION}}.signoz.cloud:443
|
||||||
set JAVA_OPTS=%JAVA_OPTS% -Dotel.exporter.otlp.headers="signoz-access-token={{SIGNOZ_INGESTION_KEY}}"
|
set JAVA_OPTS=%JAVA_OPTS% -Dotel.exporter.otlp.headers="signoz-ingestion-key={{SIGNOZ_INGESTION_KEY}}"
|
||||||
set JAVA_OPTS=%JAVA_OPTS% -Dotel.resource.attributes="service.name={{MYAPP}}"
|
set JAVA_OPTS=%JAVA_OPTS% -Dotel.resource.attributes="service.name={{MYAPP}}"
|
||||||
```
|
```
|
||||||
|
|
||||||
|
@ -13,7 +13,7 @@ RUN wget https://github.com/open-telemetry/opentelemetry-java-instrumentation/re
|
|||||||
|
|
||||||
# Set environment variables and run your Spring Boot application
|
# Set environment variables and run your Spring Boot application
|
||||||
ENV OTEL_RESOURCE_ATTRIBUTES="service.name={{MYAPP}}" \
|
ENV OTEL_RESOURCE_ATTRIBUTES="service.name={{MYAPP}}" \
|
||||||
OTEL_EXPORTER_OTLP_HEADERS="signoz-access-token={{SIGNOZ_INGESTION_KEY}}" \
|
OTEL_EXPORTER_OTLP_HEADERS="signoz-ingestion-key={{SIGNOZ_INGESTION_KEY}}" \
|
||||||
OTEL_EXPORTER_OTLP_ENDPOINT="https://ingest.{{REGION}}.signoz.cloud:443"
|
OTEL_EXPORTER_OTLP_ENDPOINT="https://ingest.{{REGION}}.signoz.cloud:443"
|
||||||
|
|
||||||
# Copy the Spring Boot application JAR file into the container
|
# Copy the Spring Boot application JAR file into the container
|
||||||
|
@ -3,7 +3,7 @@ Once you are done intrumenting your Java application, you can run it using the b
|
|||||||
|
|
||||||
```bash
|
```bash
|
||||||
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-ingestion-key={{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 <my-app>.jar
|
java -javaagent:<path>/opentelemetry-javaagent.jar -jar <my-app>.jar
|
||||||
```
|
```
|
||||||
|
@ -66,7 +66,7 @@ exporters:
|
|||||||
tls:
|
tls:
|
||||||
insecure: false
|
insecure: false
|
||||||
headers:
|
headers:
|
||||||
"signoz-access-token": "{{SIGNOZ_INGESTION_KEY}}"
|
"signoz-ingestion-key": "{{SIGNOZ_INGESTION_KEY}}"
|
||||||
logging:
|
logging:
|
||||||
verbosity: normal
|
verbosity: normal
|
||||||
service:
|
service:
|
||||||
|
@ -3,7 +3,7 @@ Once you are done intrumenting your Java application, you can run it using the b
|
|||||||
|
|
||||||
```bash
|
```bash
|
||||||
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-ingestion-key={{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 <my-app>.jar
|
java -javaagent:<path>/opentelemetry-javaagent.jar -jar <my-app>.jar
|
||||||
```
|
```
|
||||||
|
@ -66,7 +66,7 @@ exporters:
|
|||||||
tls:
|
tls:
|
||||||
insecure: false
|
insecure: false
|
||||||
headers:
|
headers:
|
||||||
"signoz-access-token": "{{SIGNOZ_INGESTION_KEY}}"
|
"signoz-ingestion-key": "{{SIGNOZ_INGESTION_KEY}}"
|
||||||
logging:
|
logging:
|
||||||
verbosity: normal
|
verbosity: normal
|
||||||
service:
|
service:
|
||||||
|
@ -3,7 +3,7 @@ Once you are done intrumenting your Java application, you can run it using the b
|
|||||||
|
|
||||||
```bash
|
```bash
|
||||||
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-ingestion-key={{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 <my-app>.jar
|
java -javaagent:<path>/opentelemetry-javaagent.jar -jar <my-app>.jar
|
||||||
```
|
```
|
||||||
|
@ -66,7 +66,7 @@ exporters:
|
|||||||
tls:
|
tls:
|
||||||
insecure: false
|
insecure: false
|
||||||
headers:
|
headers:
|
||||||
"signoz-access-token": "{{SIGNOZ_INGESTION_KEY}}"
|
"signoz-ingestion-key": "{{SIGNOZ_INGESTION_KEY}}"
|
||||||
logging:
|
logging:
|
||||||
verbosity: normal
|
verbosity: normal
|
||||||
service:
|
service:
|
||||||
|
@ -3,7 +3,7 @@ Once you are done intrumenting your Java application, you can run it using the b
|
|||||||
|
|
||||||
```bash
|
```bash
|
||||||
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-ingestion-key={{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 <my-app>.jar
|
java -javaagent:<path>/opentelemetry-javaagent.jar -jar <my-app>.jar
|
||||||
```
|
```
|
||||||
|
@ -66,7 +66,7 @@ exporters:
|
|||||||
tls:
|
tls:
|
||||||
insecure: false
|
insecure: false
|
||||||
headers:
|
headers:
|
||||||
"signoz-access-token": "{{SIGNOZ_INGESTION_KEY}}"
|
"signoz-ingestion-key": "{{SIGNOZ_INGESTION_KEY}}"
|
||||||
logging:
|
logging:
|
||||||
verbosity: normal
|
verbosity: normal
|
||||||
service:
|
service:
|
||||||
|
@ -3,7 +3,7 @@ Run your application
|
|||||||
|
|
||||||
```bash
|
```bash
|
||||||
setx OTEL_RESOURCE_ATTRIBUTES=service.name={{MYAPP}}
|
setx OTEL_RESOURCE_ATTRIBUTES=service.name={{MYAPP}}
|
||||||
setx OTEL_EXPORTER_OTLP_HEADERS="signoz-access-token={{SIGNOZ_INGESTION_KEY}}"
|
setx OTEL_EXPORTER_OTLP_HEADERS="signoz-ingestion-key={{SIGNOZ_INGESTION_KEY}}"
|
||||||
setx OTEL_EXPORTER_OTLP_ENDPOINT=https://ingest.{{REGION}}.signoz.cloud:443
|
setx OTEL_EXPORTER_OTLP_ENDPOINT=https://ingest.{{REGION}}.signoz.cloud:443
|
||||||
```
|
```
|
||||||
|
|
||||||
|
@ -15,7 +15,7 @@ RUN wget https://github.com/open-telemetry/opentelemetry-java-instrumentation/re
|
|||||||
|
|
||||||
# Set environment variables and run your Spring Boot application
|
# Set environment variables and run your Spring Boot application
|
||||||
ENV OTEL_RESOURCE_ATTRIBUTES="service.name={{MYAPP}}" \
|
ENV OTEL_RESOURCE_ATTRIBUTES="service.name={{MYAPP}}" \
|
||||||
OTEL_EXPORTER_OTLP_HEADERS="signoz-access-token={{SIGNOZ_INGESTION_KEY}}" \
|
OTEL_EXPORTER_OTLP_HEADERS="signoz-ingestion-key={{SIGNOZ_INGESTION_KEY}}" \
|
||||||
OTEL_EXPORTER_OTLP_ENDPOINT="https://ingest.{{REGION}}.signoz.cloud:443"
|
OTEL_EXPORTER_OTLP_ENDPOINT="https://ingest.{{REGION}}.signoz.cloud:443"
|
||||||
|
|
||||||
# Copy the Spring Boot application JAR file into the container
|
# Copy the Spring Boot application JAR file into the container
|
||||||
|
@ -3,7 +3,7 @@ Once you are done intrumenting your Java application, you can run it using the b
|
|||||||
|
|
||||||
```bash
|
```bash
|
||||||
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-ingestion-key={{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 <my-app>.jar
|
java -javaagent:<path>/opentelemetry-javaagent.jar -jar <my-app>.jar
|
||||||
```
|
```
|
||||||
|
@ -66,7 +66,7 @@ exporters:
|
|||||||
tls:
|
tls:
|
||||||
insecure: false
|
insecure: false
|
||||||
headers:
|
headers:
|
||||||
"signoz-access-token": "{{SIGNOZ_INGESTION_KEY}}"
|
"signoz-ingestion-key": "{{SIGNOZ_INGESTION_KEY}}"
|
||||||
logging:
|
logging:
|
||||||
verbosity: normal
|
verbosity: normal
|
||||||
service:
|
service:
|
||||||
|
@ -3,7 +3,7 @@ Once you are done intrumenting your Java application, you can run it using the b
|
|||||||
|
|
||||||
```bash
|
```bash
|
||||||
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-ingestion-key={{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 <my-app>.jar
|
java -javaagent:<path>/opentelemetry-javaagent.jar -jar <my-app>.jar
|
||||||
```
|
```
|
||||||
|
@ -66,7 +66,7 @@ exporters:
|
|||||||
tls:
|
tls:
|
||||||
insecure: false
|
insecure: false
|
||||||
headers:
|
headers:
|
||||||
"signoz-access-token": "{{SIGNOZ_INGESTION_KEY}}"
|
"signoz-ingestion-key": "{{SIGNOZ_INGESTION_KEY}}"
|
||||||
logging:
|
logging:
|
||||||
verbosity: normal
|
verbosity: normal
|
||||||
service:
|
service:
|
||||||
|
@ -3,7 +3,7 @@ Once you are done intrumenting your Java application, you can run it using the b
|
|||||||
|
|
||||||
```bash
|
```bash
|
||||||
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-ingestion-key={{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 <my-app>.jar
|
java -javaagent:<path>/opentelemetry-javaagent.jar -jar <my-app>.jar
|
||||||
```
|
```
|
||||||
|
@ -66,7 +66,7 @@ exporters:
|
|||||||
tls:
|
tls:
|
||||||
insecure: false
|
insecure: false
|
||||||
headers:
|
headers:
|
||||||
"signoz-access-token": "{{SIGNOZ_INGESTION_KEY}}"
|
"signoz-ingestion-key": "{{SIGNOZ_INGESTION_KEY}}"
|
||||||
logging:
|
logging:
|
||||||
verbosity: normal
|
verbosity: normal
|
||||||
service:
|
service:
|
||||||
|
@ -3,7 +3,7 @@ Once you are done intrumenting your Java application, you can run it using the b
|
|||||||
|
|
||||||
```bash
|
```bash
|
||||||
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-ingestion-key={{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 <my-app>.jar
|
java -javaagent:<path>/opentelemetry-javaagent.jar -jar <my-app>.jar
|
||||||
```
|
```
|
||||||
|
@ -66,7 +66,7 @@ exporters:
|
|||||||
tls:
|
tls:
|
||||||
insecure: false
|
insecure: false
|
||||||
headers:
|
headers:
|
||||||
"signoz-access-token": "{{SIGNOZ_INGESTION_KEY}}"
|
"signoz-ingestion-key": "{{SIGNOZ_INGESTION_KEY}}"
|
||||||
logging:
|
logging:
|
||||||
verbosity: normal
|
verbosity: normal
|
||||||
service:
|
service:
|
||||||
|
@ -2,7 +2,7 @@ Run your application
|
|||||||
|
|
||||||
```bash
|
```bash
|
||||||
setx OTEL_RESOURCE_ATTRIBUTES=service.name={{MYAPP}}
|
setx OTEL_RESOURCE_ATTRIBUTES=service.name={{MYAPP}}
|
||||||
setx OTEL_EXPORTER_OTLP_HEADERS="signoz-access-token={{SIGNOZ_INGESTION_KEY}}"
|
setx OTEL_EXPORTER_OTLP_HEADERS="signoz-ingestion-key={{SIGNOZ_INGESTION_KEY}}"
|
||||||
setx OTEL_EXPORTER_OTLP_ENDPOINT=https://ingest.{{REGION}}.signoz.cloud:443
|
setx OTEL_EXPORTER_OTLP_ENDPOINT=https://ingest.{{REGION}}.signoz.cloud:443
|
||||||
```
|
```
|
||||||
|
|
||||||
|
@ -9,7 +9,7 @@ Create a `setenv.sh` file in the same directory as your Dockerfile
|
|||||||
```bash
|
```bash
|
||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
export CATALINA_OPTS="$CATALINA_OPTS -javaagent:/usr/local/tomcat/opentelemetry-javaagent.jar"
|
export CATALINA_OPTS="$CATALINA_OPTS -javaagent:/usr/local/tomcat/opentelemetry-javaagent.jar"
|
||||||
export OTEL_EXPORTER_OTLP_HEADERS="signoz-access-token={{SIGNOZ_INGESTION_KEY}}"
|
export OTEL_EXPORTER_OTLP_HEADERS="signoz-ingestion-key={{SIGNOZ_INGESTION_KEY}}"
|
||||||
export OTEL_EXPORTER_OTLP_ENDPOINT=https://ingest.{{REGION}}.signoz.cloud:443
|
export OTEL_EXPORTER_OTLP_ENDPOINT=https://ingest.{{REGION}}.signoz.cloud:443
|
||||||
export OTEL_RESOURCE_ATTRIBUTES=service.name={{MYAPP}}
|
export OTEL_RESOURCE_ATTRIBUTES=service.name={{MYAPP}}
|
||||||
```
|
```
|
||||||
|
@ -66,7 +66,7 @@ exporters:
|
|||||||
tls:
|
tls:
|
||||||
insecure: false
|
insecure: false
|
||||||
headers:
|
headers:
|
||||||
"signoz-access-token": "{{SIGNOZ_INGESTION_KEY}}"
|
"signoz-ingestion-key": "{{SIGNOZ_INGESTION_KEY}}"
|
||||||
logging:
|
logging:
|
||||||
verbosity: normal
|
verbosity: normal
|
||||||
service:
|
service:
|
||||||
|
@ -8,7 +8,7 @@ This should set these environment variables and start sending telemetry data to
|
|||||||
|
|
||||||
```bash
|
```bash
|
||||||
export CATALINA_OPTS="$CATALINA_OPTS -javaagent:/<path>/opentelemetry-javaagent.jar"
|
export CATALINA_OPTS="$CATALINA_OPTS -javaagent:/<path>/opentelemetry-javaagent.jar"
|
||||||
export OTEL_EXPORTER_OTLP_HEADERS="signoz-access-token={{SIGNOZ_INGESTION_KEY}}"
|
export OTEL_EXPORTER_OTLP_HEADERS="signoz-ingestion-key={{SIGNOZ_INGESTION_KEY}}"
|
||||||
export OTEL_EXPORTER_OTLP_ENDPOINT=https://ingest.{{REGION}}.signoz.cloud:443
|
export OTEL_EXPORTER_OTLP_ENDPOINT=https://ingest.{{REGION}}.signoz.cloud:443
|
||||||
export OTEL_RESOURCE_ATTRIBUTES=service.name={{MYAPP}}
|
export OTEL_RESOURCE_ATTRIBUTES=service.name={{MYAPP}}
|
||||||
```
|
```
|
||||||
|
@ -66,7 +66,7 @@ exporters:
|
|||||||
tls:
|
tls:
|
||||||
insecure: false
|
insecure: false
|
||||||
headers:
|
headers:
|
||||||
"signoz-access-token": "{{SIGNOZ_INGESTION_KEY}}"
|
"signoz-ingestion-key": "{{SIGNOZ_INGESTION_KEY}}"
|
||||||
logging:
|
logging:
|
||||||
verbosity: normal
|
verbosity: normal
|
||||||
service:
|
service:
|
||||||
|
@ -8,7 +8,7 @@ This should set these environment variables and start sending telemetry data to
|
|||||||
|
|
||||||
```bash
|
```bash
|
||||||
export CATALINA_OPTS="$CATALINA_OPTS -javaagent:/<path>/opentelemetry-javaagent.jar"
|
export CATALINA_OPTS="$CATALINA_OPTS -javaagent:/<path>/opentelemetry-javaagent.jar"
|
||||||
export OTEL_EXPORTER_OTLP_HEADERS="signoz-access-token={{SIGNOZ_INGESTION_KEY}}"
|
export OTEL_EXPORTER_OTLP_HEADERS="signoz-ingestion-key={{SIGNOZ_INGESTION_KEY}}"
|
||||||
export OTEL_EXPORTER_OTLP_ENDPOINT=https://ingest.{{REGION}}.signoz.cloud:443
|
export OTEL_EXPORTER_OTLP_ENDPOINT=https://ingest.{{REGION}}.signoz.cloud:443
|
||||||
export OTEL_RESOURCE_ATTRIBUTES=service.name={{MYAPP}}
|
export OTEL_RESOURCE_ATTRIBUTES=service.name={{MYAPP}}
|
||||||
```
|
```
|
||||||
|
@ -66,7 +66,7 @@ exporters:
|
|||||||
tls:
|
tls:
|
||||||
insecure: false
|
insecure: false
|
||||||
headers:
|
headers:
|
||||||
"signoz-access-token": "{{SIGNOZ_INGESTION_KEY}}"
|
"signoz-ingestion-key": "{{SIGNOZ_INGESTION_KEY}}"
|
||||||
logging:
|
logging:
|
||||||
verbosity: normal
|
verbosity: normal
|
||||||
service:
|
service:
|
||||||
|
@ -8,7 +8,7 @@ This should set these environment variables and start sending telemetry data to
|
|||||||
|
|
||||||
```bash
|
```bash
|
||||||
export CATALINA_OPTS="$CATALINA_OPTS -javaagent:/<path>/opentelemetry-javaagent.jar"
|
export CATALINA_OPTS="$CATALINA_OPTS -javaagent:/<path>/opentelemetry-javaagent.jar"
|
||||||
export OTEL_EXPORTER_OTLP_HEADERS="signoz-access-token={{SIGNOZ_INGESTION_KEY}}"
|
export OTEL_EXPORTER_OTLP_HEADERS="signoz-ingestion-key={{SIGNOZ_INGESTION_KEY}}"
|
||||||
export OTEL_EXPORTER_OTLP_ENDPOINT=https://ingest.{{REGION}}.signoz.cloud:443
|
export OTEL_EXPORTER_OTLP_ENDPOINT=https://ingest.{{REGION}}.signoz.cloud:443
|
||||||
export OTEL_RESOURCE_ATTRIBUTES=service.name={{MYAPP}}
|
export OTEL_RESOURCE_ATTRIBUTES=service.name={{MYAPP}}
|
||||||
```
|
```
|
||||||
|
@ -66,7 +66,7 @@ exporters:
|
|||||||
tls:
|
tls:
|
||||||
insecure: false
|
insecure: false
|
||||||
headers:
|
headers:
|
||||||
"signoz-access-token": "{{SIGNOZ_INGESTION_KEY}}"
|
"signoz-ingestion-key": "{{SIGNOZ_INGESTION_KEY}}"
|
||||||
logging:
|
logging:
|
||||||
verbosity: normal
|
verbosity: normal
|
||||||
service:
|
service:
|
||||||
|
@ -8,7 +8,7 @@ This should set these environment variables and start sending telemetry data to
|
|||||||
|
|
||||||
```bash
|
```bash
|
||||||
export CATALINA_OPTS="$CATALINA_OPTS -javaagent:/<path>/opentelemetry-javaagent.jar"
|
export CATALINA_OPTS="$CATALINA_OPTS -javaagent:/<path>/opentelemetry-javaagent.jar"
|
||||||
export OTEL_EXPORTER_OTLP_HEADERS="signoz-access-token={{SIGNOZ_INGESTION_KEY}}"
|
export OTEL_EXPORTER_OTLP_HEADERS="signoz-ingestion-key={{SIGNOZ_INGESTION_KEY}}"
|
||||||
export OTEL_EXPORTER_OTLP_ENDPOINT=https://ingest.{{REGION}}.signoz.cloud:443
|
export OTEL_EXPORTER_OTLP_ENDPOINT=https://ingest.{{REGION}}.signoz.cloud:443
|
||||||
export OTEL_RESOURCE_ATTRIBUTES=service.name={{MYAPP}}
|
export OTEL_RESOURCE_ATTRIBUTES=service.name={{MYAPP}}
|
||||||
```
|
```
|
||||||
|
@ -66,7 +66,7 @@ exporters:
|
|||||||
tls:
|
tls:
|
||||||
insecure: false
|
insecure: false
|
||||||
headers:
|
headers:
|
||||||
"signoz-access-token": "{{SIGNOZ_INGESTION_KEY}}"
|
"signoz-ingestion-key": "{{SIGNOZ_INGESTION_KEY}}"
|
||||||
logging:
|
logging:
|
||||||
verbosity: normal
|
verbosity: normal
|
||||||
service:
|
service:
|
||||||
|
@ -8,7 +8,7 @@ This should set these environment variables and start sending telemetry data to
|
|||||||
|
|
||||||
```bash
|
```bash
|
||||||
set CATALINA_OPTS=%CATALINA_OPTS% -javaagent:C:\path\to\opentelemetry-javaagent.jar
|
set CATALINA_OPTS=%CATALINA_OPTS% -javaagent:C:\path\to\opentelemetry-javaagent.jar
|
||||||
set OTEL_EXPORTER_OTLP_HEADERS=signoz-access-token={{SIGNOZ_INGESTION_KEY}}
|
set OTEL_EXPORTER_OTLP_HEADERS=signoz-ingestion-key={{SIGNOZ_INGESTION_KEY}}
|
||||||
set OTEL_EXPORTER_OTLP_ENDPOINT=https://ingest.{{REGION}}.signoz.cloud:443
|
set OTEL_EXPORTER_OTLP_ENDPOINT=https://ingest.{{REGION}}.signoz.cloud:443
|
||||||
set OTEL_RESOURCE_ATTRIBUTES=service.name={{MYAPP}}
|
set OTEL_RESOURCE_ATTRIBUTES=service.name={{MYAPP}}
|
||||||
```
|
```
|
@ -66,7 +66,7 @@ exporters:
|
|||||||
tls:
|
tls:
|
||||||
insecure: false
|
insecure: false
|
||||||
headers:
|
headers:
|
||||||
"signoz-access-token": "{{SIGNOZ_INGESTION_KEY}}"
|
"signoz-ingestion-key": "{{SIGNOZ_INGESTION_KEY}}"
|
||||||
logging:
|
logging:
|
||||||
verbosity: normal
|
verbosity: normal
|
||||||
service:
|
service:
|
||||||
|
@ -29,7 +29,7 @@ Step 2. Run your application
|
|||||||
|
|
||||||
```bash
|
```bash
|
||||||
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-ingestion-key={{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 {{MYAPP}}.jar
|
||||||
```
|
```
|
||||||
|
@ -37,7 +37,7 @@ Update `JAVA_OPTS` environment variable with configurations required to send dat
|
|||||||
```bash
|
```bash
|
||||||
JAVA_OPTS="-javaagent:/<path>/opentelemetry-javaagent.jar
|
JAVA_OPTS="-javaagent:/<path>/opentelemetry-javaagent.jar
|
||||||
-Dotel.exporter.otlp.endpoint=https://ingest.{{REGION}}.signoz.cloud:443
|
-Dotel.exporter.otlp.endpoint=https://ingest.{{REGION}}.signoz.cloud:443
|
||||||
-Dotel.exporter.otlp.headers="signoz-access-token={{SIGNOZ_INGESTION_KEY}}"
|
-Dotel.exporter.otlp.headers="signoz-ingestion-key={{SIGNOZ_INGESTION_KEY}}"
|
||||||
-Dotel.resource.attributes="service.name={{MYAPP}}""
|
-Dotel.resource.attributes="service.name={{MYAPP}}""
|
||||||
```
|
```
|
||||||
You need to replace the following things based on your environment:
|
You need to replace the following things based on your environment:
|
||||||
|
@ -28,7 +28,7 @@ Step 2. Run your application
|
|||||||
|
|
||||||
```bash
|
```bash
|
||||||
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-ingestion-key={{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 {{MYAPP}}.jar
|
||||||
```
|
```
|
||||||
|
@ -31,7 +31,7 @@ If you run your `.war` package by putting in `webapps` folder, just add `setenv.
|
|||||||
|
|
||||||
```bash
|
```bash
|
||||||
export CATALINA_OPTS="$CATALINA_OPTS -javaagent:/<path>/opentelemetry-javaagent.jar"
|
export CATALINA_OPTS="$CATALINA_OPTS -javaagent:/<path>/opentelemetry-javaagent.jar"
|
||||||
export OTEL_EXPORTER_OTLP_HEADERS="signoz-access-token={{SIGNOZ_INGESTION_KEY}}"
|
export OTEL_EXPORTER_OTLP_HEADERS="signoz-ingestion-key={{SIGNOZ_INGESTION_KEY}}"
|
||||||
export OTEL_EXPORTER_OTLP_ENDPOINT=https://ingest.{{REGION}}.signoz.cloud:443
|
export OTEL_EXPORTER_OTLP_ENDPOINT=https://ingest.{{REGION}}.signoz.cloud:443
|
||||||
export OTEL_RESOURCE_ATTRIBUTES=service.name={{MYAPP}}
|
export OTEL_RESOURCE_ATTRIBUTES=service.name={{MYAPP}}
|
||||||
```
|
```
|
||||||
|
@ -46,7 +46,7 @@ provider.addSpanProcessor(
|
|||||||
new OTLPTraceExporter({
|
new OTLPTraceExporter({
|
||||||
url: 'https://ingest.{{REGION}}.signoz.cloud:443/v1/traces',
|
url: 'https://ingest.{{REGION}}.signoz.cloud:443/v1/traces',
|
||||||
headers: {
|
headers: {
|
||||||
'signoz-access-token': '{{SIGNOZ_INGESTION_KEY}}',
|
'signoz-ingestion-key': '{{SIGNOZ_INGESTION_KEY}}',
|
||||||
},
|
},
|
||||||
})
|
})
|
||||||
)
|
)
|
||||||
|
@ -45,7 +45,7 @@ provider.addSpanProcessor(
|
|||||||
new OTLPTraceExporter({
|
new OTLPTraceExporter({
|
||||||
url: 'https://ingest.{{REGION}}.signoz.cloud:443/v1/traces',
|
url: 'https://ingest.{{REGION}}.signoz.cloud:443/v1/traces',
|
||||||
headers: {
|
headers: {
|
||||||
'signoz-access-token': '{{SIGNOZ_INGESTION_KEY}}',
|
'signoz-ingestion-key': '{{SIGNOZ_INGESTION_KEY}}',
|
||||||
},
|
},
|
||||||
})
|
})
|
||||||
)
|
)
|
||||||
|
@ -69,7 +69,7 @@ exporters:
|
|||||||
tls:
|
tls:
|
||||||
insecure: false
|
insecure: false
|
||||||
headers:
|
headers:
|
||||||
"signoz-access-token": "{{SIGNOZ_INGESTION_KEY}}"
|
"signoz-ingestion-key": "{{SIGNOZ_INGESTION_KEY}}"
|
||||||
logging:
|
logging:
|
||||||
verbosity: normal
|
verbosity: normal
|
||||||
service:
|
service:
|
||||||
|
@ -45,7 +45,7 @@ provider.addSpanProcessor(
|
|||||||
new OTLPTraceExporter({
|
new OTLPTraceExporter({
|
||||||
url: 'https://ingest.{{REGION}}.signoz.cloud:443/v1/traces',
|
url: 'https://ingest.{{REGION}}.signoz.cloud:443/v1/traces',
|
||||||
headers: {
|
headers: {
|
||||||
'signoz-access-token': '{{SIGNOZ_INGESTION_KEY}}',
|
'signoz-ingestion-key': '{{SIGNOZ_INGESTION_KEY}}',
|
||||||
},
|
},
|
||||||
})
|
})
|
||||||
)
|
)
|
||||||
|
@ -69,7 +69,7 @@ exporters:
|
|||||||
tls:
|
tls:
|
||||||
insecure: false
|
insecure: false
|
||||||
headers:
|
headers:
|
||||||
"signoz-access-token": "{{SIGNOZ_INGESTION_KEY}}"
|
"signoz-ingestion-key": "{{SIGNOZ_INGESTION_KEY}}"
|
||||||
logging:
|
logging:
|
||||||
verbosity: normal
|
verbosity: normal
|
||||||
service:
|
service:
|
||||||
|
@ -45,7 +45,7 @@ provider.addSpanProcessor(
|
|||||||
new OTLPTraceExporter({
|
new OTLPTraceExporter({
|
||||||
url: 'https://ingest.{{REGION}}.signoz.cloud:443/v1/traces',
|
url: 'https://ingest.{{REGION}}.signoz.cloud:443/v1/traces',
|
||||||
headers: {
|
headers: {
|
||||||
'signoz-access-token': '{{SIGNOZ_INGESTION_KEY}}',
|
'signoz-ingestion-key': '{{SIGNOZ_INGESTION_KEY}}',
|
||||||
},
|
},
|
||||||
})
|
})
|
||||||
)
|
)
|
||||||
|
@ -69,7 +69,7 @@ exporters:
|
|||||||
tls:
|
tls:
|
||||||
insecure: false
|
insecure: false
|
||||||
headers:
|
headers:
|
||||||
"signoz-access-token": "{{SIGNOZ_INGESTION_KEY}}"
|
"signoz-ingestion-key": "{{SIGNOZ_INGESTION_KEY}}"
|
||||||
logging:
|
logging:
|
||||||
verbosity: normal
|
verbosity: normal
|
||||||
service:
|
service:
|
||||||
|
@ -45,7 +45,7 @@ provider.addSpanProcessor(
|
|||||||
new OTLPTraceExporter({
|
new OTLPTraceExporter({
|
||||||
url: 'https://ingest.{{REGION}}.signoz.cloud:443/v1/traces',
|
url: 'https://ingest.{{REGION}}.signoz.cloud:443/v1/traces',
|
||||||
headers: {
|
headers: {
|
||||||
'signoz-access-token': '{{SIGNOZ_INGESTION_KEY}}',
|
'signoz-ingestion-key': '{{SIGNOZ_INGESTION_KEY}}',
|
||||||
},
|
},
|
||||||
})
|
})
|
||||||
)
|
)
|
||||||
|
@ -69,7 +69,7 @@ exporters:
|
|||||||
tls:
|
tls:
|
||||||
insecure: false
|
insecure: false
|
||||||
headers:
|
headers:
|
||||||
"signoz-access-token": "{{SIGNOZ_INGESTION_KEY}}"
|
"signoz-ingestion-key": "{{SIGNOZ_INGESTION_KEY}}"
|
||||||
logging:
|
logging:
|
||||||
verbosity: normal
|
verbosity: normal
|
||||||
service:
|
service:
|
||||||
|
@ -46,7 +46,7 @@ provider.addSpanProcessor(
|
|||||||
new OTLPTraceExporter({
|
new OTLPTraceExporter({
|
||||||
url: 'https://ingest.{{REGION}}.signoz.cloud:443/v1/traces',
|
url: 'https://ingest.{{REGION}}.signoz.cloud:443/v1/traces',
|
||||||
headers: {
|
headers: {
|
||||||
'signoz-access-token': '{{SIGNOZ_INGESTION_KEY}}',
|
'signoz-ingestion-key': '{{SIGNOZ_INGESTION_KEY}}',
|
||||||
},
|
},
|
||||||
})
|
})
|
||||||
)
|
)
|
||||||
|
@ -63,7 +63,7 @@ Set the SigNoz ingestion key Environment variable and update your run command to
|
|||||||
```bash
|
```bash
|
||||||
...
|
...
|
||||||
# Use an environment variable for the Signoz Ingestion Key
|
# Use an environment variable for the Signoz Ingestion Key
|
||||||
ENV OTEL_EXPORTER_OTLP_HEADERS="signoz-access-token={{SIGNOZ_INGESTION_KEY}}"
|
ENV OTEL_EXPORTER_OTLP_HEADERS="signoz-ingestion-key={{SIGNOZ_INGESTION_KEY}}"
|
||||||
|
|
||||||
# Run the app with the required OpenTelemetry configuration. app.js is your application main file.
|
# Run the app with the required OpenTelemetry configuration. app.js is your application main file.
|
||||||
CMD ["node", "-r", "./tracing.js", "app.js"]
|
CMD ["node", "-r", "./tracing.js", "app.js"]
|
||||||
|
@ -3,7 +3,7 @@
|
|||||||
Once you are done intrumenting your JavaScript application, you can run it using the below command
|
Once you are done intrumenting your JavaScript application, you can run it using the below command
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
OTEL_EXPORTER_OTLP_HEADERS="signoz-access-token={{SIGNOZ_INGESTION_KEY}}" node -r ./tracing.js app.js
|
OTEL_EXPORTER_OTLP_HEADERS="signoz-ingestion-key={{SIGNOZ_INGESTION_KEY}}" node -r ./tracing.js app.js
|
||||||
```
|
```
|
||||||
|
|
||||||
|
|
||||||
|
@ -66,7 +66,7 @@ exporters:
|
|||||||
tls:
|
tls:
|
||||||
insecure: false
|
insecure: false
|
||||||
headers:
|
headers:
|
||||||
"signoz-access-token": "{{SIGNOZ_INGESTION_KEY}}"
|
"signoz-ingestion-key": "{{SIGNOZ_INGESTION_KEY}}"
|
||||||
logging:
|
logging:
|
||||||
verbosity: normal
|
verbosity: normal
|
||||||
service:
|
service:
|
||||||
|
@ -3,7 +3,7 @@
|
|||||||
Once you are done intrumenting your JavaScript application, you can run it using the below command
|
Once you are done intrumenting your JavaScript application, you can run it using the below command
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
OTEL_EXPORTER_OTLP_HEADERS="signoz-access-token={{SIGNOZ_INGESTION_KEY}}" node -r ./tracing.js app.js
|
OTEL_EXPORTER_OTLP_HEADERS="signoz-ingestion-key={{SIGNOZ_INGESTION_KEY}}" node -r ./tracing.js app.js
|
||||||
```
|
```
|
||||||
|
|
||||||
|
|
||||||
|
@ -66,7 +66,7 @@ exporters:
|
|||||||
tls:
|
tls:
|
||||||
insecure: false
|
insecure: false
|
||||||
headers:
|
headers:
|
||||||
"signoz-access-token": "{{SIGNOZ_INGESTION_KEY}}"
|
"signoz-ingestion-key": "{{SIGNOZ_INGESTION_KEY}}"
|
||||||
logging:
|
logging:
|
||||||
verbosity: normal
|
verbosity: normal
|
||||||
service:
|
service:
|
||||||
|
@ -3,7 +3,7 @@
|
|||||||
Once you are done intrumenting your JavaScript application, you can run it using the below command
|
Once you are done intrumenting your JavaScript application, you can run it using the below command
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
OTEL_EXPORTER_OTLP_HEADERS="signoz-access-token={{SIGNOZ_INGESTION_KEY}}" node -r ./tracing.js app.js
|
OTEL_EXPORTER_OTLP_HEADERS="signoz-ingestion-key={{SIGNOZ_INGESTION_KEY}}" node -r ./tracing.js app.js
|
||||||
```
|
```
|
||||||
|
|
||||||
|
|
||||||
|
@ -66,7 +66,7 @@ exporters:
|
|||||||
tls:
|
tls:
|
||||||
insecure: false
|
insecure: false
|
||||||
headers:
|
headers:
|
||||||
"signoz-access-token": "{{SIGNOZ_INGESTION_KEY}}"
|
"signoz-ingestion-key": "{{SIGNOZ_INGESTION_KEY}}"
|
||||||
logging:
|
logging:
|
||||||
verbosity: normal
|
verbosity: normal
|
||||||
service:
|
service:
|
||||||
|
@ -3,7 +3,7 @@
|
|||||||
Once you are done intrumenting your JavaScript application, you can run it using the below command
|
Once you are done intrumenting your JavaScript application, you can run it using the below command
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
OTEL_EXPORTER_OTLP_HEADERS="signoz-access-token={{SIGNOZ_INGESTION_KEY}}" node -r ./tracing.js app.js
|
OTEL_EXPORTER_OTLP_HEADERS="signoz-ingestion-key={{SIGNOZ_INGESTION_KEY}}" node -r ./tracing.js app.js
|
||||||
```
|
```
|
||||||
|
|
||||||
|
|
||||||
|
@ -66,7 +66,7 @@ exporters:
|
|||||||
tls:
|
tls:
|
||||||
insecure: false
|
insecure: false
|
||||||
headers:
|
headers:
|
||||||
"signoz-access-token": "{{SIGNOZ_INGESTION_KEY}}"
|
"signoz-ingestion-key": "{{SIGNOZ_INGESTION_KEY}}"
|
||||||
logging:
|
logging:
|
||||||
verbosity: normal
|
verbosity: normal
|
||||||
service:
|
service:
|
||||||
|
@ -92,7 +92,7 @@ Set the SigNoz ingestion key Environment variable and expose port 3001 in Docker
|
|||||||
```bash
|
```bash
|
||||||
...
|
...
|
||||||
# Use an environment variable for the Signoz Ingestion Key
|
# Use an environment variable for the Signoz Ingestion Key
|
||||||
ENV OTEL_EXPORTER_OTLP_HEADERS="signoz-access-token={{SIGNOZ_INGESTION_KEY}}"
|
ENV OTEL_EXPORTER_OTLP_HEADERS="signoz-ingestion-key={{SIGNOZ_INGESTION_KEY}}"
|
||||||
|
|
||||||
# In step 4 above, you are configuring your NestJS application to listen on port 3001
|
# In step 4 above, you are configuring your NestJS application to listen on port 3001
|
||||||
EXPOSE 3001
|
EXPOSE 3001
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
After your instrumentation is done, start your application
|
After your instrumentation is done, start your application
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
OTEL_EXPORTER_OTLP_HEADERS="signoz-access-token={{SIGNOZ_INGESTION_KEY}}" nest start
|
OTEL_EXPORTER_OTLP_HEADERS="signoz-ingestion-key={{SIGNOZ_INGESTION_KEY}}" nest start
|
||||||
```
|
```
|
||||||
|
|
||||||
|
|
||||||
|
@ -66,7 +66,7 @@ exporters:
|
|||||||
tls:
|
tls:
|
||||||
insecure: false
|
insecure: false
|
||||||
headers:
|
headers:
|
||||||
"signoz-access-token": "{{SIGNOZ_INGESTION_KEY}}"
|
"signoz-ingestion-key": "{{SIGNOZ_INGESTION_KEY}}"
|
||||||
logging:
|
logging:
|
||||||
verbosity: normal
|
verbosity: normal
|
||||||
service:
|
service:
|
||||||
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
x
Reference in New Issue
Block a user