[#BloombergLP-balm-IntegerMetric-increment]
= xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/balm.adoc[balm]::xref:BloombergLP/balm/IntegerMetric.adoc[IntegerMetric]::increment
:relfileprefix: ../../../
:mrdocs:

Increase the count and total of this integer metric by 1&semi; if 1 is less than the current minimum recorded value of the metric, set the new minimum value to be 1&semi; if 1 is greater than the current maximum recorded value, set the new maximum value to be 1&period; If, however, this integer metric is not active (i&period;e&period;, `isActive()` is `false`), then this method has no effect&period; Note that this method is functionally equivalent to `update(1)&period;`

== Synopsis

Declared in `&lt;balm&lowbar;integermetric&period;h&gt;`

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
void
increment();
----


[.small]#Created with https://www.mrdocs.com[MrDocs]#
