From 17e700216496f14e6a18926684a93b4fd901fb55 Mon Sep 17 00:00:00 2001 From: C1299593 Phillipe Smith Carvalho Chaves Date: Thu, 6 Aug 2020 02:44:11 -0300 Subject: [PATCH] Add cachetools to pip install on Dockerfile --- Dockerfile | 2 +- README.md | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/Dockerfile b/Dockerfile index df99e02..3d67a52 100644 --- a/Dockerfile +++ b/Dockerfile @@ -4,7 +4,7 @@ LABEL version="1.2.0" \ description="Rundeck metrics exporter to Prometheus" \ maintainer="Phillipe Smith " -RUN pip install prometheus-client requests +RUN pip install prometheus-client requests cachetools COPY rundeck_exporter.py /usr/bin diff --git a/README.md b/README.md index 2c7b6c8..c3450ba 100644 --- a/README.md +++ b/README.md @@ -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 @@ -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