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

Add OpenTelemetry support #85

Open
wants to merge 26 commits into
base: master
Choose a base branch
from
Open
Changes from 2 commits
Commits
Show all changes
26 commits
Select commit Hold shift + click to select a range
6965d67
add docker-compose
Iffern Nov 29, 2022
1621f53
working version
Iffern Dec 28, 2022
1788cba
Use opentelemetry-collector
lwronski Jan 1, 2023
24a4081
Merge pull request #1 from lwronski/opentelemetry
Iffern Jan 1, 2023
b5f9bd2
move require tracing higher
Iffern Jan 14, 2023
81d3201
Downgrade package version
lwronski Jan 14, 2023
703014a
Propagate trace_id and span_id to job-executor
lwronski Jan 14, 2023
e9a4ac2
Merge pull request #2 from lwronski/opentelemetry
iczajowska Jan 15, 2023
43ce38b
Use Provider abd Processor from node SDK
lwronski Jan 15, 2023
2a3e595
Merge pull request #3 from lwronski/opentelemetry
Iffern Jan 16, 2023
56804aa
add tracing to kubernetes
Iffern Jan 18, 2023
240af20
node auto instrumentation
iczajowska Jan 18, 2023
9ea7108
update method call
Iffern Jan 18, 2023
15f011b
Merge pull request #4 from hyperflow-lsc/opentelemetry-instr
Iffern Jan 22, 2023
c87b5bd
Merge branch 'opentelemetry' into kubernetes
Iffern Jan 22, 2023
36b1766
add tracing to .dockerignore
Iffern Jan 22, 2023
3129713
cleanup package.json
Iffern Jan 22, 2023
f188ad8
cleanup
Iffern Jan 23, 2023
6407fd5
delete docker-compose.yaml
Iffern Jan 23, 2023
d81c756
add span.end()
Iffern Jan 23, 2023
e6789a3
add span.end()
Iffern Jan 23, 2023
0f36425
update async spans
Iffern Jan 23, 2023
5d116b6
Merge pull request #6 from hyperflow-lsc/attibutes_cleanup
Iffern Jan 23, 2023
8f147cc
update package-lock.json
Iffern Jan 23, 2023
844e4e3
remove unnecessary changes
Iffern Jan 23, 2023
ff6ae59
move configuration to env variables
Iffern Jan 25, 2023
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
35 changes: 35 additions & 0 deletions collector-gateway.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
receivers:
otlp:
protocols:
http:
endpoint: 0.0.0.0:4318
grpc:
endpoint: 0.0.0.0:4317
processors:
batch:
timeout: 1s
resource:
attributes:
- key: test.key
value: "test-value"
action: insert
exporters:
logging:
loglevel: info
jaeger:
endpoint: jaeger:14250
tls:
insecure: true
extensions:
health_check:
pprof:
endpoint: :1888
zpages:
endpoint: :55679
service:
extensions: [pprof, zpages, health_check]
pipelines:
traces:
receivers: [otlp]
processors: [batch, resource]
exporters: [logging, jaeger]
16 changes: 16 additions & 0 deletions docker-compose.yaml
Original file line number Diff line number Diff line change
@@ -39,6 +39,22 @@ services:
- COLLECTOR_ZIPKIN_HOST_PORT=:9411
networks:
- my-network

collector-gateway:
image: otel/opentelemetry-collector:0.68.0
volumes:
- ./collector-gateway.yaml:/etc/collector-gateway.yaml
command: [ "--config=/etc/collector-gateway.yaml" ]
ports:
- "1888:1888" # pprof extension
- "13133:13133" # health_check extension
- "4317:4317" # OTLP gRPC receiver
- "4318:4318" # OTLP HTTP receiver
- "55670:55679" # zpages extension
depends_on:
- jaeger
networks:
- my-network

networks:
my-network:
Loading