prometheus-fast-remote

command module
v0.2.0 Latest Latest
Warning

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

Go to latest
Published: Apr 6, 2018 License: Apache-2.0 Imports: 22 Imported by: 0

README

prometheus-fast-remote

Prometheus Remote Adapter

Supported TSDB :

  • KairosDB

Usage

Direct binary
  1. Download latest binary at https://github.com/orange-cloudfoundry/prometheus-fast-remote/releases
  2. Create a config.yml (see example)
  3. Run it: ./prometheus-fast-remote -config ./config.yml
Docker image
Environment variable

docker run -e kairos_url=https://kairos.com -d orangeopensource/prometheus-fast-remote

Tip: You can see other environment variable in launch.sh file.

Config file
  1. Create a config.yml (see example)
  2. run docker run -v ./config.yml:/config.yml -d orangeopensource/prometheus-fast-remote

Api

Read

Read implementation for prometheus remote adapter

-Path: /read -Method: GET

Write

Write implementation for prometheus remote adapter

-Path: /write -Method: POST

Health

Checks the status of each health check. If all are healthy it returns status 200 otherwise it returns 500.

-Path: /health -Method: GET -Response code:

  • success: 200
  • Failure: 500 -Response body (example):
{
  "adapter": "ok",
  "tsdb": {
    "name": "kairosdb",
    "status": "ok"
  }
}

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