Copy as Markdown

Other Tools

// -*- mode: C++ -*-
// AUTOGENERATED BY glean_parser. DO NOT EDIT.
/* 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/. */
#ifndef mozilla_GleanTextrecognitionMetrics_h
#define mozilla_GleanTextrecognitionMetrics_h
#include "mozilla/glean/bindings/MetricTypes.h"
namespace mozilla::glean {
namespace browser_ui_interaction {
/**
* generated from browser.ui.interaction.textrecognition_error
* Recorded when text recognition in images fails for some unknown reason. This metric was generated to correspond to the Legacy Telemetry scalar browser.ui.interaction.textrecognition_error.
*/
constexpr impl::CounterMetric textrecognition_error(880);
}
namespace text_recognition {
/**
* generated from text_recognition.api_performance
* The milliseconds of time the text recognition results took to display, including the UI time and OS response time.
* This metric was generated to correspond to the Legacy Telemetry exponential histogram TEXT_RECOGNITION_API_PERFORMANCE.
*/
constexpr impl::TimingDistributionMetric api_performance(924);
/**
* generated from text_recognition.interaction_timing
* The milliseconds of time that a user viewed the text results.
* This metric was generated to correspond to the Legacy Telemetry exponential histogram TEXT_RECOGNITION_INTERACTION_TIMING.
*/
constexpr impl::TimingDistributionMetric interaction_timing(925);
/**
* generated from text_recognition.text_length
* Measures the length of the text that was recognized, in code units.
* This metric was generated to correspond to the Legacy Telemetry exponential histogram TEXT_RECOGNITION_TEXT_LENGTH.
*/
constexpr impl::CustomDistributionMetric text_length(926);
}
} // namespace mozilla::glean
#endif // mozilla_GleanTextrecognitionMetrics_h