nvidia-cloudwatch

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

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

Go to latest
Published: Aug 9, 2021 License: Apache-2.0 Imports: 9 Imported by: 0

README

nvidia-cloudwatch

Exports nvidia device information via a prometheus metrics endpoint and optionally to AWS cloudwatch.

Installation

Binary
go get https://github.com/calebpalmer/nvidia-cloudwatch.git
$GOPATH/bin/nvidia-cloudwatch
With Cloudwatch exporting

The typical AWS environment variables are used to configure the environment for pushing the cloudwatch metrics. eg:

export AWS_ACCESS_KEY_ID=keyid
export AWS_SECRET_ACCESS_KEY=secretkey
export AWS_REGION=ca-central-1
$GOPATH/bin/nvidia-cloudwatch -cloudwatch

The default resolution and period for sending metrics are 60 seconds but can be configured with the PERIOD and RESOLUTION environment variables.

Helm Chart

Clone this repository and install the chart:

git clone git@github.com:calebpalmer/nvidia-cloudwatch.git
helm upgrade --install nvidia-cloudwatch
With Cloudwatch exporting
helm upgrade --install nvidia-cloudwatch helm/nvidia-cloudwatch -f - <<EOF
cloudwatch:
  enabled: true
  region: us-east-1
  accessKeyId: xxxx
  secretAccessKey: xxxx
  period: 60
  resolution: 60
EOF

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