Repository navigation
Commit e201b8f
Keep each export batch within its queue (#147)
* Bump third_party/opentelemetry-cpp to v1.30.0
The pin moves from upstream main 7f93577b to the v1.30.0 release
c7b64ec6, four commits later: a baggage parsing fix, a curl HTTP client
fix, and the version bump. Nothing in the batch processors changes.
Refs #145
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
* Keep each export batch within its queue
The span and log record processors left max_export_batch_size at the
SDK default of 512, larger than their queues of 64 and 128. Since
opentelemetry-cpp waits for a full batch before exporting spans, a
full batch never formed: spans exported only when the schedule delay
expired, and every span that overflowed the queue meanwhile was
dropped with a warning.
CONFIG_ESP_OPENTELEMETRY_BATCH_MAX_EXPORT_BATCH_SIZE and
CONFIG_ESP_OPENTELEMETRY_LOGS_BATCH_MAX_EXPORT_BATCH_SIZE set the batch
size next to each queue size, defaulting to half of it (32 and 64).
Half the queue matches the SDK's half-full wake-up, so every wake-up
has a full batch, and leaves room for items that arrive during an
export.
Closes #145
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
---------
Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>1 parent 460ba15 commit e201b8f
4 files changed
Lines changed: 14 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
208 | 208 | | |
209 | 209 | | |
210 | 210 | | |
| 211 | + | |
| 212 | + | |
| 213 | + | |
| 214 | + | |
| 215 | + | |
211 | 216 | | |
212 | 217 | | |
213 | 218 | | |
| |||
240 | 245 | | |
241 | 246 | | |
242 | 247 | | |
| 248 | + | |
| 249 | + | |
| 250 | + | |
| 251 | + | |
| 252 | + | |
243 | 253 | | |
244 | 254 | | |
245 | 255 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
106 | 106 | | |
107 | 107 | | |
108 | 108 | | |
109 | | - | |
| 109 | + | |
| 110 | + | |
110 | 111 | | |
111 | 112 | | |
112 | 113 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
59 | 59 | | |
60 | 60 | | |
61 | 61 | | |
| 62 | + | |
62 | 63 | | |
63 | 64 | | |
64 | 65 | | |
| |||
Submodule opentelemetry-cpp updated 21 files
- .bazelversion+1-1
- .github/workflows/clang-tidy.yaml+2-2
- .github/workflows/codeql-analysis.yml+2-2
- CHANGELOG.md+315-97
- CMakeLists.txt+1-1
- MODULE.bazel+2-2
- api/include/opentelemetry/baggage/baggage.h+105-7
- api/include/opentelemetry/version.h+1-1
- api/test/baggage/baggage_test.cc+133-2
- api/test/baggage/propagation/baggage_propagator_test.cc+15
- api/test/common/kv_properties_test.cc+17
- api/test/common/string_util_test.cc+17
- docker/Dockerfile.alpine-latest.base+1-1
- ext/include/opentelemetry/ext/http/client/curl/http_operation_curl.h+2-1
- ext/src/http/client/curl/http_operation_curl.cc+56-5
- ext/test/http/curl_http_test.cc+115
- ext/test/w3c_tracecontext_http_test_server/Dockerfile+1-1
- functional/otlp/Dockerfile+1-1
- sdk/include/opentelemetry/sdk/version/version.h+1-1
- sdk/src/version/version.cc+3-3
- tbump.toml+1-1
0 commit comments