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

feat(containerd-shim-wasm): add OpenTelemetry tracing library and feature #582

Merged
merged 22 commits into from
Jul 23, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
22 commits
Select commit Hold shift + click to select a range
05a978c
feat(otel): add otel collector to the core crate
Mossaka Apr 17, 2024
707d3c7
remove parsing env var for otel_exporter_otlp_endpoint
Mossaka May 13, 2024
2f34aea
move more logic to otel.rs
Mossaka May 16, 2024
791f437
propogate tracing context for inter-process communication
Mossaka May 18, 2024
1e27248
add documentation for opentelemetry tracing
Mossaka May 18, 2024
0fbf0d2
use the correct macro to conditional compile the trace_context code i…
Mossaka May 20, 2024
3624383
feat(otel): add support for http/protobuf protocol support for OTLP
Mossaka Jun 5, 2024
2d53509
feat(otel): use the default service.name from containerd
Mossaka Jun 5, 2024
d81544c
refactor: rename OtelConfig to Config
Mossaka Jun 5, 2024
d7789ce
refactor: merge opentelemetry and tracing features into one
Mossaka Jun 5, 2024
14cd4a1
refactor: renamed images
Mossaka Jun 5, 2024
537b80a
added back the tracing feature
Mossaka Jun 11, 2024
28b0a5d
added back deleted lines
Mossaka Jun 11, 2024
e4b3408
disable OTLP exporter if endpoint is empty
Mossaka Jun 11, 2024
506c192
only pull the necesasry tokio features instead of the full set
Mossaka Jun 13, 2024
537baeb
feat(opentelemetry): add more env vars supports
Mossaka Jul 15, 2024
fe9ac4e
refactor(opentelemetry): renamed otel functions and bump deps
Mossaka Jul 15, 2024
b388f79
add opentelemetry feature to makefile
Mossaka Jul 15, 2024
22d16c2
refactor(opentelemetry): rename shim_main_with_otel to shim_main
Mossaka Jul 15, 2024
ab0fbfe
add OTEL_SDK_DISABLED support
Mossaka Jul 15, 2024
e07aef2
resolved more comments
Mossaka Jul 19, 2024
ef53564
added otel tests to the CI test-smoke
Mossaka Jul 22, 2024
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: 4 additions & 0 deletions .github/workflows/action-test-smoke.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,10 @@ jobs:
with:
name: test-img
path: dist
- name: enable OTLP
if: ${{ inputs.runtime == 'wasmtime' }}
run: |
sudo ./scripts/setup-otel.sh
- name: run
timeout-minutes: 5
run: |
Expand Down
246 changes: 243 additions & 3 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 3 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,9 @@ FEATURES_wasmedge = --no-default-features
WARNINGS =
endif

# turn opentelemetry feature on
FEATURES_wasm ?= -F opentelemetry

DOCKER_BUILD ?= docker buildx build

KIND_CLUSTER_NAME ?= containerd-wasm
Expand Down
Loading
Loading