Skip to content
This repository has been archived by the owner on Feb 20, 2021. It is now read-only.

joatmon08/ovs_exporter

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

31 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

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