Skip to content

Enable instrumentation against database transactions #488

Description

@vasconcelosvcd

Is your feature request related to a problem? Please describe.
Debugging write contention and hot-spot keys in the MetaDB Datastore layer is difficult. When clients write to the same key concurrently, Datastore returns ABORTED errors due to pessimistic lock contention. There is no observable signal no metrics, no slow-operation logs to distinguish contention from other failure modes or to identify which store/record keys are causing elevated latency.

Describe the solution you'd like
Add OpenTelemetry instrumentation to all RunInTransaction call sites in MetaDB

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions