This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
APP_ENV=production | |
MONOFLAKE_NODE=0 |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Libp2p is one of most commonly used libraries across web3 infrasture. It exposes several metrics compatible with Prometheus.
The official github repo has Grafana dashboard json for a quick start.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
ip neigh show dev wlan0 |
- Set screen blanking:
sudo raspi-config nonint do_blanking 0
- Set lingering:
sudo loginctl enable-linger $(whoami)
- If above two does not work
sudo setterm -powerdown 0
andsudo setterm -powersave off
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Using this composer in the machines that a specific app runs which opens the port for prometheus | |
# Using promtail collect logs and publish to external loki | |
version: '3.8' | |
networks: | |
monitoring: | |
driver: bridge | |
services: | |
cadvisor: |
Downloading a tar.gz file and extracting it after the download completes might consume a lot of disk space and time.
It is possible to write tar.gz
file directly as input to tar
command and untar it to directory directly from remote url.
wget -qO- your_link_here | tar -xvz -C /target/directory
# Create the folder to mount drive
sudo mkdir /mnt/storage
# Set user/group perms to write
chown -R pi:pi /mnt/storage
# find the driver properties
sudo blkid
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
sudo sysctl -w kern.maxfiles=75000 | |
sudo sysctl -w kern.maxfilesperproc=75000 | |
ulimit -S -n 75000 |
NewerOlder