Lines Matching full:value
34 /** Value of the Prometheus counter metric */
35 uint64_t value; member
56 * ({ .key = "http_request", .value = "request_count" }),
68 .value = 0ULL, \
76 * @brief Increment the value of a Prometheus counter metric
77 * Increments the value of the specified counter metric by arbitrary amount.
79 * @param value Amount to increment the counter by.
82 int prometheus_counter_add(struct prometheus_counter *counter, uint64_t value);
85 * @brief Increment the value of a Prometheus counter metric
86 * Increments the value of the specified counter metric by one.
96 * @brief Set the counter value to specific value.
97 * The new value must be higher than the current value. This function can be used
99 * update the counter value. This function will add the difference between the
100 * new value and the old value to the counter.
102 * @param value New value of the counter.
105 int prometheus_counter_set(struct prometheus_counter *counter, uint64_t value);