-
Notifications
You must be signed in to change notification settings - Fork 28
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
2 changed files
with
28 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
#!/bin/sh | ||
|
||
# dev-jmacd in staging | ||
# export LS_ACCESS_TOKEN=42f288975e1b8048d49ff5214d0359b2 | ||
# export LS_SERVICE_NAME=v10 | ||
# export OTEL_EXPORTER_OTLP_METRIC_TEMPORALITY_PREFERENCE=delta | ||
# export OTEL_EXPORTER_OTLP_SPAN_ENDPOINT=ingest.staging.lightstep.com:443 | ||
# export OTEL_EXPORTER_OTLP_SPAN_INSECURE=false | ||
# export OTEL_EXPORTER_OTLP_METRIC_ENDPOINT=ingest.staging.lightstep.com:443 | ||
# export OTEL_EXPORTER_OTLP_METRIC_INSECURE=false | ||
# export OTEL_EXPORTER_OTLP_METRIC_PERIOD=10s | ||
|
||
export LS_ACCESS_TOKEN=42f288975e1b8048d49ff5214d0359b2 | ||
export LS_SERVICE_NAME=hello | ||
|
||
export OTEL_EXPORTER_OTLP_METRIC_TEMPORALITY_PREFERENCE=delta | ||
export OTEL_EXPORTER_OTLP_SPAN_ENDPOINT=127.0.0.1:4317 | ||
export OTEL_EXPORTER_OTLP_SPAN_INSECURE=true | ||
export OTEL_EXPORTER_OTLP_METRIC_ENDPOINT=127.0.0.1:4317 | ||
export OTEL_EXPORTER_OTLP_METRIC_INSECURE=true | ||
export OTEL_EXPORTER_OTLP_METRIC_PERIOD=10s | ||
|
||
go run . |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
OTEL_EXPORTER_OTLP_SPAN_ENDPOINT=127.0.0.1:4317 OTEL_EXPORTER_OTLP_SPAN_INSECURE=true LS_SERVICE_NAME=hello_world LS_ACCESS_TOKEN=1234 LS_METRICS_ENABLED=false go run trace.go | ||
|
||
#OTEL_EXPORTER_OTLP_SPAN_ENDPOINT=spaningest.staging.lightstep.com:443 OTEL_EXPORTER_OTLP_SPAN_INSECURE=false LS_SERVICE_NAME=hello_world LS_ACCESS_TOKEN=42f288975e1b8048d49ff5214d0359b2 go run trace.go | ||
|
||
#OTEL_EXPORTER_OTLP_SPAN_ENDPOINT=localhost:8360 OTEL_EXPORTER_OTLP_SPAN_INSECURE=true LS_SERVICE_NAME=hello_world LS_ACCESS_TOKEN=developer LS_METRICS_ENABLED=true go run trace.go |