Skip to content

Commit

Permalink
Update readme
Browse files Browse the repository at this point in the history
  • Loading branch information
bsingr committed Jan 23, 2019
1 parent 5b95931 commit e9b4125
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,12 @@
## Usage

```
docker run -p 8000:8000 -e TYK_GATEWAY_URL=<url> -e TYK_GATEWAY_SECRET=<secret> coliquiode/tyk-gateway-prometheus-sidecar
curl localhost:8000/all/metrics
$ docker run -p 8000:8000 -e TYK_GATEWAY_URL=<url> -e TYK_GATEWAY_SECRET=<secret> coliquiode/tyk-gateway-prometheus-sidecar
$ curl localhost:8000/all/metrics
# HELP tyk_api_definition Number of API definition
# TYPE tyk_api_definition counter
tyk_api_definition{name="foo",slug="foo",api_id="111",id="222",org_id="333"} 1
tyk_api_definition{name="bar",slug="bar",api_id="444",id="555",org_id="666"} 1
```

## License
Expand Down

0 comments on commit e9b4125

Please sign in to comment.