4259 links
  • Arnaud's links
  • Home
  • RSS Feed
  • Tag cloud
  • Login
search: tag:carbon — newest first
  • 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 - permalink - https://github.com/lomik/go-carbon
    carbon go graphite whisper
  • Question #170794 : Questions : Graphite

    Encore une discussion intéressante sur les perf de graphite. Ce qu'il faut retenir c'est que le botteneck peut se situer au niveau du CPU ou au niveau du disque (la RAM en général ce n'est pas un probleme, meme si bien sur, il faut la surveiller)

    Pour connaitre l'utilisation du CPU de carbon-cache, une metric est envoyé par le daemon dans carbon.agents.graphite-x.cpuUsage

    Pour connaitre l'utilisation du disk, on se sert de iostat -dmx 1 2 (merci arnaud)

    Si le disque est trop haut (entre 50 et 75), il faut le soulager en baissant dans la conf de carbon le max update par seconde.

    Ce qui aura pour effet d'augmenter la taille du cache et donc de faire plus travailler le CPU..

    Au contraire si le CPU est chargé mais que le disque ne fait rien, il faut augmenter le max update par seconde.

    En trouvant le bon équilibre on peut exploiter au maximum le hardware disponible

    October 24, 2014 - permalink - https://answers.launchpad.net/graphite/+question/170794
    carbon graphite performance
  • Init script for Graphite carbon-cache

    [Summary, full note in Shaarli]
    Init script (/etc/init.d/carbon-cache) for Graphite's carbon-cache daemon, by Jeremy Chalmer, written for Ubuntu 11.10 with start-stop-daemon.

    • LSB header: Provides carbon-cache, Required-Start/Stop $remote_fs $syslog, Default-Start 2 3 4 5, Default-Stop 0 1 6.
    • Enable with: update-rc.d carbon-cache defaults
    • Set USER in /opt/graphite/conf/carbon.conf to the owner of /opt/graphite/storage/: carbon-cache runs as that user.
    • GRAPHITE_HOME=/opt/graphite, DAEMON=$GRAPHITE_HOME/bin/carbon-cache.py, hard-coded PIDFILE=/opt/graphite/storage/carbon-cache-a.pid (adapt if several carbon-cache instances run). Exits 99 if the daemon isn't executable. Carbon logs in /opt/graphite/storage/log/carbon-cache-*.
    • do_start: start-stop-daemon --start --pidfile $PIDFILE --exec $DAEMON --test -- start (already running = 1), then the real start (failure = 2).
    • do_stop: start-stop-daemon --stop --signal 2 --retry 5 --quiet --pidfile $PIDFILE, then remove the PID file.
    • Actions: start, stop, restart (stop then start), status (kill -0 on the PID from the PID file); otherwise usage {start|stop|restart|status}, exit 3.
    September 11, 2014 - permalink - https://gist.github.com/chalmerj/1492384
    carbon graphite init
  • https://github.com/graphite-project/whisper

    Suite d'outils bien pratique pour tester/vérifier/debug ses whisper files, en particulier whisper-dump et whisper-fetch

    August 1, 2014 - permalink - https://github.com/graphite-project/whisper
    carbon graphite statsd
  • obfuscurity. - Unhelpful Graphite Tip #8 - Dump your Whisper Metrics
    July 21, 2014 - permalink - http://obfuscurity.com/2012/04/Unhelpful-Graphite-Tip-8
    carbon dump graphite
  • Retention carbon exemple

    Je me mets ça de côté : la retention par défaut des RRD dans munin au format carbon :

    [munin_schema]
    pattern = ^munin.
    retentions = 5m:2d,30m:10d,2h:45d,1d:1y

    Sur les 2 derniers jours on a une mesure toute les 5 minutes
    Sur les 10 derniers jours, une mesure toute les 30 minute est conservée
    etc

    /opt/graphite/conf/storage-schemas.conf

    June 24, 2014 - permalink - https://links.infomee.fr/shaare/5_m7Kw
    carbon graphite munin