Function Stats.increaseMetricBy

Increases the metric's value by some amount and attach some labels to it

void increaseMetricBy(string metricName, LabelTs...) (
  ulong amount,
  LabelTs labels_packed
) pure nothrow @safe;

Parameters

NameDescription
metricName name of the metric we want to change LabelTs... = types of the labels
amount metric will be increased by this amount
labels_packed labels that will be attached to the metric