Skip to content

Commit 37266d2

Browse files
Update packages/core/src/shared/telemetry/telemetryLogger.ts
Co-authored-by: Justin M. Keyes <[email protected]>
1 parent 77a5806 commit 37266d2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/core/src/shared/telemetry/telemetryLogger.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -120,7 +120,7 @@ export class TelemetryLogger {
120120
}
121121

122122
/**
123-
* Queries telemetry for metrics with metadata containing a keyword in the key or value
123+
* Queries telemetry for metrics with metadata key or value matching the given regex.
124124
*/
125125
public queryRegex(re: RegExp | string): MetricDatum[] {
126126
return this._metrics.filter((m) => m.Metadata?.some((md) => md.Value?.match(re) || md.Key?.match(re)))

0 commit comments

Comments
 (0)