https://github.com/fgouteroux/sensu-go-basic-metrics
Collect basic os system metrics in graphite format.
https://github.com/fgouteroux/sensu-go-basic-metrics
Last synced: 5 months ago
JSON representation
Collect basic os system metrics in graphite format.
- Host: GitHub
- URL: https://github.com/fgouteroux/sensu-go-basic-metrics
- Owner: fgouteroux
- License: apache-2.0
- Archived: true
- Created: 2020-06-16T10:02:29.000Z (almost 6 years ago)
- Default Branch: master
- Last Pushed: 2020-09-15T16:01:44.000Z (over 5 years ago)
- Last Synced: 2023-08-02T05:22:40.891Z (almost 3 years ago)
- Language: Go
- Size: 1.18 MB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# sensu-go-basic-metrics
Get basic os system metrics in graphite format.
## Usage
All metrics collectors support the scheme option.
```
metrics-memory -h
Usage of metrics-memory:
-scheme string
Metric naming scheme, text to prepend to metric.
```
Output:
```
myprefix.memory.total 16700456960 1592300994
myprefix.memory.used 6063837184 1592300994
myprefix.memory.cached 7503912960 1592300994
myprefix.memory.free 2086256640 1592300994
myprefix.memory.active 9296670720 1592300994
myprefix.memory.inactive 3047002112 1592300994
myprefix.memory.swaptotal 4294963200 1592300994
myprefix.memory.swapused 99090432 1592300994
myprefix.memory.swapfree 4195872768 1592300994
```
## References
**Sources**
- [go-osstat](https://github.com/mackerelio/go-osstat)
**Linux Metric**
- cpu
- disk
- disk-usage
- interface
- loadavg
- memory
- netstat-tcp
- uptime
- vmstat
**Windows Metrics**
- memory
- netstat-tcp
- uptime