From 13696809aca3f026557ff8ed363d1b8e4c2aad86 Mon Sep 17 00:00:00 2001 From: Vika Date: Fri, 22 Dec 2023 15:05:36 +0000 Subject: [PATCH] update wiki pages --- keyConcepts.md | 4 +++- operator/resources/vmauth.md | 8 ++++---- 2 files changed, 7 insertions(+), 5 deletions(-) diff --git a/keyConcepts.md b/keyConcepts.md index 520eb0c..94bb2ed 100644 --- a/keyConcepts.md +++ b/keyConcepts.md @@ -80,7 +80,9 @@ See [these docs](https://docs.victoriametrics.com/FAQ.html#what-is-high-cardinal #### Raw samples Every unique time series may consist of an arbitrary number of `(value, timestamp)` data points (aka `raw samples`) sorted by `timestamp`. -The `value` is a [double-precision floating-point number](https://en.wikipedia.org/wiki/Double-precision_floating-point_format). +VictoriaMetrics stores all the `values` as [float64](https://en.wikipedia.org/wiki/Double-precision_floating-point_format) values +with [extra compression](https://faun.pub/victoriametrics-achieving-better-compression-for-time-series-data-than-gorilla-317bc1f95932) applied. +This guarantees precision correctness for values with up to 12 significant decimal digits ([-2^54 ... 2^54-1]). The `timestamp` is a [Unix timestamp](https://en.wikipedia.org/wiki/Unix_time) with millisecond precision. Below is an example of a single raw sample diff --git a/operator/resources/vmauth.md b/operator/resources/vmauth.md index 87ff2c8..a55377a 100644 --- a/operator/resources/vmauth.md +++ b/operator/resources/vmauth.md @@ -101,8 +101,8 @@ metadata: name: vmauth-unauthorized-example spec: unauthorizedAccessConfig: - - paths: ["/metrics"] - urls: + - src_paths: ["/metrics"] + url_prefix: - http://vmsingle-example.default.svc:8428 ``` @@ -204,8 +204,8 @@ spec: - 5.6.7.8 # allow read vmsingle metrics without authorization for users from internal network unauthorizedAccessConfig: - - paths: ["/metrics"] - urls: ["http://vmsingle-example.default.svc:8428"] + - src_paths: ["/metrics"] + url_prefix: ["http://vmsingle-example.default.svc:8428"] ip_filters: allow_list: - 192.168.0.0/16