Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
open-source
GitlabRSSSync
Commits
86a9aad7
Commit
86a9aad7
authored
Mar 28, 2019
by
Adam Harrison-Fuller
Browse files
Added Prometheus metrics to readme
Signed-off-by:
Adam Harrison-Fuller
<
adam@adamhf.io
>
parent
9c392334
Changes
1
Hide whitespace changes
Inline
Side-by-side
README.md
View file @
86a9aad7
...
...
@@ -39,5 +39,10 @@ that is contained within it stores the state of which RSS items have already bee
docker run
-e
GITLAB_API_TOKEN
=
<INSERT_TOKEN>
-e
DATA_DIR
=
/data
-e
CONFIG_DIR
=
/app
-v
<PATH_TO_DATA_DIR>:/data
-v
<PATH_TO_CONFIG_DIR>/config adamhf/rss-sync:latest
```
## Prometheus Metrics
Two metrics (above and beyond what are exposed by the Go Prometheus library) are exposed on :8080/metrics
*
last_run_time - The time of the last feed checks, useful for creating alerts to check for successful runs.
*
issues_created - The total number of issues created in Gitlab, useful to check for runaways.
### TODO
*
Make the retroactive setting of the Gitlab creation time optional.
\ No newline at end of file
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment