8000 Add API to set custom Span timestamps by antonpirker · Pull Request #1770 · getsentry/sentry-python · GitHub
[go: up one dir, main page]

Skip to content

Add API to set custom Span timestamps #1770

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

Conversation

antonpirker
Copy link
Member
  • When creating a Span/Transaction a start_timestamp can be given.
  • When a Span/Transaction is finished a end_timestamp can be given.

Both default to "now" in UTC.

@antonpirker antonpirker added this to the Basic OTel support milestone Nov 30, 2022
@sl0thentr0py sl0thentr0py changed the base branch from master to antonpirker/1687-basic-otel-support-3a-set-context November 30, 2022 13:59
Base automatically changed from antonpirker/1687-basic-otel-support-3a-set-context to antonpirker/1687-basic-otel-support-2-instrumenter November 30, 2022 15:53
@antonpirker antonpirker merged commit 4cb573b into antonpirker/1687-basic-otel-support-2-instrumenter Nov 30, 2022
@antonpirker antonpirker deleted the antonpirker/1687-basic-otel-support-3b-timestamps branch November 30, 2022 15:54
antonpirker added a commit that referenced this pull request Dec 1, 2022
…tion. (#1766)

* Add instrumenter config to switch between Sentry and OTel instrumentation.
* Add API to set arbitrary context in Transaction. (#1769)
* Add API to set custom Span timestamps (#1770)
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
0