Skip to content

Andywugh/ovs_exporter

 
 

Repository files navigation

Open vSwitch Prometheus Exporter

A Prometheus exporter for Open vSwitch.

alt tag

Getting Started

Prerequisites

Installing

  • Clone the repository.
  • Run the exporter: go run ovs_exporter.go.
  • To Do: Vagrantfile with Open vSwitch & exporter.

Running the tests

  • Unit tests can be run with go test ./....
  • To Do: Integration tests

Deployment

  • To deploy, build the binary: go build ovs_exporter.go.
  • To run, you can specify many options, including:
  -listen-port string
        Address to listen on for web interface and telemetry. (default ":9107")
  -metrics-path string
        Path under which to expose metrics. (default "/metrics")
  -uri string
        URI to connect to Open vSwitch (default "/var/run/openvswitch/db.sock")

Authors

License

This project is licensed under the MIT License - see the LICENSE.md file for details

About

Open vSwitch Exporter for Prometheus

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Go 98.0%
  • Dockerfile 2.0%