example

command module
v0.11.0 Latest Latest
Warning

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

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

README

Cortex Exporter Example

This example exports several metrics to a Cortex instance and displays them in Grafana.

Requirements

Instructions

  1. Run the docker container with the following command
docker-compose up -d
  1. Log in to the Grafana instance running at http://localhost:3000. The login credentials are admin/admin.

  2. Add Cortex as a data source by creating a new Prometheus data source using http://localhost:9009/api/prom/ as the endpoint.

  3. View collected metrics in Grafana.

  4. Shut down the services when you're finished with the example

docker-compose down

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