forked from couchbaselabs/showfast
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
719b131
commit c3cecf8
Showing
6 changed files
with
63 additions
and
51 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
FROM alpine:3.4 | ||
|
||
MAINTAINER Pavel Paulau <[email protected]> | ||
|
||
EXPOSE 8000 | ||
|
||
ENV CB_HOST "" | ||
ENV CB_PASS "" | ||
|
||
COPY app app | ||
COPY showfast /usr/local/bin/showfast | ||
|
||
CMD ["showfast"] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
build: | ||
go build -v | ||
|
||
fmt: | ||
find . -name "*.go" -not -path "./vendor/*" | xargs gofmt -w -s | ||
|
||
docker: | ||
CGO_ENABLED=0 go build -v -a --ldflags "-s" && upx -q6 showfast | ||
docker build --rm -t perflab/showfast . | ||
|
||
clean: | ||
rm -fr showfast |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,32 +1,26 @@ | ||
[![Go Report Card](https://goreportcard.com/badge/github.com/couchbaselabs/showfast)](https://goreportcard.com/report/github.com/couchbaselabs/showfast) | ||
|
||
showfast | ||
======== | ||
[![Go Report Card](https://goreportcard.com/badge/github.com/couchbaselabs/showfast)](https://goreportcard.com/report/github.com/couchbaselabs/showfast) | ||
|
||
Performance dashboard. Powered by web.go, AngularJS, nvd3 and Couchbase Server. | ||
Couchbase Server performance dashboard. | ||
|
||
Prerequisites | ||
------------- | ||
|
||
* go 1.1 | ||
* Couchbase Server 2.0.0 or higher | ||
* go 1.6 | ||
* Couchbase Server 4.x. | ||
|
||
Required buckets | ||
---------------- | ||
|
||
* benchmarks | ||
* clusters | ||
* feed | ||
* metrics | ||
|
||
Installation | ||
------------ | ||
|
||
go get github.com/couchbaselabs/showfast | ||
|
||
Usage | ||
----- | ||
|
||
$GOPATH/bin/showfast | ||
|
||
All parameters are specified in config.json | ||
|
||
docker pull perflab/showfast | ||
docker run -t -i -e CB_HOST=... -e CB_PASS=... -p 8000:8000 perflab/showfast |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters