Add desc to get_earliest_token_for_stats (#13085)

This commit is contained in:
Erik Johnston 2022-06-16 18:50:46 +01:00 committed by GitHub
parent 90cadcd403
commit 8ceed5e6b5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 0 deletions

1
changelog.d/13085.misc Normal file
View File

@ -0,0 +1 @@
Correctly report prometheus DB stats for `get_earliest_token_for_stats`.

View File

@ -295,6 +295,7 @@ class StatsStore(StateDeltasStore):
keyvalues={id_col: id}, keyvalues={id_col: id},
retcol="completed_delta_stream_id", retcol="completed_delta_stream_id",
allow_none=True, allow_none=True,
desc="get_earliest_token_for_stats",
) )
async def bulk_update_stats_delta( async def bulk_update_stats_delta(