From c65169ded6e4e32e923d6b6ee92df7f024fd985d Mon Sep 17 00:00:00 2001 From: shpigluto <95214609+shpigluto@users.noreply.github.com> Date: Thu, 14 Jul 2022 16:46:47 +0300 Subject: [PATCH] Improve readme code example the import is necessary for the code example to work, and it is not clear enough import to the clients is from this package as well. --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 8315bc5..3278470 100644 --- a/README.md +++ b/README.md @@ -31,7 +31,7 @@ npm install monitored To wire this package, you must pass an `Options` object. ```ts -import { setGlobalInstance, Monitor } from 'monitored'; +import { setGlobalInstance, Monitor, StatsdPlugin, PrometheusPlugin } from 'monitored'; interface MonitorOptions { serviceName: string; // Represents the name of the service you are monitoring (mandatory)