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

feat: tracing prototype #372

Merged
merged 54 commits into from Jul 5, 2019
Merged

feat: tracing prototype #372

merged 54 commits into from Jul 5, 2019

Conversation

untitaker
Copy link
Member

@untitaker untitaker commented May 22, 2019

No idea how the event payload is supposed to look, just went by what armin patched into semaphore. We get an unlabeled event in Sentry right now

@mitsuhiko mitsuhiko changed the title [WIP] feat: Prototype of session tracking [WIP] feat: tracing prototype May 24, 2019
@untitaker untitaker changed the title [WIP] feat: tracing prototype feat: tracing prototype Jun 1, 2019
sentry_sdk/consts.py Outdated Show resolved Hide resolved
sentry_sdk/consts.py Outdated Show resolved Hide resolved
sentry_sdk/hub.py Outdated Show resolved Hide resolved
sentry_sdk/hub.py Outdated Show resolved Hide resolved
sentry_sdk/hub.py Outdated Show resolved Hide resolved
sentry_sdk/integrations/wsgi.py Outdated Show resolved Hide resolved
sentry_sdk/tracing.py Show resolved Hide resolved
sentry_sdk/tracing.py Outdated Show resolved Hide resolved
sentry_sdk/tracing.py Show resolved Hide resolved
from sentry_sdk import Hub


@pytest.mark.parametrize("sample_rate", [0.0, 1.0])
Copy link
Member

Choose a reason for hiding this comment

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

Where are the test!?!??! :D

Copy link
Member Author

Choose a reason for hiding this comment

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

soon (tm)

@bruno-garcia bruno-garcia self-requested a review June 19, 2019 16:32
same_process_as_parent=True,
sampled=None,
transaction=None,
op=None,
Copy link
Member

Choose a reason for hiding this comment

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

Shouldn't we make operation required?

Copy link
Member Author

Choose a reason for hiding this comment

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

For transaction/trace spans, none of the Pytohn SDK's integrations set either OP or description. Only for child spans.

Copy link
Member Author

Choose a reason for hiding this comment

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

If we want to make more attrs required I'd like to discuss what the difference between transaction and description is

@untitaker untitaker merged commit ca0ba7f into master Jul 5, 2019
@untitaker untitaker deleted the wip/sessiontracking branch July 5, 2019 12:54
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.

None yet

4 participants