Skip to content

Commit

Permalink
Update doc
Browse files Browse the repository at this point in the history
  • Loading branch information
yciabaud committed Sep 24, 2017
1 parent cf0131e commit cfb190b
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,11 +17,6 @@ $ luarocks install kong-prometheus-plugin

## Configuration

To store the metrics, you need to create a kong configuration template including a shared dictionnary:
```
lua_shared_dict prometheus_metrics 10M;
```

Configuring the plugin is straightforward, you can add it on top of an
API by executing the following request on your Kong server:

Expand All @@ -45,6 +40,11 @@ parameter | default | description

----

If you use a custom shared dictionary to store the metrics, you need to create a kong configuration template including the shared dictionary:
```
lua_shared_dict prometheus_metrics 10M;
```

## Metrics

Metrics the plugin can expose in the prometheus format.
Expand Down

0 comments on commit cfb190b

Please sign in to comment.