Skip to content
This repository has been archived by the owner on Nov 27, 2023. It is now read-only.

metrics: initial logic for command execution duration #2224

Closed
wants to merge 2 commits into from

Conversation

milas
Copy link
Contributor

@milas milas commented Feb 6, 2023

Add a timer around command invocations to be reported with metrics.
This isn't actually sent anywhere currently, as it's meant for
evented data which is forthcoming. (We could report it with the
current events, but it's not clear that there's any value in doing
so.)

@milas milas requested a review from a team February 6, 2023 21:29
@milas milas self-assigned this Feb 6, 2023
@milas milas requested review from nicksieger, ndeloof, StefanScherer, ulyssessouza, glours and laurazard and removed request for a team February 6, 2023 21:29
@milas milas marked this pull request as draft February 6, 2023 21:30
Compose doesn't actually currently use this code, it's only used
here. Moving it inline so that we can drop it from Compose in the
future or make changes as needed without worrying about this as a
dependency.
Add a timer around command invocations to be reported with metrics.
This isn't actually sent anywhere currently, as it's meant for
evented data which is forthcoming. (We could report it with the
current events, but it's not clear that there's any value in doing
so.)
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.

None yet

1 participant