Skip to content

Commit

Permalink
Add cachetools to pip install on Dockerfile
Browse files Browse the repository at this point in the history
  • Loading branch information
C1299593 Phillipe Smith Carvalho Chaves committed Aug 6, 2020
1 parent b24757c commit 17e7002
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ LABEL version="1.2.0" \
description="Rundeck metrics exporter to Prometheus" \
maintainer="Phillipe Smith <[email protected]>"

RUN pip install prometheus-client requests
RUN pip install prometheus-client requests cachetools

COPY rundeck_exporter.py /usr/bin

Expand Down
3 changes: 2 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ All metrics are exported with **rundeck_** prefix.
* A Rundeck token with permissions to make API requests
* The following python modules:
```
pip install prometheus-client requests
pip install prometheus-client requests cachetools
```

## Usage
Expand Down Expand Up @@ -162,4 +162,5 @@ docker run --rm -d -p 9620:9620 rundeck_exporter \
* --rundeck.cached.requests.ttl: Rundeck cached requests (by now, only for rundeck.projects.executions) expiration time. Default: 120
* Add log messages through logging module
* Add code improvements
* Add cachetools to pip install on Dockerfile
* Change args location, now located at class RundeckMetricsCollector

0 comments on commit 17e7002

Please sign in to comment.