aboutsummaryrefslogtreecommitdiffstats
path: root/library/cpp/monlib/encode/format.h
diff options
context:
space:
mode:
authorivanzhukov <ivanzhukov@yandex-team.ru>2022-02-10 16:49:40 +0300
committerDaniil Cherednik <dcherednik@yandex-team.ru>2022-02-10 16:49:40 +0300
commit0892d79ab411592ad25175c4bdadbcb09b466cf5 (patch)
tree98dfdd45463c9bd747101748a9ca25d2917390fd /library/cpp/monlib/encode/format.h
parent1b7466cb957659079ebebbb5d76e64e51f3306f0 (diff)
downloadydb-0892d79ab411592ad25175c4bdadbcb09b466cf5.tar.gz
Restoring authorship annotation for <ivanzhukov@yandex-team.ru>. Commit 1 of 2.
Diffstat (limited to 'library/cpp/monlib/encode/format.h')
-rw-r--r--library/cpp/monlib/encode/format.h40
1 files changed, 20 insertions, 20 deletions
diff --git a/library/cpp/monlib/encode/format.h b/library/cpp/monlib/encode/format.h
index 495d42d786..86f05e8f5f 100644
--- a/library/cpp/monlib/encode/format.h
+++ b/library/cpp/monlib/encode/format.h
@@ -87,30 +87,30 @@ namespace NMonitoring {
};
enum class EMetricsMergingMode {
- /**
+ /**
* Do not merge metric batches. If several points of the same metric were
- * added multiple times accross different writes, paste them as
+ * added multiple times accross different writes, paste them as
* separate metrics.
- *
- * Example:
- * COUNTER [(ts1, val1)] | COUNTER [(ts1, val1)]
- * COUNTER [(ts2, val2)] | --> COUNTER [(ts2, val2)]
- * COUNTER [(ts3, val3)] | COUNTER [(ts3, val3)]
- */
- DEFAULT,
-
- /**
+ *
+ * Example:
+ * COUNTER [(ts1, val1)] | COUNTER [(ts1, val1)]
+ * COUNTER [(ts2, val2)] | --> COUNTER [(ts2, val2)]
+ * COUNTER [(ts3, val3)] | COUNTER [(ts3, val3)]
+ */
+ DEFAULT,
+
+ /**
* If several points of the same metric were added multiple times across
- * different writes, merge all values to one timeseries.
- *
- * Example:
- * COUNTER [(ts1, val1)] |
- * COUNTER [(ts2, val2)] | --> COUNTER [(ts1, val1), (ts2, val2), (ts3, val3)]
- * COUNTER [(ts3, val3)] |
- */
+ * different writes, merge all values to one timeseries.
+ *
+ * Example:
+ * COUNTER [(ts1, val1)] |
+ * COUNTER [(ts2, val2)] | --> COUNTER [(ts1, val1), (ts2, val2), (ts3, val3)]
+ * COUNTER [(ts3, val3)] |
+ */
MERGE_METRICS,
- };
-
+ };
+
/**
* Matches serialization format by the given "Accept" header value.
*