Skip to content
This repository was archived by the owner on Aug 14, 2024. It is now read-only.
This repository was archived by the owner on Aug 14, 2024. It is now read-only.

Document where/when the Sample decision should be made #243

@marandaneto

Description

@marandaneto

Right now sampling happens on startTransaction for Java, .NET, Python, and probably the others too.

The problem I see here is, a transaction.status could be set at a later point if an error has occurred.

I'd like to use the status to properly sample my transactions, I'd like higher sampling if there's an error.
This is not possible right now as it's being sampled or not already in the startTransaction and status might not be available, yet.

A possible solution would be to sample only on finish when the transaction should have its full payload.

cc @rhcarvalho @bruno-garcia @Tyrrrz @maciejwalkowiak @HazAT @brustolin

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions