{"repo":"vinted/sonic-exporter","free":true,"listed":false,"github":"https://github.com/vinted/sonic-exporter","clone":"git clone https://github.com/vinted/sonic-exporter.git","description":"sonic-exporter is prometheus exporter for network switches running sonic NOS.","language":"Go","stars":10,"topics":["network","networking","prometheus-exporter","sonic","metrics","prometheus","telemetry"],"license":"MIT","category":"analytics","readme_excerpt":"sonic-exporter Prometheus exporter for SONiC NOS. Currently supported collectors: - HW collector: collects metrics about PSU and Fan operation - Interface collector: collect metrics about interface operation and performance. - CRM collector: collects Critial Resource Monitoring metrics. - Queue collector: collects metrics about queues. Usage 1. Run binary 2. You can verify that exporter is running by cURLing the /metrics endpoint. Configuration Environment variables: - REDIS ADDRESS - redis connection string, if using unix socket set REDIS NETWORK to unix . Default: localhost:6379 . - REDIS PASSWORD - password used when connecting to redis. - REDIS NETWORK - redis network type, either tcp or unix. Default: tcp . Development 1. Development environment is based on docker-compose. To start it run: 2. To verify that development environment is ready try cURLing the /metrics endpoint, you should see exported metrics.: 3. After making code changes rebuild docker container: In case you need to add additional keys to redis database don't forget to run SAVE in redis after doing so: Test Currently, tests are using mockredis database which is populated from fixture files. To run tests manually simply execute:","default_branch":null,"files":null,"tree":[],"storefront":"/r/vinted","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/vinted/sonic-exporter/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}