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

metrics(netcheck): Add the basic netcheck metrics #1048

Merged
merged 1 commit into from
May 25, 2023

Conversation

flub
Copy link
Contributor

@flub flub commented May 24, 2023

This adds the basic metrics to netcheck. There's probably room for
more.

Also updates the macros to be a bit more ergonomic:

  • Allow optional trailing comma on the last item in the metrics
    definition.

  • When using metrics start a new scope for the compiler so that we can
    use it anywhere, e.g. also in match statements where the expression
    is followed with a , rather than a ;.

Closes #927

This adds the basic metrics to netcheck.  There's probably room for
more.

Also updates the macros to be a bit more ergonomic:

- Allow optional trailing comma on the last item in the metrics
  definition.

- When using metrics start a new scope for the compiler so that we can
  use it anywhere, e.g. also in match statements where the expression
  is followed with a , rather than a ;.

Closes #927
@flub flub merged commit a548371 into x-hp May 25, 2023
@flub flub deleted the flub/netcheck-basic-metrics branch May 25, 2023 12:59
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.

2 participants