docker-archive / compose-cli

Easily run your Compose application to the cloud with compose-cli
Apache License 2.0
957 stars 255 forks source link

metrics: initial logic for command execution duration #2224

Closed milas closed 1 year ago

milas commented 1 year ago

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.)