mirror of
https://github.com/bisq-network/bisq.git
synced 2025-01-19 05:44:05 +01:00
Merge pull request #4004 from freimair/networkmetric_installer
Adjust NetworkSize metric installer
This commit is contained in:
commit
ac3e58846b
@ -67,6 +67,21 @@ curl http://localhost:8080/getVersion
|
||||
curl http://localhost:8080/info
|
||||
```
|
||||
|
||||
### Monitoring
|
||||
|
||||
If you run a main pricenode, you also are obliged to activate the monitoring feed by running
|
||||
|
||||
```bash
|
||||
curl -s https://raw.githubusercontent.com/bisq-network/bisq/master/monitor/install_collectd_debian.sh | sudo bash
|
||||
```
|
||||
Follow the instruction given by the script and report your certificate to the [@bisq-network/monitoring](https://github.com/orgs/bisq-network/teams/monitoring-operators) team or via the [Keybase](https://keybase.io/team/bisq) `#monitoring` channel!
|
||||
|
||||
Furthermore, you are obliged to provide network size data to the monitor by running
|
||||
```bash
|
||||
curl -s https://raw.githubusercontent.com/bisq-network/bisq/master/pricenode/install_networksize_debian.sh | sudo bash
|
||||
```
|
||||
|
||||
|
||||
## How to deploy elsewhere
|
||||
|
||||
- [README-HEROKU.md](README-HEROKU.md)
|
||||
|
@ -3,6 +3,7 @@ Description=Bisq Price Node
|
||||
After=network.target
|
||||
|
||||
[Service]
|
||||
SyslogIdentifier=bisq-pricenode
|
||||
EnvironmentFile=/etc/default/bisq-pricenode.env
|
||||
ExecStart=/bisq/bisq/bisq-pricenode 2 2
|
||||
ExecStop=/bin/kill -TERM ${MAINPID}
|
||||
|
@ -8,7 +8,7 @@ while true;
|
||||
do
|
||||
now=$(date +"%F %T")
|
||||
|
||||
journalctl -u bisq --since="$last" --until="$now" | grep -Eo "getAllMarketPrices.*bisq/[0-9].[0-9].[0-9]" | cut -d / -f 2 | sort | uniq -c | while read -r line; do
|
||||
journalctl -u bisq-pricenode --since="$last" --until="$now" | grep -Eo "getAllMarketPrices.*bisq/[0-9].[0-9].[0-9]" | cut -d / -f 2 | sort | uniq -c | while read -r line; do
|
||||
number=$(echo "${line}" | cut -d ' ' -f 1);
|
||||
version=$(echo "${line}" | cut -d \ -f 2);
|
||||
version=${version//./_};
|
||||
|
Loading…
Reference in New Issue
Block a user