
Security News
The Changelog Podcast: Practical Steps to Stay Safe on npm
Learn the essential steps every developer should take to stay secure on npm and reduce exposure to supply chain attacks.
opendev.org/starlingx/app-node-interface-metrics-exporter
Advanced tools
app-node-interface-metrics-exporter flux cd app
├── app-node-interface-metrics-exporter # Root Folder
│  ├── debian_build_layer.cfg
│  ├── debian_iso_image.inc
│  ├── debian_pkg_dirs
│  ├── metrics-exporter-api # Go code for api server which will expose Metrics for NIC .
│  ├── python3-k8sapp-node-interface-metrics-exporter # lifecycle managemnt code to support flux apps
│  ├── README.md
│  ├── requirements.txt
│  ├── stx-node-interface-metrics-exporter # helm Package manager for the app
│  ├── test-requirements.txt
│  └── tox.ini
all command related to go code should run from
app-node-interface-metrics-exporter/metrics-exporter-api/docker/metrics-exporter-api
It is Simple Http Server which reads network interface (PCI devices) and exposes following API's
$ make
help: Show this help.
install_dep: install go dependency
run: run app on host machine
test: run go unit test
testcov: run go coverage test
vet: run go vet
lint: run go lint
build_linux: Build application
build_image: Build docker image
$ make runwill start go dev http server
| Options | Help |
|---|---|
-log.file | Log file name (default "node_metrics_api.log") |
-log.level | log level. (default "info"). Valid options trace, debug, info, warning, error, fatal and panic |
-log.file | Log file name (default "node_metrics_api.log") |
-web.listen-address | Port to listen on for web interface. (default ":9110") |
-path.sys | mounted path for host /sys inside container (default "/sys") |
pre requisite go 1.21.0
FAQs
Unknown package
Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Security News
Learn the essential steps every developer should take to stay secure on npm and reduce exposure to supply chain attacks.

Security News
Experts push back on new claims about AI-driven ransomware, warning that hype and sponsored research are distorting how the threat is understood.

Security News
Ruby's creator Matz assumes control of RubyGems and Bundler repositories while former maintainers agree to step back and transfer all rights to end the dispute.