Skip to content
This repository was archived by the owner on Jul 31, 2023. It is now read-only.

Register metrics in benchmark#1266

Closed
howardjohn wants to merge 1 commit intocensus-instrumentation:masterfrom
howardjohn:bench/register
Closed

Register metrics in benchmark#1266
howardjohn wants to merge 1 commit intocensus-instrumentation:masterfrom
howardjohn:bench/register

Conversation

@howardjohn
Copy link
Copy Markdown
Contributor

Currently, the metric we record is not registered. This hits the
fast-path code of not actually recording the metric, so we miss out on
detecting any performance to that main code path.

This registers the metrics so we actually trigger record.

Related: #1265

Currently, the metric we record is not registered. This hits the
fast-path code of not actually recording the metric, so we miss out on
detecting any performance to that main code path.

This registers the metrics so we actually trigger `record`.
@dashpole
Copy link
Copy Markdown
Collaborator

I went ahead and merged #1267, which includes this change

@dashpole dashpole closed this Sep 14, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants