import { logInfo } from '@grafana/runtime'; const cachedMetricProxies = new WeakMap(); const trackedKeys: Record = {}; function createMetricsProxy(obj: T, parentName: string, packageName: string): T { const handler: ProxyHandler = { get(target, key) { if ( // plugins are evaluated by SystemJS and not by a browser