Skip to content

Commit

Permalink
made test on linux and changed default config
Browse files Browse the repository at this point in the history
  • Loading branch information
codestoke committed Jan 21, 2019
1 parent d97215a commit d5aab23
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 7 deletions.
6 changes: 4 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@ the purpose of this exporter is to provide metrics so prometheus can generate an
- how fast is the gathering
- where are the limits on local drives
- what are the limits on remote directories
- work out how to handle dependencies propperly.

## notes to self
- *important* stack items correctly (types and help text must only appear once in a metric export / per request)
Expand All @@ -55,8 +56,8 @@ this is the time interval which is used to poll the updates from the directories
### directories
```
directories:
- path: \tmp
name: "tmp_dir"
- name: "tmp"
path: /tmp
recursive: true
```
|key|value|
Expand All @@ -67,6 +68,7 @@ directories:

## usage
in your GOPATH type
`go get gopkg.in/yaml.v2`

`go get github.com/codestoke/directory_stat_exporter`

Expand Down
10 changes: 5 additions & 5 deletions config.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
serviceport: "9999"
cachetime: 1
directories:
- path: \tmp
name: \tmp
serviceport: "9999"
cachetime: 1
directories:
- name: tmp
path: /tmp
recursive: true

0 comments on commit d5aab23

Please sign in to comment.