Skip to content

print number of batches sent in container logs#9

Merged
lbec-octopus merged 3 commits into
mainfrom
lindsay/improve-logging
Jun 30, 2026
Merged

print number of batches sent in container logs#9
lbec-octopus merged 3 commits into
mainfrom
lindsay/improve-logging

Conversation

@lbec-octopus

@lbec-octopus lbec-octopus commented Jun 29, 2026

Copy link
Copy Markdown
Contributor

This PR makes updates the logging so that if OtelImporter is running inside a k8s container, the number of batches sent will be written with a newline. The logs were being buffered inside the k8s container likely because there was no newline being written.

I have tested this change and it prints the logs in realtime as expected.

Comment thread src/OtelImporter/Program.cs Outdated
Comment thread src/OtelImporter/Program.cs Outdated
@lbec-octopus lbec-octopus force-pushed the lindsay/improve-logging branch from efaa09d to 6e4cf45 Compare June 30, 2026 04:14
@lbec-octopus lbec-octopus changed the title update logging to every 1000 batches and autoflush print number of batches sent in container logs Jun 30, 2026
@lbec-octopus lbec-octopus merged commit 7edf96d into main Jun 30, 2026
12 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants