Upgrade otel-collector and replace removed logging exporter#229
Merged
bloodearnest merged 7 commits intomainfrom Mar 3, 2026
Merged
Upgrade otel-collector and replace removed logging exporter#229bloodearnest merged 7 commits intomainfrom
bloodearnest merged 7 commits intomainfrom
Conversation
60c1191 to
85bf6c5
Compare
Accidentally removed in previous commit 685caba
Only bumps to v0.69.0; 0.70.0+ results in a connection error
This required a number of small changes due to differences in the big version bump 1) add check have to wait for the collector to come up before starting tests. This involved exposing the default healthcheck url, but a) it's not exposed externally (different port), and b) we can use that in dokkku deploys (later commit) 2) The fileexporter now buffers writes, and flushes to disk after 1s by default. The tests need changing to wait for the file to be written. Added a more explicit file related error message to for future us. 3) The json fileformat is NDJSON, but we were not properly handling that, so we now do. 4) Update to lateset config; switch logging to debug, and bind to 0.0.0.0 explicitly, as the default changed to 127.0.0.1
This removes some manual process management from the justfile Also allowed us to easy re-use the base image, so that the mock-honeycomb and otel-gateway services will always use the same version of otel-collector
Since we added healthcheck url, we might was well use it.
eff8198 to
bd2cf77
Compare
bloodearnest
approved these changes
Mar 2, 2026
rebkwok
commented
Mar 2, 2026
0f1cb99 to
592320e
Compare
592320e to
1e07899
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Closes #132
The
loggingexporter was removed in v0.111.0open-telemetry/opentelemetry-collector#11337
The replacement debug exporter uses a
verbositylevel instead (detailed/normal/basic).I also tried to ugrade the version of the
opentelemetry-collector-contribimage used in the mock-honeycomb test endpoint (in order to replace the logging exporter with the debug exporter in the test mock config too), but the furthest I could upgrade was to 0.69.0. With 0.70.0+ the tests get a connection error.