Skip to content

Add metrics for transaction aborts #5780

@danielmai

Description

@danielmai

Experience Report

Note: Feature requests are judged based on user experience and modeled on Go Experience Reports. These reports should focus on the problems: they should not focus on and need not propose solutions.

What you wanted to do

I want to know how many txn aborts have happened in the cluster. This should be a metric coming out of Dgraph metrics.

What you actually did

Right now, the only way to do so is to track it myself from the client.

Why that wasn't great, with examples

This requires me to be proactive about tracking txn aborts in a separate place.

Metadata

Metadata

Assignees

No one assigned

    Labels

    area/operationsRelated to operational aspects of the DB, including signals, flags, env vars, etc.kind/enhancementSomething could be better.status/acceptedWe accept to investigate/work on it.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions