diff --git a/src/docs/sdk/performance/index.mdx b/src/docs/sdk/performance/index.mdx index 2659b99a35..0a9127a5ce 100644 --- a/src/docs/sdk/performance/index.mdx +++ b/src/docs/sdk/performance/index.mdx @@ -93,11 +93,13 @@ tree as well as the unit of reporting to Sentry. - `Span.finish()` - - Just set `endTimestamp` to the current time (in payload `timestamp`) + - Accepts an optional `endTimestamp` to allow users to set a custom `endTimestamp` on the finished span + - If an `endTimestamp` value is not provided, set `endTimestamp` to the current time (in payload `timestamp`) - `Transaction.finish()` - `super.finish()` (call finish on Span) - Send it to Sentry only if `sampled == true` + - Like spans, can be given an optional `endTimestamp` value that should be passed into the `span.finish()` call - A `Transaction` needs to be wrapped in an `Envelope` and sent to the [Envelope Endpoint](/sdk/envelopes/) - The `Transport` should use the same internal queue for `Transactions` / `Events` - The `Transport` should implement category-based rate limiting →