Giter Site home page Giter Site logo

go-xentop's Introduction

go-xentop

Wraps xentop. Documentation is on godoc.

Xen prometheus exporter

As an example, the prometheus-xentop folder contains a webserver that exposes the xentop data to Prometheus.

$ go get github.com/bwesterb/go-xentop/prometheus-xentop
$ $GOROOT/bin/prometheus-xentop -bind 0:8080

go-xentop's People

Contributors

aykevl avatar bwesterb avatar euphline avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

go-xentop's Issues

Handle space in domain name

when the exporter is working, error messages appear in the console

2020/01/03 01:34:15 Couldn't parse **-***-****** -----r          6   65.2    4194292    2.1    4232192       2.1     2    0        0        0    1        -        -        -          -          -    0: found error(s): [VBD_OO: could not parse: strconv.ParseInt: parsing "-": invalid syntax VBD_RD: could not parse: strconv.ParseInt: parsing "-": invalid syntax VBD_WR: could not parse: strconv.ParseInt: parsing "-": invalid syntax VBD_RSECT: could not parse: strconv.ParseInt: parsing "-": invalid syntax VBD_WSECT: could not parse: strconv.ParseInt: parsing "-": invalid syntax]`
`2020/01/15 10:16:26 Couldn't parse Windows7 (Dev) --b---      88016   13.6    8388600    1.6    8389632       1.6     4    0        0        0    1        0    91145   434918    4840347   12072165    0: found error(s): [Missing field  NAME Missing field  STATE Missing field  CPU(sec) Missing field  CPU(%) Missing field  MEM(k) Missing field  MAXMEM(k) Missing field  MEM(%) Missing field  MAXMEM(%) Missing field  VCPUS Missing field  NETS Missing field  NETTX(k) Missing field  NETRX(k) Missing field  VBDS Missing field  VBD_OO Missing field  VBD_RD Missing field  VBD_WR Missing field  VBD_RSECT Missing field  VBD_WSECT Missing field  SSID]
2020/01/15 10:16:29 parseLine: num fields does not match header for Windows7

Can you help with this?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.