prometheus-to-sd

command
v0.0.0-...-894d22e Latest Latest
Warning

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

Go to latest
Published: Jan 19, 2022 License: Apache-2.0 Imports: 6 Imported by: 0

README

Prometheus dummy exporter

Open in Cloud Shell

A simple prometheus-dummy-exporter container exposes a single Prometheus metric with a constant value. The metric name, value and port on which it will be served can be passed by flags.

This container is then deployed in the same pod with another container, prometheus-to-sd, configured to use the same port. It scrapes the metric and publishes it to Stackdriver. This adapter isn't part of the sample code, but a standard component used by many Kubernetes applications. You can learn more about it here.

Build

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

If you would like to build this image locally and deploy via Arifact Registry, checkout Artifact Registry Quickstart for Docker.

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