[project-history] add metrics for compression of updates (#26307)

* [project-history] add metrics for compression of updates

* [project-history] sample compression metrics

GitOrigin-RevId: 1cd67dc4ec7b44285afb436c62392b464f007f97
This commit is contained in:
Jakob Ackermann
2025-06-16 08:06:28 +00:00
committed by Copybot
parent a1591e8b0c
commit 6f516b25af
6 changed files with 90 additions and 14 deletions
@@ -110,4 +110,8 @@ module.exports = {
shortHistoryQueues: (process.env.SHORT_HISTORY_QUEUES || '')
.split(',')
.filter(s => !!s),
estimateCompressionSample: parseInt(
process.env.ESTIMATE_COMPRESSION_SAMPLE || '0',
10
),
}