Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Set OTEL_EXPORTER_OTLP_METRICS_ENDPOINT needed for Java agent #237

Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 3 additions & 1 deletion .env
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,8 @@ COLLECTOR_ZIPKIN_HOST_PORT=:9411
OTEL_EXPORTER_OTLP_TRACES_ENDPOINT=http://otelcol:4317
OTEL_EXPORTER_OTLP_ENDPOINT=${OTEL_EXPORTER_OTLP_TRACES_ENDPOINT}

cartersocha marked this conversation as resolved.
Show resolved Hide resolved
OTEL_EXPORTER_OTLP_METRICS_ENDPOINT=${OTEL_EXPORTER_OTLP_TRACES_ENDPOINT}

# Load Generator
USERS=10

Expand Down Expand Up @@ -55,4 +57,4 @@ FEATURE_FLAG_GRPC_SERVICE_PORT=50053
PROMETHEUS_SERVICE_PORT=9090

# Grafana
GRAFANA_SERVICE_PORT=3000
GRAFANA_SERVICE_PORT=3000
1 change: 1 addition & 0 deletions docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,7 @@ services:
environment:
- AD_SERVICE_PORT
- OTEL_EXPORTER_OTLP_TRACES_ENDPOINT
- OTEL_EXPORTER_OTLP_METRICS_ENDPOINT
- OTEL_RESOURCE_ATTRIBUTES=service.name=adservice
depends_on:
- otelcol
Expand Down
Binary file modified src/adservice/agent/opentelemetry-javaagent.jar
Binary file not shown.