Skip to content

Commit

Permalink
Merge pull request #134 from krzko/fix-timeout-issue
Browse files Browse the repository at this point in the history
fix: otlp default endpoint values
  • Loading branch information
krzko authored Oct 9, 2024
2 parents 1aaa964 + 4748949 commit 2aa3e0d
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 7 deletions.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
OUTPUT:=bin
EXECUTABLE:=run-o11y-run

VERSION:=v0.13.1
VERSION:=v0.13.2
COMMIT=$(shell git describe --tags --always --long)
NOW=$(shell date +'%Y%m%d')

Expand Down
2 changes: 1 addition & 1 deletion dockerfiles/otel-collector/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
# dependabot will update this file when base image is updated
FROM otel/opentelemetry-collector-contrib:0.110.0
FROM otel/opentelemetry-collector-contrib:0.111.0
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ services:
retries: 5

otel-collector:
image: otel/opentelemetry-collector-contrib:0.110.0
image: otel/opentelemetry-collector-contrib:0.111.0
container_name: otel-collector
command: [ "--config=/etc/otel-collector.yaml" ]
volumes:
Expand Down Expand Up @@ -117,8 +117,6 @@ services:
- ../shared/tempo.yaml:/etc/tempo.yaml
- ./tempo-data:/tmp/tempo
ports:
# - "4317:4317" # otlp grpc
# - "4318:4318" # otlp http
- "14268:14268" # jaeger ingest
- "3200:3200" # tempo
- "9095:9095" # tempo grpc
Expand Down
11 changes: 9 additions & 2 deletions internal/files/files/grafana/shared/otel-collector.yaml.tmpl
Original file line number Diff line number Diff line change
Expand Up @@ -15,10 +15,17 @@ receivers:
otlp:
protocols:
grpc:
endpoint: 0.0.0.0:4317
http:
endpoint: 0.0.0.0:4318
cors:
allowed_origins:
- "*"
allowed_headers:
- "*"
syslog:
tcp:
listen_address: "0.0.0.0:8094"
listen_address: 0.0.0.0:8094
protocol: rfc3164
location: UTC
operators:
Expand Down Expand Up @@ -63,4 +70,4 @@ service:
telemetry:
logs:
level: "debug"
{{- end }}
{{- end }}

0 comments on commit 2aa3e0d

Please sign in to comment.