Skip to content

Commit

Permalink
app-metrics/pushgateway: Move package from net-analyzer/prometheus-pu…
Browse files Browse the repository at this point in the history
…shgateway
  • Loading branch information
mrueg committed Mar 30, 2018
1 parent b161af0 commit 476e87a
Show file tree
Hide file tree
Showing 10 changed files with 13 additions and 12 deletions.
1 change: 1 addition & 0 deletions app-metrics/pushgateway/Manifest
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
DIST pushgateway-0.4.0.tar.gz 1140644 BLAKE2B ea82e2e7f6fd817de02044e5aafde724a4089e4f2961f0b581f90df7e04e65af5a3c3e044ef94bd600a92468a8aed791c838a8fdc64b05b7a91d6288e7e96fb3 SHA512 67f25e5f7fdc54143c5d10720f27bd256f22695ced93088cf2b72fe3197e45324d4353357ae40d7d3e92019480c0bec009e38ed3f583724d46411d76adbdc927
7 changes: 7 additions & 0 deletions app-metrics/pushgateway/files/pushgateway.logrotated
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
/var/log/pushgateway/pushgateway.log {
missingok
size 5M
rotate 3
compress
copytruncate
}
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,9 @@ Documentation=https://prometheus.io/docs/instrumenting/pushing/
After=network-online.target

[Service]
User=prometheus-pushgateway
User=pushgateway
Restart=on-failure
Environment=PUSHGATEWAY_ARGS="-web.listen-address localhost:9091 --persistence.file=/var/lib/prometheus-pushgateway/persistence.gob"
Environment=PUSHGATEWAY_ARGS="-web.listen-address localhost:9091 --persistence.file=/var/lib/pushgateway/persistence.gob"
ExecStart=/usr/bin/pushgateway $PUSHGATEWAY_ARGS
ExecReload=/bin/kill -HUP $MAINPID
TimeoutStopSec=20s
Expand Down
File renamed without changes.
Original file line number Diff line number Diff line change
Expand Up @@ -32,13 +32,13 @@ src_prepare() {
src_compile() {
pushd src/${EGO_PN} || die
mkdir -p bin || die
GOPATH="${S}" promu build -v --prefix pushgateway || die
GOPATH="${S}" promu build -v --prefix bin || die
popd || die
}

src_install() {
pushd src/${EGO_PN} || die
dobin pushgateway/pushgateway
dobin bin/pushgateway
dodoc {README,CHANGELOG,CONTRIBUTING}.md
popd || die
keepdir /var/lib/${PN} /var/log/${PN}
Expand Down
1 change: 0 additions & 1 deletion net-analyzer/prometheus-pushgateway/Manifest

This file was deleted.

This file was deleted.

1 change: 1 addition & 0 deletions profiles/updates/1Q-2018
Original file line number Diff line number Diff line change
Expand Up @@ -20,3 +20,4 @@ move net-analyzer/prometheus-blackbox_exporter app-metrics/blackbox_exporter
move net-analyzer/prometheus-snmp_exporter app-metrics/snmp_exporter
move net-analyzer/prometheus-redis_exporter app-metrics/redis_exporter
move net-analyzer/prometheus-uwsgi_exporter app-metrics/uwsgi_exporter
move net-analyzer/prometheus-pushgateway app-metrics/pushgateway

0 comments on commit 476e87a

Please sign in to comment.