MCPcopy Create free account
hub / github.com/NativeScript/firebase / getMetric

Method getMetric

packages/firebase-performance/common.ts:17–17  ·  view source on GitHub ↗
(metricName: string)

Source from the content-addressed store, hash-verified

15export interface ITrace {
16 getAttribute(attribute: string): string | null;
17 getMetric(metricName: string): number;
18 getMetrics(): { [key: string]: number };
19 incrementMetric(metricName: string, incrementBy: number): void;
20 putAttribute(attribute: string, value: string): void;

Callers

nothing calls this directly

Implementers 3

Tracepackages/firebase-performance/index.an
Tracepackages/firebase-performance/index.io
Tracepackages/firebase-performance/index.d.

Calls

no outgoing calls

Tested by

no test coverage detected