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
TSDB: fix user metrics when using blocks storage (#1990)
* When using TSDB, we get per-user created and removed series from TSDB metrics.
This affects cortex_ingester_memory_series_created_total and cortex_ingester_memory_series_removed_total.
This change also renames previous shipperMetrics to tsdbMetrics, and registers the same registry
to TSDB and TSDB shipper component.
Signed-off-by: Peter Štibraný <[email protected]>
* Store TSDB registry at the end of TSDB creation.
This fixes problem with collection occuring when TSDB already registered metrics,
but wasn't otherwise fully initialized yet, and it crashed.
Signed-off-by: Peter Štibraný <[email protected]>
* Remove repeated code.
Signed-off-by: Peter Štibraný <[email protected]>
* Fix tests after change to registry registration.
Signed-off-by: Peter Štibraný <[email protected]>
* Updated CHANGELOG.md
Signed-off-by: Peter Štibraný <[email protected]>
* Fix TSDB capitalization.
Signed-off-by: Peter Štibraný <[email protected]>
* Test for new metrics.
Signed-off-by: Peter Štibraný <[email protected]>
* Fix variable name.
Signed-off-by: Peter Štibraný <[email protected]>
* Added new metrics to the test.
Signed-off-by: Peter Štibraný <[email protected]>
Copy file name to clipboardExpand all lines: CHANGELOG.md
+1Lines changed: 1 addition & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -43,6 +43,7 @@ instructions below to upgrade your Postgres.
43
43
*[BUGFIX] TSDB: `experimental.tsdb.ship-interval` of <=0 treated as disabled instead of allowing panic. #1975
44
44
*[BUGFIX] TSDB: Fixed `cortex_ingester_queried_samples` and `cortex_ingester_queried_series` metrics when using block storage. #1981
45
45
*[BUGFIX] TSDB: Fixed `cortex_ingester_memory_series` and `cortex_ingester_memory_users` metrics when using with the experimental TSDB blocks storage. #1982
46
+
*[BUGFIX] TSDB: Fixed `cortex_ingester_memory_series_created_total` and `cortex_ingester_memory_series_removed_total` metrics when using TSDB blocks storage. #1990
46
47
47
48
### Upgrading Postgres (if you're using configs service)
0 commit comments