Update comment to point people in the right direction when searching for collected metrics (#150582)

## Summary

This updates the comments for the `use_track_metric` hooks to guide
users to find where the collected data ends up.
This commit is contained in:
Coen Warmer 2023-02-09 12:18:15 +01:00 committed by GitHub
parent 111d9d1f87
commit 381b82052f
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -13,10 +13,8 @@ import { ObservabilityApp } from '../../typings/common';
/**
* Note: The usage_collection plugin will take care of sending this data to the telemetry server.
* You can find these metrics stored at:
* stack_stats.kibana.plugins.ui_metric.{app}.{metric}(__delayed_{n}ms)?
* which will be an array of objects each containing a key, representing the metric, and
* a value, which will be a counter
* You can find the metrics that are collected by these hooks in Stack Telemetry.
* Search the index `kibana-ui-counter`. You can filter for `eventName` and/or `appName`.
*/
interface TrackOptions {