Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
.idea
process-exporter
!packaging/default/process-exporter
load-generator
integration-tester
dist
1 change: 1 addition & 0 deletions .goreleaser.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@ nfpm:
"packaging/process-exporter.service": "/lib/systemd/system/process-exporter.service"
config_files:
"packaging/conf/all.yaml": "/etc/process-exporter/all.yaml"
"packaging/default/process-exporter": "/etc/default/process-exporter"
scripts:
postinstall: "packaging/scripts/postinstall.sh"
postremove: "packaging/scripts/postremove.sh"
Expand Down
1 change: 1 addition & 0 deletions packaging/default/process-exporter
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
OPTIONS="--config.path /etc/process-exporter/all.yaml --web.listen-address=:9256"
3 changes: 2 additions & 1 deletion packaging/process-exporter.service
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,8 @@ Description=Process Exporter for Prometheus
[Service]
User=root
Type=simple
ExecStart=/usr/bin/process-exporter --config.path /etc/process-exporter/all.yaml --web.listen-address=:9256
EnvironmentFile=/etc/default/process-exporter
ExecStart=/usr/bin/process-exporter $OPTIONS
KillMode=process
Restart=always

Expand Down