summaryrefslogtreecommitdiffstats
path: root/library/cpp/monlib/encode/format.h
diff options
context:
space:
mode:
authorivanzhukov <[email protected]>2022-02-10 16:49:41 +0300
committerDaniil Cherednik <[email protected]>2022-02-10 16:49:41 +0300
commitca3252a147a429eac4ba8221857493c58dcd09b5 (patch)
tree5d5cb817648f650d76cf1076100726fd9b8448e8 /library/cpp/monlib/encode/format.h
parent0892d79ab411592ad25175c4bdadbcb09b466cf5 (diff)
Restoring authorship annotation for <[email protected]>. Commit 2 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 86f05e8f5f6..495d42d7867 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.
*