diff --git a/README.md b/README.md index f35761d5..d95137ee 100644 --- a/README.md +++ b/README.md @@ -155,14 +155,14 @@ Stops the appmetrics monitoring agent. If the agent is not running this function ### appmetrics.enable(`type`, `config`) Enable data generation of the specified data type. Cannot be called until the agent has been started by calling `start()` or `monitor()`. -* `type` (String) the type of event to start generating data for. Values of `eventloop`, `profiling`, `http`, `http-outbound`, `mongo`, `socketio`, `mqlight`, `postgresql`, `mqtt`, `mysql`, `redis`, `riak`, `memcached`, `oracledb`, `oracle`, `strong-oracle`, `requests` and `trace` are currently supported. As `trace` is added to request data, both `requests` and `trace` must be enabled in order to receive trace data. +* `type` (String) the type of event to start generating data for. Values of `eventloop`, `profiling`, `http`, `http-outbound`, `mongodb`, `socketio`, `mqlight`, `postgresql`, `mqtt`, `mysql`, `redis`, `riak`, `memcached`, `oracledb`, `oracle`, `strong-oracle`, `requests` and `trace` are currently supported. As `trace` is added to request data, both `requests` and `trace` must be enabled in order to receive trace data. * `config` (Object) (optional) configuration map to be added for the data type being enabled. (see *[setConfig](#appmetricssetconfigtype-config)*) for more information. The following data types are disabled by default: `profiling`, `requests`, `trace` ### appmetrics.disable(`type`) Disable data generation of the specified data type. Cannot be called until the agent has been started by calling `start()` or `monitor()`. -* `type` (String) the type of event to stop generating data for. Values of `eventloop`, `profiling`, `http`, `mongo`, `socketio`, `mqlight`, `postgresql`, `mqtt`, `mysql`, `redis`, `riak`, `memcached`, `oracledb`, `oracle`, `strong-oracle`, `requests` and `trace` are currently supported. +* `type` (String) the type of event to stop generating data for. Values of `eventloop`, `profiling`, `http`, `mongodb`, `socketio`, `mqlight`, `postgresql`, `mqtt`, `mysql`, `redis`, `riak`, `memcached`, `oracledb`, `oracle`, `strong-oracle`, `requests` and `trace` are currently supported. ### appmetrics.setConfig(`type`, `config`) Set the configuration to be applied to a specific data type. The configuration available is specific to the data type.