tor-browser

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

commit 30b7a8312f9f3ed624ddc2f1d43e068a76e6f180
parent f6d20b53a167a00aa951544cd44b46a59c9da413
Author: Erik Nordin <enordin@mozilla.com>
Date:   Tue,  4 Nov 2025 21:51:32 +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: