tor-browser

The Tor Browser
git clone https://git.dasho.dev/tor-browser.git
Log | Files | Refs | README | LICENSE

commit 9e52f9bbe93d1e59df2da9dd3770045047e12846
parent 5dc1652c98f4761685e0df59dbd5dbb635f97698
Author: Erik Nordin <enordin@mozilla.com>
Date:   Wed,  5 Nov 2025 16:02:30 +0000

Bug 1997612 - Remove flow_id from translations_performance r=translations-reviewers,gregtatum

The `translations_performance` metric doesn't really need a
`flow_id` associated with it like many of our other metrics.

This event is tied to the lifetime of a TranslationsEngine
that may participate in several flows throughout its lifetime.

The `flow_id` isn't useful here, so we shouldn't collect it.

Differential Revision: https://phabricator.services.mozilla.com/D270875

Diffstat:
Mtoolkit/components/translations/TranslationsTelemetry.sys.mjs | 1-
Mtoolkit/components/translations/metrics.yaml | 1-
2 files changed, 0 insertions(+), 2 deletions(-)

diff --git a/toolkit/components/translations/TranslationsTelemetry.sys.mjs b/toolkit/components/translations/TranslationsTelemetry.sys.mjs @@ -229,7 +229,6 @@ export class TranslationsTelemetry { const averageWordsPerSecond = totalTranslatedWords / totalInferenceSeconds; Glean.translations.enginePerformance.record({ - flow_id: TranslationsTelemetry.getOrCreateFlowId(), from_language: sourceLanguage, to_language: targetLanguage, average_words_per_request: averageWordsPerRequest, diff --git a/toolkit/components/translations/metrics.yaml b/toolkit/components/translations/metrics.yaml @@ -176,7 +176,6 @@ translations: description: > Metrics related to the performance of the TranslationsEngine. extra_keys: - flow_id: *flow_id from_language: *from_language to_language: *to_language average_words_per_request: