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

Project (almost) finished #7

Merged
merged 24 commits into from
Jun 22, 2024
Merged
Changes from 1 commit
Commits
Show all changes
24 commits
Select commit Hold shift + click to select a range
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
Prev Previous commit
Next Next commit
Merge branch 'develop' into new_backend
  • Loading branch information
noellrr committed Apr 29, 2024
commit abd34a4ed499b4d0b79bf31520fd7429d11bc669
25 changes: 21 additions & 4 deletions sample/otel-in-action/docker-compose.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ services:
- POSTGRES_USER=matthias
- POSTGRES_DB=mydb


# todobackend-springboot:
# image: todobackend:v2402
# networks:
Expand All @@ -40,6 +41,7 @@ services:
# - postgresdb

todobackend-django:

build:
context: ./todobackend_django
dockerfile: Dockerfile
Expand All @@ -49,6 +51,19 @@ services:
- "8000:8000"
restart: unless-stopped

environment:
- SPRING_PROFILES_ACTIVE=prod
# - OTEL_EXPORTER_OTLP_ENDPOINT=http:https://jaeger:4318 # http endpoint
- OTEL_EXPORTER_OTLP_ENDPOINT=otelcol:4317
- OTEL_EXPORTER_OTLP_METRICS_ENDPOINT=otelcol:4317
- OTEL_EXPORTER_OTLP_TRACES_PROTOCOL=grpc
- OTEL_EXPORTER_OTLP_METRICS_PROTOCOL=grpc
- OTEL_RESOURCE_ATTRIBUTES=service.name=todobackend-springboot
- OTEL_METRICS_EXPORTER=otlp,logging-otlp
- OTEL_LOGS_EXPORTER=none
depends_on:
- postgresdb


todoui-thymeleaf:
image: maeddes/todoui-thymeleaf:v2404
Expand All @@ -60,9 +75,10 @@ services:
ports:
- "8090:8090"
environment:
#- BACKEND_URL=http:https://todobackend-springboot:8080/ ÄNDERN
- OTEL_EXPORTER_OTLP_ENDPOINT=${OTEL_EXPORTER_OTLP_ENDPOINT}
- OTEL_EXPORTER_OTLP_METRICS_ENDPOINT=${OTEL_EXPORTER_OTLP_ENDPOINT}
# - BACKEND_URL=http:https://todobackend-springboot:8080/ ÄNDERN
- OTEL_EXPORTER_OTLP_ENDPOINT=otelcol:4317
- OTEL_EXPORTER_OTLP_METRICS_ENDPOINT=otelcol:4317

- OTEL_EXPORTER_OTLP_TRACES_PROTOCOL=grpc
- OTEL_EXPORTER_OTLP_METRICS_PROTOCOL=grpc
- OTEL_RESOURCE_ATTRIBUTES=service.name=todoui-thymeleaf
Expand All @@ -79,7 +95,8 @@ services:
- "5001:5000"
environment:
#- BACKEND_URL=http:https://todobackend-springboot:8080/todos/ ÄNDERN
- OTEL_EXPORTER_OTLP_ENDPOINT=${OTEL_EXPORTER_OTLP_ENDPOINT}
- OTEL_EXPORTER_OTLP_ENDPOINT=otelcol:4317

- OTEL_RESOURCE_ATTRIBUTES=service.name=todoui-flask
- OTEL_METRICS_EXPORTER=otlp

Expand Down
You are viewing a condensed version of this merge commit. You can view the full changes here.