cost-exporter

command module
v0.0.0-...-0fc19dc Latest Latest
Warning

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

Go to latest
Published: Jun 25, 2024 License: MIT Imports: 3 Imported by: 0

README

cost-exporter

Build Status license

Retrieves cost metrics and core counts from the AWS API and exposes this information via a Prometheus /metrics endpoint.

Development Status cost-exporter is for internal use only. Feel free to use it, but expect big unanounced changes at any time. Furthermore we are very restrictive about code changes, therefore you should communicate any changes before working on an issue.

Installation

Docker containers are are provided here. To obtain the latest docker image run docker pull quay.io/rebuy/cost-exporter:main.

To compile cost-exporter from source you need a working Golang development environment.

Then you just need to run ./buildutil to compile a binary into the project directory which you can then execute. With ./buildutil -x linux/arm64 you can cross compile cost-exporter for other platforms.

Usage

cost-exporter's configuration is done using an configuration file that is pointed to when running the command, as well as a flag that defines the port it should listen on:

cost-exporter --config=/cost-exporter/config.yaml --port=8080

For more information, run:

cost-exporter --help
Running in Kubernetes

Please see the example/k8s/ directory for an example of how to run cost-exporter in Kubernetes.

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis
pkg

Jump to

Keyboard shortcuts

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