Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
import Agent from "meteor/kschingiz:meteor-elastic-apm";
import meteorMeasured from "meteor/kschingiz:meteor-measured";
Agent.start({
serviceName: "meteor-demo-app"
});
const metrics = Agent._metrics;
const registrySymbol = Object.getOwnPropertySymbols(metrics).find(
symbol => symbol.toString() === "Symbol(metrics-registry)"
);
const registry = metrics[registrySymbol];
meteorMeasured(registry);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.