这是indexloc提供的服务,不要输入任何密码
Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
32 commits
Select commit Hold shift + click to select a range
292208f
feat: Add experimentalObservability with an OTel backend
bkonkle Nov 17, 2025
cac92c1
Align in experimental_observability to allow for more backends
bkonkle Nov 17, 2025
777b7a3
Merge branch 'main' into bkonkle/otel-exporter
bkonkle Nov 17, 2025
356ed50
Documentation and integration test fixes
bkonkle Nov 17, 2025
6ce252e
Merge remote-tracking branch 'origin/main' into bkonkle/otel-exporter
bkonkle Nov 17, 2025
1134a47
Add some terms to the docs dictionary
bkonkle Nov 17, 2025
0c063da
Add more test coverage, and fix the capnproto error
bkonkle Nov 17, 2025
5f1a7d1
Formatting fixes
bkonkle Nov 17, 2025
5c71569
More linting and formatting fixes
bkonkle Nov 17, 2025
deb5700
Try again to fix the formatting issues
bkonkle Nov 17, 2025
1d6dfa0
Move the observability CLI details out to their own file within the c…
bkonkle Nov 17, 2025
939aa56
Reverse more strange formatting issues
bkonkle Nov 17, 2025
64e8b7f
Add some general parsing tests for key_val_pari
bkonkle Nov 17, 2025
8b607f5
Fix the formatting again
bkonkle Nov 17, 2025
6aa6b91
Default experimental-otel-enabled to false
bkonkle Nov 17, 2025
152f68f
Reverse the change to default_missing_value, because it doesn't work …
bkonkle Nov 17, 2025
fbd584d
Minor tweak around the observability config
bkonkle Nov 17, 2025
d01eaac
Remove the capnproto workaround
bkonkle Nov 17, 2025
29a4de4
Hide otel behind a feature flag
bkonkle Nov 17, 2025
04e22fc
Add comments to explain the pub(crate) properties
bkonkle Nov 17, 2025
9352150
Minor cleanup
bkonkle Nov 17, 2025
c865c45
Remove an accidental formatting-only change
bkonkle Nov 17, 2025
e1b9cba
Fix more unintentional formatting changes
bkonkle Nov 17, 2025
1d38497
Fixes for new test cases
bkonkle Nov 17, 2025
f818160
Integration test and documentation updates
bkonkle Nov 17, 2025
b138c2e
Add more terms to the dictionary
bkonkle Nov 17, 2025
5e7d1b2
Another try at getting experimental-otel integration tests working
bkonkle Nov 17, 2025
df3d078
Fit the turborepo-otel crate into the workspace correctly
bkonkle Nov 18, 2025
6562048
Adapt to otlp 0.31
bkonkle Nov 18, 2025
d597385
Merge branch 'main' into bkonkle/otel-exporter
bkonkle Nov 18, 2025
6796c5b
Move turborepo-otel to the experimental periodic_reader_with_async_ru…
bkonkle Nov 18, 2025
8e02a25
Reverse an unintentional formatting change
bkonkle Nov 18, 2025
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
9 changes: 3 additions & 6 deletions .devcontainer/devcontainer.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,7 @@
"dockerfile": "Dockerfile",
"context": "."
},
"runArgs": [
"--cap-add=SYS_PTRACE",
"--security-opt",
"seccomp=unconfined"
],
"runArgs": ["--cap-add=SYS_PTRACE", "--security-opt", "seccomp=unconfined"],
"features": {
"ghcr.io/devcontainers/features/github-cli:1": {},
"ghcr.io/devcontainers/features/git:1": {}
Expand All @@ -26,6 +22,7 @@
],
"settings": {
"rust-analyzer.cargo.buildScripts.enable": true,
"rust-analyzer.cargo.features": ["otel"],
"rust-analyzer.checkOnSave.command": "clippy",
"rust-analyzer.rustfmt.rangeFormatting.enable": true,
"editor.defaultFormatter": "esbenp.prettier-vscode",
Expand All @@ -48,4 +45,4 @@
"source=${localWorkspaceFolder}/.devcontainer/cache,target=/home/vscode/.cache,type=bind,consistency=cached",
"source=${localWorkspaceFolder}/.devcontainer/cargo,target=/usr/local/cargo,type=bind,consistency=cached"
]
}
}
12 changes: 11 additions & 1 deletion CONTRIBUTING.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
Thank you for your interest in contributing to Turborepo!

- [General dependencies](#general-dependencies)
- [Optional dependencies](#optional-dependencies)
- [Optional dependencies](#optional-dependencies)
- [Structure of the repository](#structure-of-the-repository)
- [Building Turborepo](#building-turborepo)
- [TLS Implementation](#tls-implementation)
Expand Down Expand Up @@ -69,6 +69,16 @@ and `rustls-tls` features.
By default, the `rustls-tls` feature is selected so that `cargo build` works
out of the box. If you wish to select `native-tls`, you may do so by running `cargo build --no-default-features --features native-tls`.

### OpenTelemetry Observability

Turborepo includes optional OpenTelemetry (OTel) support for exporting metrics. OTel is an experimental feature and is **not** included in default builds. If you wish to build `turbo` with OTel support, you can enable it by running:

```bash
cargo build -p turbo --features otel
```

Note that when OTel is disabled at compile time (the default), the `experimentalObservability` configuration in `turbo.json` and related CLI flags will be ignored (they will not error, but no metrics will be exported). IDEs using the devcontainer configuration will have OTel enabled automatically for development purposes.

## Running tests

> [!IMPORTANT]
Expand Down
Loading
Loading