Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Install Grafana and InfluxDB to store and visualize benchmark results. #211

Closed
retronym opened this issue Jan 11, 2017 · 4 comments
Closed
Assignees

Comments

@retronym
Copy link
Member

No description provided.

@retronym retronym self-assigned this Jan 11, 2017
@adriaanm
Copy link
Contributor

adriaanm commented Jan 11, 2017

EC2-wise, I created an m4.large instance (named influxdb) in us-west-1c (vpc-99b04cfc / subnet-4bb3b80d) from image ubuntu/images/hvm-ssd/ubuntu-xenial-16.04-amd64-server-20161214 (ami-d8bdebb8)

there are three ebs devices, sda1 is the 8GiB root, sdb a 16GiB ssd (gp2), sdc has 32GiB

the security group allows inbound ssh and http at 3000,8083-8086

@retronym
Copy link
Member Author

retronym commented Jan 11, 2017

    2  wget https://dl.influxdata.com/influxdb/releases/influxdb_1.1.1_amd64.deb
    3  md5sum influxdb_1.1.1_amd64.deb
    4  sudo dpkg -i influxdb_1.1.1_amd64.deb
    5  wget https://grafanarel.s3.amazonaws.com/builds/grafana_4.0.2-1481203731_amd64.deb
    6  sudo apt-get install -y adduser libfontconfig
    7  sudo dpkg -i grafana_4.0.2-1481203731_amd64.deb
    9  sudo vim /etc/grafana/grafana.ini
   11  sudo systemctl start influxdb
   13  sudo systemctl status influxdb
   15  sudo systemctl daemon-reload
   16  sudo systemctl start grafana-server
   17  sudo systemctl status grafana-server
   18  sudo systemctl enable grafana-server.service
   19  sudo systemctl enable influxdb.service
   21  sudo vi /etc/influxdb/influxdb.conf
   39  vim /var/log/grafana/grafana.log
   40  sudo vim /var/log/grafana/grafana.log

I can't get GitHub auth to work for Grafana, having problems similar to grafana/grafana#2451

Influx setup:

> CREATE DATABASE scala_benchmark
> USE scala_benchmark
Using database scala_benchmark
> CREATE USER "admin" WITH PASSWORD '<removed>' WITH ALL PRIVILEGES
> CREATE USER "scala" WITH PASSWORD '<removed>'
> GRANT ALL ON scala_benchmark TO "scala"

@adriaanm
Copy link
Contributor

nginx: #212

@SethTisue
Copy link
Member

I believe this is considered complete now, reopen if not

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants