Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

[DocDB] Add metrics for transactions starting as each locality #28921

Copy link
Copy link
@es1024

Description

@es1024
Issue body actions

Jira Link: DB-18646

Description

We currently expose a transaction_promotions metric to track transaction promotions. But this does not give visibility into whether a workload is using global transactions or not, since we also try to start transactions as global whenever we know it's needed, and such transactions do not involve a transaction promotion.

Additionally, we don't expose transaction locality anywhere explicitly except via vlogs, so combined with the above, it is difficult to verify that global transactions are or are not being used except indirectly via commit latency.

Adding metrics for e.g. number of transactions started as global would allow better testing.

Issue Type

kind/enhancement

Warning: Please confirm that this issue does not contain any sensitive information

  • I confirm this issue does not contain any sensitive information.

Metadata

Metadata

Assignees

Labels

area/docdbYugabyteDB core featuresYugabyteDB core featureskind/enhancementThis is an enhancement of an existing featureThis is an enhancement of an existing featurepriority/mediumMedium priority issueMedium priority issue

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions

    Morty Proxy This is a proxified and sanitized view of the page, visit original site.