https://github.com/clouddetail/node-agent
https://github.com/clouddetail/node-agent
Last synced: 2 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/clouddetail/node-agent
- Owner: CloudDetail
- License: apache-2.0
- Created: 2024-08-09T01:08:04.000Z (11 months ago)
- Default Branch: main
- Last Pushed: 2025-03-17T07:44:01.000Z (4 months ago)
- Last Synced: 2025-04-06T05:34:30.215Z (3 months ago)
- Language: Go
- Size: 110 KB
- Stars: 1
- Watchers: 0
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# node-agent
A monitoring agent that exports network metrics for applications and their downstream dependencies, as well as application startup time metrics.
## Build
```bash
docker build -t node-agent:latest -f ./docker/Dockerfile .
```## Deploy
```bash
docker run -d --rm \
-e MY_NODE_NAME="xxxx" \
-e MY_NODE_IP="192.168.1.xxx" \
-v /proc:/proc:ro \
--net=host --pid=host --privileged \
node-agent:latest
```## Configuration
Environment Variables:
- MY_NODE_NAME: Name of the node
- MY_NODE_IP: IP address of the nodeFor additional configuration options, please refer to the `config.yaml` file.