Prometheus Counter methods

Methods for the prometheus.Counter class.

Table 1. Class methods
Method Description
create(
  name STRING,
  description STRING,
  [ labels ] )
RETURNS prometheus.Counter
Creates a new counter metric with the specified name, description, and labels.
Table 2. Object Methods
Method Description
inc( [ labels ] )
Increases the counter by one for the specified label values.
add( value FLOAT, [ labels ] )
Adds a float value to the counter for the specified label values.