#ifndef METRIC_H
#define METRIC_H 1
-#include "distribution.h"
#include "utils/metadata/meta_data.h"
#include "utils/strbuf/strbuf.h"
#include "utils_time.h"
+#include "distribution.h"
#define VALUE_TYPE_GAUGE 1
#define VALUE_TYPE_DERIVE 2
char const *metric_label_get(metric_t const *m, char const *name);
/* metric_reset frees all labels and meta data stored in the metric and resets
- * the metric to zero. If the metric is a distribution metric, the function
- * frees the according distribution.*/
+ * the metric to zero. If the metric is a distribution metric, the function frees the according distribution.*/
int metric_reset(metric_t *m);
/* metric_list_t is an unordered list of metrics. */
* metric_family_free(). */
metric_family_t *metric_family_clone(metric_family_t const *fam);
-/*The static function metric_list_clone creates a clone of the argument
- *metric_list_t src. For each metric_t element in the src list it checks if its
- *value is a distribution metric and if yes, calls the distribution_clone
- *function for the value and saves the pointer to the returned distribution_t
- *clone into the metric_list_t dest. If the value is not a distribution_t, it
- *simply sets the value of the element in the destination list to the value of
- *the element in the source list. */
+/*The static function metric_list_clone creates a clone of the argument metric_list_t src. For each metric_t element
+ *in the src list it checks if its value is a distribution metric and if yes, calls the distribution_clone function
+ *for the value and saves the pointer to the returned distribution_t clone into the metric_list_t dest. If
+ *the value is not a distribution_t, it simply sets the value of the element in the destination list to the value
+ *of the element in the source list. */
#endif