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

Add new session instrumentation #719

Merged
merged 9 commits into from
Jan 15, 2025

Conversation

breedx-splk
Copy link
Contributor

This will rebase after #717 and is basically a continuation of #571.

Creates a new instrumentation module that is responsible for generation session.end and session.start events, per the semantic conventions. In order to achieve this, the SessionManager is added to the InstallationContext, which (to me) seems reasonable that instrumentations might want to have access to the session.

It is currently NOT enabled by default through the agent (opt-in)...but I think we should reconsider this and should make it a default.

@breedx-splk breedx-splk force-pushed the session_instrumentation branch from 8c5de5c to dd5ec8a Compare January 10, 2025 22:26
@breedx-splk breedx-splk marked this pull request as ready for review January 10, 2025 22:31
@breedx-splk breedx-splk requested a review from a team as a code owner January 10, 2025 22:31
Copy link
Contributor

@bidetofevil bidetofevil left a comment

Choose a reason for hiding this comment

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

LGTM. Comment added, but not a blocker

instrumentation/sessions/build.gradle.kts Outdated Show resolved Hide resolved
@breedx-splk breedx-splk merged commit 22a8ded into open-telemetry:main Jan 15, 2025
3 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.

3 participants