4337 links
  • Arnaud's links
  • Home
  • Login
  • RSS Feed
  • ATOM Feed
  • Tag cloud
  • Picture wall
  • Daily
Links per page: 20 50 100
◄Older
page 1 / 4
71 results tagged graphite x
  • thumbnail
    From Graphite To Prometheus — Things I’ve Learned - Nanit Engineering
    December 8, 2019 at 1:41:05 PM GMT+1 - permalink - archive.org - https://engineering.nanit.com/from-graphite-to-prometheus-things-ive-learned-e1d1e4b97fc
    graphite prometheus
  • BigGraphite Announcement · criteo/biggraphite Wiki · GitHub

    Via Skunnyk

    December 6, 2016 at 8:34:42 PM GMT+1 - permalink - archive.org - https://github.com/criteo/biggraphite/wiki/BigGraphite-Announcement
    graphite
  • jamiealquiza/polymur: A fast and flexible Graphite relay and forwarder
    September 13, 2016 at 10:40:52 AM GMT+2 - permalink - archive.org - https://github.com/jamiealquiza/polymur
    graphite
  • Graphite-API documentation — Graphite-API 1.1.3 documentation

    Pour remplacer graphite-web (django) par plus léger

    August 1, 2016 at 2:06:59 PM GMT+2 - permalink - archive.org - http://graphite-api.readthedocs.io/en/latest/
    graphite
  • Dear Graphite Users and Developers

    Ça c'est une très bonne nouvelle !

    July 2, 2016 at 11:47:05 PM GMT+2 - permalink - archive.org - https://blog.raintank.io/dear-graphite-users-and-developers/
    graphite
  • Note: graphite, python, dispatch

    TIL :

    • wsp files has a length limit.
    • use gauge in type, dont fucking use counter (it accepts only integer)
    June 10, 2016 at 4:06:00 PM GMT+2 - permalink - archive.org - https://links.infomee.fr/?FJATHQ
    graphite
  • thumbnail
    How to install Graphite as a user (non root)

    !/bin/bash

    How to install Graphite as a user on CentOS 5.5 (with neither internet access and root account)

    --------------------------------------------------------------------------------

    Tomasz Kalkosiński - refaktor.blogspot.com

    #

    Graphite is a Scalable Realtime Graphing (http://graphite.wikidot.com/)

    This script is based on two excellent tutorials:

    http://community.webfaction.com/questions/10038/how-to-install-pycairo-in-python27-thanks

    https://gist.github.com/jgeurts/3112065

    My scenario:

    - no internet access

    - only user account, no root account

    - gcc and make installed

    - some libraries missing

    - no development packages for installed libraries

    #

    Goals:

    - installation directory is $HOME/graphite-install

    - install libraries to $HOME

    - install Graphite and stuff to $HOME/graphite

    #

    If you see wget here - wget it to your local machine and upload to remote CentOS.

    You must have gcc and make installed. You can't go on without it.

    Check it with:

    rpm -qa | grep gcc

    ---- 1. Environment setup ----

    Set up these variables. Some of these directories don't exist yet. They will be created as you go on.

    You can put these variables to your .bashrc.

    export CFLAGS="-I$HOME/include -I$HOME/include/python2.7"
    export CPPFLAGS="-I$HOME/include -I$HOME/include/python2.7"
    export PKG_CONFIG_PATH="$HOME/lib/pkgconfig"
    export LDFLAGS="-L$HOME/lib -L$HOME/lib/python2.7"
    export LD_LIBRARY_PATH="$HOME/lib:$HOME/lib/python2.7:$HOME/lib/python2.7/site-packages/cairo"
    export PYTHONPATH="$HOME/lib/python:$HOME/lib/python2.7/site-packages:$HOME/.local/bin/usr/local/lib/python2.7/site-packages"
    export PATH="$HOME/.local/bin:$PATH"

    ---- 2. Libraries ----

    These libraries are required by Graphite. You need to compile them, because other libraries and python modules

    need their headers. They are installed to $HOME/lib and headers are placed in $HOME/include.

    cd $HOME/graphite-install

    wget http://zlib.net/zlib-1.2.8.tar.gz
    wget ftp://ftp.simplesystems.org/pub/libpng/png/src/libpng-1.6.2.tar.gz
    wget http://www.sqlite.org/2013/sqlite-autoconf-3071700.tar.gz

    tar zxf zlib-1.2.8.tar.gz
    tar zxf libpng-1.6.2.tar.gz
    tar zxf sqlite-autoconf-3071700.tar.gz

    cd zlib-1.2.8
    ./configure --prefix=$HOME
    make
    make install

    cd ../libpng-1.6.2
    ./configure --prefix=$HOME
    make
    make install

    cd ../sqlite-autoconf-3071700.tar.gz
    ./configure --prefix=$HOME
    make
    make install

    ---- 3. Python 2.7.5 ----

    Python installed by default in CentOS may miss some native modules compiled. You need to recompile.

    cd $HOME/graphite-install
    wget http://www.python.org/ftp/python/2.7.5/Python-2.7.5.tgz

    tar zxf Python-2.7.5.tgz
    cd Python-2.7.5

    enable-shared is crucial here

    ./configure --enable-shared --prefix=$HOME
    make

    Check output for this line:

    Python build finished, but the necessary bits to build these modules were not found:

    Make sure that _zlib and _sqlite3 IS NOT on that list. Otherwise you miss dependencies or you had errors before.

    make install

    Now you can have two Python installations in system. I use ~/bin/python everywhere from now on to use my version.

    ---- 4. Cairo ----

    Cairo has some dependencies to fulfill.

    cd $HOME/graphite-install
    wget http://cairographics.org/releases/pixman-0.26.2.tar.gz
    wget ftp://sourceware.org/pub/libffi/libffi-3.0.11.tar.gz
    wget http://ftp.gnome.org/pub/GNOME/sources/glib/2.31/glib-2.31.22.tar.xz
    wget http://cairographics.org/releases/cairo-1.12.2.tar.xz
    wget http://cairographics.org/releases/py2cairo-1.10.0.tar.bz2

    tar xzf pixman-0.26.2.tar.gz
    tar xzf libffi-3.0.11.tar.gz

    My system didn't have unxz so I had to download and repack to zip.

    unzip glib-2.31.22.zip

    unzip cairo-1.12.2.zip

    unxz glib-2.31.22.tar.xz
    unxz cairo-1.12.2.tar.xz
    tar xjf py2cairo-1.10.0.tar.bz2

    cd libffi-3.0.11
    ./configure --prefix=$HOME
    make
    make install

    cd ../glib-2.31.22
    ./configure --prefix=$HOME
    make
    make install

    cd ../pixman-0.26.2
    ./configure --prefix=$HOME
    make
    make install

    cd ../cairo-1.12.2
    ./configure --prefix=$HOME
    make
    make install

    cd ../py2cairo-1.10.0
    ~/bin/python ./waf configure --prefix=$HOME
    ~/bin/python ./waf build
    ~/bin/python ./waf install

    Check if cairo is properly installed:

    ~/bin/python -c 'import cairo; print cairo.version'

    You should see cairo version number.

    If there is an import error, there is something wrong with your PYTHONPATH.

    ---- 5. Django and modules ----

    Remember that it is all installed in user directory.

    cd $HOME/graphite-install
    wget https://django-tagging.googlecode.com/files/django-tagging-0.3.1.tar.gz
    wget https://www.djangoproject.com/m/releases/1.5/Django-1.5.1.tar.gz
    wget https://pypi.python.org/packages/source/z/zope.interface/zope.interface-4.0.5.zip#md5=caf26025ae1b02da124a58340e423dfe
    wget http://twistedmatrix.com/Releases/Twisted/11.1/Twisted-11.1.0.tar.bz2

    unzip zope.interface-4.0.5.zip
    tar zxf django-tagging-0.3.1.tar.gz
    tar zxf Django-1.5.1.tar.gz
    tar jxf Twisted-11.1.0.tar.bz2

    cd zope.interface-4.0.5
    ~/bin/python setup.py install --user

    cd ../Django-1.5.1
    ~/bin/python setup.py install --user

    cd ../django-tagging-0.3.1
    ~/bin/python setup.py install --user

    cd ../Twisted-11.1.0
    ~/bin/python setup.py install --user

    ---- 6. Graphite ----

    Remember that it is all installed into $HOME/graphite directory!

    cd $HOME/graphite-install
    wget https://launchpad.net/graphite/0.9/0.9.10/+download/graphite-web-0.9.10.tar.gz
    wget https://launchpad.net/graphite/0.9/0.9.10/+download/carbon-0.9.10.tar.gz
    wget https://launchpad.net/graphite/0.9/0.9.10/+download/whisper-0.9.10.tar.gz
    tar -zxvf graphite-web-0.9.10.tar.gz
    tar -zxvf carbon-0.9.10.tar.gz
    tar -zxvf whisper-0.9.10.tar.gz

    cd whisper-0.9.10
    ~/bin/python setup.py install --home=$HOME/graphite

    cd ../carbon-0.9.10
    ~/bin/python setup.py install --home=$HOME/graphite

    cd ../graphite-web-0.9.10

    You're almost there. Check if all dependencies are met:

    ~/bin/python check-dependencies.py

    There should be no fatal errors, only warnings for optional modules.

    ~/bin/python setup.py install --home=$HOME/graphite

    ---- 7. Configuration ----

    cd $HOME/graphite/conf

    Copy example configurations

    cp carbon.conf.example carbon.conf
    cp storage-schemas.conf.example storage-schemas.conf
    vim storage-schemas.conf

    You should really read document on how to configure your storage. It is a quick read:

    http://graphite.wikidot.com/getting-your-data-into-graphite

    Configure it the way you need.

    cd $HOME/graphite/lib/python/graphite
    cp local_settings.py.example local_settings.py

    vim local_settings.py

    This file is crucial:

    Line around 13: setup your TIME_ZONE from this list: http://stackoverflow.com/questions/13866926/python-pytz-list-of-timezones

    Line around 23: DEBUG = True

    Line around 24: append ALLOWED_HOSTS = ["*"]

    Lines around 46-54: change paths from /opt/graphite to your explicit graphite installation dir,

    for example /home/you/graphite. $HOME doesn't work here!

    Uncomment lines 141-150 (starting with DATABASES) and update NAME with full explicit database path. $HOME doesn't work here!

    Create new database for Graphite web application

    ~/bin/python manage.py syncdb

    Start carbon deamon

    cd $HOME/graphite
    ~/bin/python carbon-cache.py status
    ~/bin/python carbon-cache.py start

    I run development graphite server in a screen, since I cannot expose it via httpd.

    screen

    In screen

    ~/bin/python manage.py runserver

    Detach with Control-A, Control-D (attach again with screen -r next time)

    Check if it works, you should see <title>Graphite Browser</title>

    curl localhost:8000

    You can run some example client to send some stats.

    You can adjust example-client.py delay value for more/less stats.

    cd $HOME/graphite/examples
    ~/bin/python example-client.py

    Done!

    Easy as pie :)

    May 18, 2016 at 10:30:23 AM GMT+2 - permalink - archive.org - https://gist.github.com/SpOOnman/5957589
    graphite
  • 25 graphite, grafana and statsd gotchas
    April 27, 2016 at 4:02:40 PM GMT+2 - permalink - archive.org - https://blog.raintank.io/25-graphite-grafana-and-statsd-gotchas/
    bestof grafana graphite statsd
  • Note: Send rich event to graphite

    curl -X POST "http://localhost/events/" -d '{"what": "Web Service", "tags": "production deploy", "data":"version 1.1.7"}'

    April 21, 2016 at 3:07:43 PM GMT+2 - permalink - archive.org - https://links.infomee.fr/?2vE6ww
    grafana graphite
  • Note: Demo rapide graphite grafana

    On envoie une valeur aléatoire toutes les 10 secondes et on observe le résultat sur un dashboard grafana qui se refresh tout seul toutes les 10 secondes ;-)

    for i in {1..60}; do line=$(echo "toto $(( ( RANDOM % 10 ) + 1 )) $(date +%s)"); echo $line; echo $line | nc -q0 localhost 2003; sleep 10; done

    April 21, 2016 at 12:32:02 PM GMT+2 - permalink - archive.org - https://links.infomee.fr/?JUrxHw
    grafana graphite
  • Understanding Metrics in the Age of the TSDB

    La base de la métrologie avec les différents types de metric : gauge, rate, histogram.. Le rôle de statsd (buffer..)

    April 18, 2016 at 11:09:45 PM GMT+2 - permalink - archive.org - https://blog.filippo.io/understanding-metrics/
    graphite metrics statsd tsdb
  • Note: Bilan whisper et aggregationMethod

    cd /opt/graphite/storage/whisper
    find . -name "*.wsp" | xargs -I {} sh -c "echo -n '{} ' ; whisper-info.py {}|grep aggre|cut -d' ' -f2" > aggreg.dump

    cut -d' ' -f2 aggreg.dump|sort|uniq -c

    82024 average
    2784 max
    1378 min
    8732 sum

    grep -v stats aggreg.dump |cut -d' ' -f2|sort|uniq -c

    59682 average

    Donc oui, tous les whispers collectd sont en average.

    February 3, 2016 at 2:49:31 PM GMT+1 - permalink - archive.org - https://links.infomee.fr/?CAc6mw
    graphite whisper
  • thumbnail
    lomik/go-carbon - Go

    Golang implementation of Graphite/Carbon server with classic architecture: Agent -> Cache -> Persister

    used by Doo 1M metric/sec (12 CPU)

    January 18, 2016 at 2:57:11 PM GMT+1 - permalink - archive.org - https://github.com/lomik/go-carbon
    carbon go graphite whisper
  • Slow query graphs using Performance Schema and Graphite

    via skunnyk

    October 21, 2015 at 10:19:44 AM GMT+2 - permalink - archive.org - https://www.percona.com/blog/2015/10/20/slow-query-graphs-using-performance-schema-and-graphite/
    graphite mysql percona query slow sql
  • allegro.tech - Scaling Graphite

    Scaling graphite
    via arnaudb

    September 26, 2015 at 2:58:41 PM GMT+2 - permalink - archive.org - http://allegro.tech/2015/09/scaling-graphite.html
    graphite scale
  • Grafana & ES

    [07:27] < torkelo>| matejz: I have managed to get about 140~ bytes per measurement (ES) asyd
    [07:27] < matejz>| and was thinking of using it for metrics as well aviau
    [07:27] < torkelo>| which is 12x the size requirement of Graphite (12 bytes per measurement)

    [10:16] < torkelo> | agree, if you store more than 100 000 metrics/s I think ES is not a good option. But for short term performance logging the new metric features for flat_white
    percentile and moving average, etc are looking very good

    September 7, 2015 at 10:18:03 AM GMT+2 - permalink - archive.org - https://links.infomee.fr/?bFlLkQ
    es grafana graphite
  • Utiliser le proxy de grafana pour query graphite

    Un get la dessus : /api/datasources/proxy/1/metrics/find/?query=collectd.*

    April 21, 2015 at 3:32:06 PM GMT+2 - permalink - archive.org - https://links.infomee.fr/?5zIN_w
    grafana graphite
  • Monitoring cassandra, relevant data that should be watched (and how to send it to graphite) | NSFAQ (Not So Frequently Asked Questions)
    March 13, 2015 at 5:41:43 PM GMT+1 - permalink - archive.org - http://www.tomas.cat/blog/en/monitoring-cassandra-relevant-data-should-be-watched-and-how-send-it-graphite
    cassandra graphite jmx
  • The architecture of clustering Graphite | Jamie Alquiza
    January 1, 2015 at 3:08:39 PM GMT+1 - permalink - archive.org - https://grey-boundary.io/the-architecture-of-clustering-graphite/#comment-1310676028
    graphite scale
  • Tracking Every Release - Code as Craft
    January 1, 2015 at 3:06:12 PM GMT+1 - permalink - archive.org - https://codeascraft.com/2010/12/08/track-every-release/
    graphite
Links per page: 20 50 100
◄Older
page 1 / 4
Shaarli - The personal, minimalist, super-fast, database free, bookmarking service by the Shaarli community - Help/documentation