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

New Blog Post: Collecting OpenTelemetry-compliant Java logs from files #5600

Merged
merged 56 commits into from
Dec 9, 2024

Conversation

cyrille-leclerc
Copy link
Member

@cyrille-leclerc cyrille-leclerc commented Nov 13, 2024

This post presents how to use the new experimental-otlp/stdout export format introduced by OpenTelemetry Java Instrumentation (open-telemetry/opentelemetry-java#6675) to export application logs to files with full OpenTelemetry contextualization and ingest them with the OTel Collector File Log receiver and OTLP/JSON connector.

In this post, we explain how to configure the OTel Java instrumentation agent and the OTel Collector, including when deploying on K8s, to implement the end to end file based logs ingestion pipeline.

Blog Post Issue: #5606
SIG: java and specifications
Sponsor:

Preview: https://deploy-preview-5600--opentelemetry.netlify.app/blog/2024/collecting-otel-compliant-java-logs-from-files/

@cyrille-leclerc cyrille-leclerc requested a review from a team as a code owner November 13, 2024 10:02
@github-actions github-actions bot added the blog label Nov 13, 2024
@opentelemetrybot opentelemetrybot requested a review from a team November 13, 2024 10:03
@zeitlinger
Copy link
Member

zeitlinger commented Nov 13, 2024

@cyrille-leclerc https://github.com/open-telemetry/opentelemetry-java-instrumentation/releases/tag/v2.10.0 was just released - I'll update the executable example in grafana/docker-otel-lgtm#145 now

@svrnm
Copy link
Member

svrnm commented Nov 13, 2024

@cyrille-leclerc can you raise an issue for this PR following our guidelines? Thanks

@cyrille-leclerc
Copy link
Member Author

@cyrille-leclerc can you raise an issue for this PR following our guidelines? Thanks

Thanks @svrnm. Please find the blog post issue:

@opentelemetrybot opentelemetrybot requested a review from a team November 15, 2024 11:09
@opentelemetrybot opentelemetrybot requested a review from a team November 18, 2024 10:35
Copy link
Contributor

@tiffany76 tiffany76 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Just a few copyedit suggestions. Thanks!

@opentelemetrybot opentelemetrybot requested a review from a team November 20, 2024 07:35
@opentelemetrybot opentelemetrybot requested a review from a team November 20, 2024 08:50
@chalin chalin force-pushed the collect-java-otlpjson-logs branch from 72614b9 to e764e3b Compare November 20, 2024 10:18
@chalin
Copy link
Contributor

chalin commented Nov 20, 2024

/fix:refcache

@opentelemetrybot
Copy link
Collaborator

You triggered fix:refcache action run at https://github.com/open-telemetry/opentelemetry.io/actions/runs/11931927870

@opentelemetrybot
Copy link
Collaborator

fix:refcache was successful.

IMPORTANT: (RE-)RUN /fix:all to ensure that there are no remaining check issues.

@opentelemetrybot opentelemetrybot requested a review from a team November 20, 2024 12:55
Copy link
Contributor

@tiffany76 tiffany76 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, subject to @chalin's comments.

@chalin chalin force-pushed the collect-java-otlpjson-logs branch from bd35fc6 to 0f04576 Compare November 21, 2024 15:45
@chalin chalin force-pushed the collect-java-otlpjson-logs branch from a663af2 to 418d980 Compare December 4, 2024 21:29
@opentelemetrybot opentelemetrybot requested a review from a team December 4, 2024 21:29
@opentelemetrybot opentelemetrybot requested a review from a team December 5, 2024 10:48
@opentelemetrybot opentelemetrybot requested a review from a team December 9, 2024 07:44
@svrnm svrnm added this pull request to the merge queue Dec 9, 2024
Merged via the queue into open-telemetry:main with commit be892db Dec 9, 2024
17 checks passed
ymotongpoo pushed a commit to ymotongpoo/opentelemetry.io that referenced this pull request Jan 2, 2025
open-telemetry#5600)

Co-authored-by: Gregor Zeitlinger <[email protected]>
Co-authored-by: Severin Neumann <[email protected]>
Co-authored-by: Tiffany Hrabusa <[email protected]>
Co-authored-by: opentelemetrybot <[email protected]>
Co-authored-by: Patrice Chalin <[email protected]>
Co-authored-by: Severin Neumann <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
Status: Done
Development

Successfully merging this pull request may close these issues.

6 participants