A short survey of log collection options and why you picked the wrong one. 😜
I'm Steve Coffman and I work at Ithaka. We do JStor (academic journals) and other stuff. How big is it?
Number | what it means |
---|---|
101,332,633 | unique visitors in 2017 |
machine: | |
services: | |
- docker | |
post: | |
- wget https://gist.githubusercontent.com/gianrubio/dce37ee9b9c024937832d776597e2603/raw/4cdb30e5075e8e6064ac48a258e05f518f8c88c0/circleci-tunnel.sh ~/ && chmod +x ~/circleci-tunnel.sh | |
- ~/circleci-tunnel.sh start: | |
background: true |
OUT := binariy-name | |
PKG := gitlab.com/group/project | |
VERSION := $(shell git describe --always --long --dirty) | |
PKG_LIST := $(shell go list ${PKG}/... | grep -v /vendor/) | |
GO_FILES := $(shell find . -name '*.go' | grep -v /vendor/) | |
all: run | |
server: | |
go build -i -v -o ${OUT} -ldflags="-X main.version=${VERSION}" ${PKG} |
# The full public facing url | |
#root_url = %(protocol)s://%(domain)s:%(http_port)s/ | |
root_url = http://localhost:80/grafana/ |
You must install the AWS CLI to use these functions. You also have to have access keys to AWS and permission to access instance information.
The AWS CLI install is usually painless, see http://docs.aws.amazon.com/cli/latest/userguide/installing.html
sudo easy_install pip
sudo pip install awscli
After install run the setup to set your configuration options which includes the default region and your access keys.
#! /bin/bash | |
# | |
# Dependencies: | |
# brew install jq | |
# | |
# Example: | |
# source aws-assume-role | |
# alias aws-assume-role="source aws-assume-role" | |
# | |
# Notes: |
[alias] | |
pushup = "!gitbranchname() { git symbolic-ref --short HEAD; }; gitpushupstream() { git push --set-upstream origin `gitbranchname`; }; gitpushupstream" |
Basically, if you prefer to use DATABASE_URL in your application better than creating the whole database.yml thing, set the following ENV variable in your wercker app settings:
name: DATABASE_URL