Pudu programming language
Menu

Std.App.Metrics.refusedCount

1 declaration

fn

refusedCount: &Std.App.Metrics.Metrics -> Int

This is a callable function.

What it does

How many measurements were refused for exceeding a metric's bound.

Counted rather than discarded silently, because a program whose labels are

wrong should be able to see that they are without waiting for the collector

to fail.

Read the signature

  • The text after the name is the type checked by Pudu.
  • Read arrows from left to right: inputs come first, and the final type is returned.
  • & borrows a value for this call instead of moving or copying it.

Back to Std.App.MetricsSearch related declarations