exporter

command module
v1.3.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 23, 2023 License: Apache-2.0 Imports: 4 Imported by: 0

README

exporter

Build Status codecov Go Report Card License Tag

Introduction

exporter is the exporter of pipego written in Go.

Prerequisites

  • Go >= 1.18.0

Run

version=latest make build
./bin/exporter

Docker

version=latest make docker
docker run ghcr.io/pipego/exporter:latest

Usage

usage: exporter [<flags>]

pipego exporter

Flags:
  --help     Show context-sensitive help (also try --help-long and --help-man).
  --version  Show application version.

Output

{
  "host": "172.23.179.208",
  "allocatableResource": {
    "milliCPU": 16000,
    "memory": 12871671808,
    "storage": 269490393088
  },
  "requestedResource": {
    "milliCPU": 12,
    "memory": 618688512,
    "storage": 19994185728
  },
  "stats": {
    "cpu": {
      "total": "16 CPU",
      "used": "0%"
    },
    "os": "Ubuntu 20.04",
    "memory": {
      "total": "11 GB",
      "used": "0 GB"
    },
    "storage": {
      "total": "250 GB",
      "used": "18 GB"
    }
  }
}

License

Project License can be found here.

Reference

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL