Skip to content

Commit

Permalink
fixing docs
Browse files Browse the repository at this point in the history
Signed-off-by: Lorenzo Aiello <lorenzo@aiello.family>
  • Loading branch information
lorenzoaiello committed Mar 24, 2020
1 parent ad715f9 commit f757727
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
statsd-elasticsearch-backend
statsd-elasticsearch7-backend
============================

Elasticsearch 7.x backend for statsd
Expand Down Expand Up @@ -27,7 +27,7 @@ Add a structure to your configuration called "elasticsearch":

```js

backends: [ 'statsd-elasticsearch-backend' ],
backends: [ 'statsd-elasticsearch7-backend' ],
debug: true,
elasticsearch: {
port: 9200,
Expand Down Expand Up @@ -141,7 +141,7 @@ Look at `lib/default_format.js` for a template to build your own.
In order to use basic auth in your application, add two keys to configuration of application:

```js
backends: [ 'statsd-elasticsearch-backend' ],
backends: [ 'statsd-elasticsearch7-backend' ],
debug: true,
elasticsearch: {
...
Expand Down
2 changes: 1 addition & 1 deletion lib/elasticsearch.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
* To enable this backend, include 'elastic' in the backends
* configuration array:
*
* backends: ['statsd-elasticsearch-backend']
* backends: ['statsd-elasticsearch7-backend']
* (if the config file is in the statsd folder)
*
* This backend supports the following config options:
Expand Down

0 comments on commit f757727

Please sign in to comment.