direct-to-sd

command
v0.0.0-...-207e0d4 Latest Latest
Warning

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

Go to latest
Published: Oct 10, 2020 License: Apache-2.0 Imports: 10 Imported by: 0

README

Stackdriver dummy exporter

A simple sd-dummy-exporter container exports a metric of constant value to Stackdriver in a loop. The metric name and value can be passed by flags. Pod Name and Namespace are also passed by flags.

Build

Provided manifest files use already available images. You don't need to do anything else to use them. Following steps are only applicable if you want to build your own image.

  1. Set TAG to build version and PROJECT to the project in which you want to host the image.

  2. Build the image:

$ docker build --pull -t gcr.io/$PROJECT/sd-dummy-exporter:$TAG .

  1. Push the image:

$ gcloud docker -- push gcr.io/$PROJECT/sd-dummy-exporter:$TAG

  1. Edit manifest file to use image hosted in your project.

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

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