Skip to content
This repository was archived by the owner on Apr 26, 2024. It is now read-only.

Commit 8ceed5e

Browse files
authored
Add desc to get_earliest_token_for_stats (#13085)
1 parent 90cadcd commit 8ceed5e

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

changelog.d/13085.misc

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
Correctly report prometheus DB stats for `get_earliest_token_for_stats`.

synapse/storage/databases/main/stats.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -295,6 +295,7 @@ async def get_earliest_token_for_stats(
295295
keyvalues={id_col: id},
296296
retcol="completed_delta_stream_id",
297297
allow_none=True,
298+
desc="get_earliest_token_for_stats",
298299
)
299300

300301
async def bulk_update_stats_delta(

0 commit comments

Comments
 (0)