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

Latest commit

 

History

History
47 lines (32 loc) · 1.23 KB

README.md

File metadata and controls

47 lines (32 loc) · 1.23 KB

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