Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

refactor(531): Label transaction count metric with boolean flag #532

Merged
merged 1 commit into from
Nov 7, 2023

Conversation

joshua-spacetime
Copy link
Collaborator

Fixes #531.

Instead of having two distinct metrics for commits and rollbacks, this patch replaces them with a single metric plus a boolean label representing whether the transaction was committed or rolled back.

Description of Changes

API and ABI

  • This is a breaking change to the module ABI
  • This is a breaking change to the module API
  • This is a breaking change to the ClientAPI
  • This is a breaking change to the SDK API

If the API is breaking, please state below what will break

Expected complexity level and risk

How complicated do you think these changes are? Grade on a scale from 1 to 5,
where 1 is a trivial change, and 5 is a deep-reaching and complex change.

This complexity rating applies not only to the complexity apparent in the diff,
but also to its interactions with existing and future code.

If you answered more than a 2, explain what is complex about the PR,
and what other components it interacts with in potentially concerning ways.

Fixes #531.

Instead of having two distinct metrics for commits and rollbacks,
this patch replaces them with a single metric plus a boolean label
representing whether the transaction was committed or rolled back.
@joshua-spacetime joshua-spacetime force-pushed the joshua/fix/531/committed-metric-flag branch from bd75d63 to 5bd5217 Compare November 7, 2023 01:41
@joshua-spacetime joshua-spacetime merged commit ecebf3d into master Nov 7, 2023
5 checks passed
@joshua-spacetime joshua-spacetime deleted the joshua/fix/531/committed-metric-flag branch November 7, 2023 16:55
kulakowski pushed a commit that referenced this pull request Nov 7, 2023
Fixes #531.

Instead of having two distinct metrics for commits and rollbacks,
this patch replaces them with a single metric plus a boolean label
representing whether the transaction was committed or rolled back.
kulakowski pushed a commit that referenced this pull request Nov 7, 2023
Fixes #531.

Instead of having two distinct metrics for commits and rollbacks,
this patch replaces them with a single metric plus a boolean label
representing whether the transaction was committed or rolled back.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Label transaction count metric with boolean "committed" flag
2 participants