Skip to content

Add boolean transaction.error flag to transaction documents #281

@cauemarcondes

Description

@cauemarcondes

Needed by: 7.9

Summary
Transaction documents should have a boolean flag error which indicates whether the transaction was erroneous or not.

Background
In APM UI we want to add a chart displaying the error rate. Currently we are calculating the rate as the ratio of errors to transactions in a given time range. But since a transaction can have multiple errors and we can have errors outside of transactions we can not calculate it like that.

Solution
A solution would be having a flag on the transaction informing if that transaction is erroneous. And to calculate the Error rate we'd do: total_number_of_transactions_with_errors / total_number_of_transactions in a given time range.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions