ned.
     *
     * @return {undefined|number}
     */
    get metricLatencyMs() {
      return tr.b.math.Statistics.mean(this.metricLatenciesMs_);
    },

    onMetricChange_() {
      this.currentMetricTypeInfo_ =
        tr.metrics.MetricRegistry.findTypeInfoWithName(
            this.currentMetricName_);
      this.metricLatenciesMs_ = [];
      this.updateContents_();
    },

    onRecompute_() {
      this.updateContents_();
    },

    get textLabel() {
      return 'Metrics';
    },

    supportsMode