# This Source Code Form is subject to the terms of the Mozilla Public↩
# License, v. 2.0. If a copy of the MPL was not distributed with this↩
# file, You can obtain one at http://mozilla.org/MPL/2.0/.↩
engine_performance:
type: event
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:
type: quantity
description: The average count of words that this engine translated per request.
average_words_per_second:
type: quantity
description: The average words per second that this engine translated per request.
total_completed_requests:
type: quantity
description: The count of translation requests that were completed by this engine.
total_inference_seconds:
type: quantity
description: The total seconds this engine spent in active translation inference.
total_translated_words:
type: quantity
description: The total number of words translated by this engine.
bugs:
- https://bugzilla.mozilla.org/show_bug.cgi?id=1943132
data_reviews:
- https://bugzilla.mozilla.org/show_bug.cgi?id=1943132
data_sensitivity:
- interaction
notification_emails:
- translations-telemetry-alerts@mozilla.com
expires: never
change_from_language:
type: event
description: >
Triggers when the from-language selected value is changed.
extra_keys:
flow_id: *flow_id
language: *language
document_language: *language
previous_language:
type: string
description: >
- The BCP47 language tag of the previously selected language.
bugs:
- https://bugzilla.mozilla.org/show_bug.cgi?id=1903391
data_reviews:
- https://bugzilla.mozilla.org/show_bug.cgi?id=1903391
data_sensitivity:
- interaction
notification_emails:
- translations-telemetry-alerts@mozilla.com
expires: never