Skip to content
This repository has been archived by the owner on Nov 4, 2020. It is now read-only.

Commit

Permalink
Merge pull request #11 from circonus-labs/dockerhub
Browse files Browse the repository at this point in the history
updates to build to explicitly mention need for go to compile, update…
  • Loading branch information
husobee committed Oct 17, 2018
2 parents 53c02db + 53ace78 commit 5cc018c
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 2 deletions.
3 changes: 3 additions & 0 deletions Makefile
@@ -1,4 +1,7 @@
GO=$(shell which go)
ifeq "$(GO)" ""
$(error Please install Go to compile)
endif
DOCKER=$(shell which docker)
COMMIT_ID=$(shell git rev-parse HEAD)
NOW=$(shell date +%s)
Expand Down
15 changes: 13 additions & 2 deletions README.md
Expand Up @@ -2,10 +2,21 @@

Prometheus Adapter to IRONdb.

Requiress IRONdb `>= v0.12.0`.
Requires IRONdb `>= v0.12.0`.
Requires Go `>= 1.10`.

Also check out our launch [blog post](https://www.circonus.com/2018/06/prometheus-adapter/)!

## Docker Image Pull

You can now install the irondb-prometheus-adapter container image from dockerhub
with the below command:

```bash
docker pull irondb/irondb-prometheus-adapter
docker run -p1234:8080 docker.io/irondb/irondb-prometheus-adapter:latest /irondb-prometheus-adapter -addr :1234 -log debug -snowth http:127.0.0.1:8112
```

## Build

Included is a Makefile which will perform all the build tasks you will need
Expand Down Expand Up @@ -60,7 +71,7 @@ There are three endpoints currently:

```
POST /prometheus/2.0/write/:account/:check_uuid/:check_name
GET /prometheus/2.0/read/:account/:check_uuid/:check_name
POST /prometheus/2.0/read/:account/:check_uuid/:check_name
GET /health-check
```

Expand Down

0 comments on commit 5cc018c

Please sign in to comment.