Skip to content

Conversation

@joshua-spacetime
Copy link
Collaborator

Closes #610.

Description of Changes

Please describe your change, mention any related tickets, and so on here.

API and ABI breaking changes

If this is an API or ABI breaking change, please apply the
corresponding GitHub label.

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.

#[name = spacetime_txn_elapsed_time_sec]
#[help = "The total elapsed (wall) time of a transaction (in seconds)"]
#[labels(txn_type: WorkloadType, db: Address, reducer: str)]
#[buckets(
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I wouldn't mind a future refactor that has something like a

fn power_of_tens_buckets(...) -> Vec<f64> {
   ...
}

or something to get rid of this duplication.

Base automatically changed from joshua/perf/607/query-cpu-time-metrics to master November 29, 2023 17:27
@joshua-spacetime joshua-spacetime force-pushed the joshua/perf/610/granular-histogram-buckets branch from 17efe2b to 4ec878c Compare November 29, 2023 17:32
@joshua-spacetime joshua-spacetime enabled auto-merge (squash) November 29, 2023 17:32
@joshua-spacetime joshua-spacetime merged commit 9208d7c into master Nov 29, 2023
@joshua-spacetime joshua-spacetime deleted the joshua/perf/610/granular-histogram-buckets branch November 29, 2023 17:52
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.

3 participants