Skip to content

Commit 8413826

Browse files
committed
run.sh
1 parent 3684834 commit 8413826

2 files changed

Lines changed: 28 additions & 0 deletions

File tree

examples/metrics/run.sh

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
#!/bin/sh
2+
3+
# dev-jmacd in staging
4+
# export LS_ACCESS_TOKEN=42f288975e1b8048d49ff5214d0359b2
5+
# export LS_SERVICE_NAME=v10
6+
# export OTEL_EXPORTER_OTLP_METRIC_TEMPORALITY_PREFERENCE=delta
7+
# export OTEL_EXPORTER_OTLP_SPAN_ENDPOINT=ingest.staging.lightstep.com:443
8+
# export OTEL_EXPORTER_OTLP_SPAN_INSECURE=false
9+
# export OTEL_EXPORTER_OTLP_METRIC_ENDPOINT=ingest.staging.lightstep.com:443
10+
# export OTEL_EXPORTER_OTLP_METRIC_INSECURE=false
11+
# export OTEL_EXPORTER_OTLP_METRIC_PERIOD=10s
12+
13+
export LS_ACCESS_TOKEN=42f288975e1b8048d49ff5214d0359b2
14+
export LS_SERVICE_NAME=hello
15+
16+
export OTEL_EXPORTER_OTLP_METRIC_TEMPORALITY_PREFERENCE=delta
17+
export OTEL_EXPORTER_OTLP_SPAN_ENDPOINT=127.0.0.1:4317
18+
export OTEL_EXPORTER_OTLP_SPAN_INSECURE=true
19+
export OTEL_EXPORTER_OTLP_METRIC_ENDPOINT=127.0.0.1:4317
20+
export OTEL_EXPORTER_OTLP_METRIC_INSECURE=true
21+
export OTEL_EXPORTER_OTLP_METRIC_PERIOD=10s
22+
23+
go run .

examples/tracing/run.sh

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
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
2+
3+
#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
4+
5+
#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

0 commit comments

Comments
 (0)