You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* Adds v11 schema to store label names within index.
Stores only label names and not the entire metric. Storing entire metric
will bloat the index by 30% and it doesn't really make sense to do it
right now. Adding just label names adds a tolerable 7% to the index.
Also, in Prometheus, we don't treat __name__ as a special label. We
always return it when calling /labels API and we should do the same
here.
Signed-off-by: Cyril Tovena <[email protected]>
Signed-off-by: Goutham Veeramachaneni <[email protected]>
* Finishing touches
fix lint issue
Signed-off-by: Cyril Tovena <[email protected]>
removes useless loop
Signed-off-by: Cyril Tovena <[email protected]>
This should be on v11 not v10.
Signed-off-by: Cyril Tovena <[email protected]>
s/metricConstRangeKeyV1/labelNamesRangeKeyV1/
The code was first written to store the entire series, but now changed
to do just labelNames.
Signed-off-by: Goutham Veeramachaneni <[email protected]>
Add note about v11 being experimental.
Signed-off-by: Goutham Veeramachaneni <[email protected]>
Co-authored-by: cyriltovena <[email protected]>
Co-authored-by: Goutham Veeramachaneni <[email protected]>
Copy file name to clipboardExpand all lines: docs/architecture.md
+1-1
Original file line number
Diff line number
Diff line change
@@ -145,4 +145,4 @@ The interface works somewhat differently across the supported databases:
145
145
146
146
A set of schemas are used to map the matchers and label sets used on reads and writes to the chunk store into appropriate operations on the index. Schemas have been added as Cortex has evolved, mainly in an attempt to better load balance writes and improve query performance.
147
147
148
-
> The current schema recommendation is the **v10 schema**.
148
+
> The current schema recommendation is the **v10 schema**. v11 schema is an experimental schema.
0 commit comments