Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
ldrahnik committed Jun 30, 2024
1 parent 1ca42c8 commit 9960d57
Showing 1 changed file with 13 additions and 2 deletions.
15 changes: 13 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -327,6 +327,7 @@ fbserver.company.com:db_name,sysdba,pass

```
├── filestat.yaml
├── web-config.yml
└── filestat_exporter.exe
```

Expand All @@ -339,20 +340,27 @@ exporter:
files:
- patterns: ['*.log']
```

**web-config.yml**
```
basic_auth_users:
admin: <bcrypt-hash-of-pass>
```


## 3. Prometheus

**prometheus.yml**
```
...
- job_name: filestat_exporter
metrics_path: /metrics
scrape_timeout: 1m
scrape_interval: 1m
static_configs:
- targets: [ 'xyz:9943' ]
basic_auth:
username: 'admin'
password: 'pass'
- job_name: 'script_exporter'
metrics_path: /probe
Expand All @@ -363,6 +371,9 @@ exporter:
- targets:
- fbserver.company.com:/data/vol2/data/db_name.gdb
- fbserver.company.com:db_name
basic_auth:
username: 'admin'
password: 'pass'
relabel_configs:
- source_labels: [__address__]
target_label: __param_target
Expand Down

0 comments on commit 9960d57

Please sign in to comment.