Skip to content

telemetry-js/collector-sockstat

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

collector-sockstat

Collect /proc/net/sockstat metrics (tcp only for now). Linux only.
A telemetry plugin.

npm status node Test JavaScript Style Guide

Table of Contents

Click to expand

Usage

const telemetry = require('@telemetry-js/telemetry')()
const sockstat = require('@telemetry-js/collector-sockstat')

telemetry.task()
  .collect(sockstat, { /* options */ })

Options

Yet to document.

Install

With npm do:

npm install @telemetry-js/collector-sockstat

Acknowledgements

This project is kindly sponsored by Reason Cybersecurity Ltd.

reason logo

License

MIT © Vincent Weevers