-
Notifications
You must be signed in to change notification settings - Fork 13
/
filestat.yaml
36 lines (30 loc) · 987 Bytes
/
filestat.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
exporter:
#! Working directory of exporter
#working_directory: "."
#! Network parameters
#listen_address: ':9943'
#metrics_path: /metrics
#! Uncomment one of the following to enable default config
#enable_crc32_metric: true
#enable_nb_line_metric: true
#! name of file tree - used for scoping conflicting file path
#tree_name: ""
#! path of files will be relative to tree root
#tree_root: ""
#! list of patterns to apply
files:
- patterns: ['*']
# enable_crc32_metric: true
# enable_nb_line_metric: true
#! Patterns can be recursive - be careful of infinite loop in some cases
# - patterns: ['**/*.go']
#! collecting files in different tree
#trees:
#- tree_name: project1
#! use different tree root to look for files
# tree_root: "path/to/project1/"
# enable_crc32_metric: true
# enable_nb_line_metric: true
# ... same config as general collector
#files:
# - patterns: ['*.go']