From 2802916232163290b632ac9ba41b495c0ac9496a Mon Sep 17 00:00:00 2001 From: Daniel Schmidt Date: Wed, 6 Feb 2019 15:53:51 +0100 Subject: [PATCH] add syntax highlighting for code block --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index ae61c2a..8a6e5dc 100644 --- a/README.md +++ b/README.md @@ -57,7 +57,7 @@ Sample rate is an optional parameter to all of the metric API calls. A valid sa In these examples we are samping at a rate of 0.1, meaning 1-in-10 calls to send a sample will actually be sent to StatsD. -``` +```js var metrics = new lynx('localhost', 8125); metrics.increment('node_test.int', 0.1); metrics.decrement('node_test.int', 0.1);