Installing Graphite doesn't have to be difficult. The install
script in synthesize is designed to make it brain-dead easy to install Graphite and related services onto a modern Linux distribution.
Synthesize is built to run on Ubuntu 18.04 LTS. It will not run on other Ubuntu releases or Linux distributions. The goal of this project is not to become an automation alternative to modern configuration management utilities (e.g. Chef or Puppet), but rather, to make it as easy as possible for the beginner Graphite user to get started and familiar with the project without having to learn a suite of other automation and/or infrastructure-related projects.
The resulting Graphite web interface listens only on https port 443 and has been configured to collect metrics specifically for helping profile the performance of your Graphite and Carbon services. It uses memcached for improved query performance, and Statsite for a fast, C-based implementation of the StatsD collector/aggregator.
Beginning with version 3.0.0 we've also incorporated the Grafana dashboard project, a modern and full-featured alternative to Graphite's built-in Composer and Dashboard interfaces. It also includes a default dashboard for monitoring Carbon's internal statistics.
- Vagrant, an Ubuntu 18.04 VM or a non-production server
- Some mechanism for downloading Synthesize
dos2unix
on the install
file before re-attempting provisioning.
$ cd synthesize
$ sudo ./install
Synthesize configures the following host ports to forward to the private vagrant box:
config.vm.network :forwarded_port, guest: 443, host: 8443
config.vm.network :forwarded_port, guest: 8125, host: 8125, protocol: 'tcp'
config.vm.network :forwarded_port, guest: 8125, host: 8125, protocol: 'udp'
config.vm.network :forwarded_port, guest: 2003, host: 22003
config.vm.network :forwarded_port, guest: 2004, host: 22004
config.vm.network :forwarded_port, guest: 3000, host: 3030
$ cd synthesize
$ vagrant plugin install vagrant-vbguest
$ vagrant up
There is a superuser (Django) account that grants access to the administrative features in the backend Django database. The default credentials are:
- username
admin
- password
graphite_me_synthesize
These credentials can be changed with the following commands:
$ cd /opt/graphite/webapp/graphite
$ sudo python manage.py changepassword admin
Grafana includes a default user to start:
- username
admin
- password
admin
It's now possible to upgrade an existing Synthesize (e.g. Graphite 0.9.15) to the newest Graphite HEAD
. Besides upgrading the Graphite components, it will also migrate the webapp database (graphite.db
) to the newest fixtures version.
$ cd synthesize
$ sudo ./upgrade
$ cd synthesize
$ ./uninstall
$ cd synthesize
$ vagrant destroy
Synthesize is distributed under the MIT license.