ã¿ã¤ãã«ããã®ã¾ã¾ã§ãããGrowthForecastã®Docker imageãä½ãã¾ããã https://registry.hub.docker.com/u/kazeburo/growthforecast/ 使ãæ¹ã¯åç´ã«èµ·åããã ããªã次ã®ããã«ãªãã¾ãã $ docker run -p 5125:5125 kazeburo/growthforecast ããã ã¨ããã¼ã¿ãæ°¸ç¶åãããªãã®ã§ãé©å½ãªããªã¥ã¼ã ããã¦ã³ããã¾ãã $ docker run -p 5125:5125 -v /host/data:/var/lib/growthforecast kazeburo/growthforecast èµ·åãªãã·ã§ã³ãå¤æ´ãããå ´åã¯ãã³ãã³ãã渡ãããDockerfileãæ¸ãã¦ãã«ãããã¨è¯ãã§ãããã $ docker run -p 5125:5125 -v /host/dat
å æ¥ã®JVM Operations Casual TalksãGCãã¡ã¢ãªç®¡çã«ã¤ãã¦ã¾ã¨ã¾ã£ãçºè¡¨ããã¢ãã¿ãªã³ã°ã®ææ³ãªã©ã®è©±ãèãã¦ããä¼ã§ããã å¾®å¦ã«æèãé«ã¾ã£ã¦ããã¨ããã§ãã¡ã¢ãªä½¿ç¨éãGCã®çµ±è¨æ å ±ãåå¾ãã¦ãGrowthForecastã§ã°ã©ããä½ã£ã¦ãããã¹ã¯ãªãããæ¸ãã¾ãããããPlaãããFluentdç³»ã®ãã¤ã§ã https://github.com/kazeburo/jstat2gf ãã®å ãã¿ã¯ JVM Operation Casual Talksã§ã®ã¢ãªã¹ããã®çºè¡¨ã«ã§ã¦ããã°ã©ãã§ãããããç°¡åã«ä½ãããã¼ã«ã«ãªãã¾ãã æJVMã®ããã»ã¹ã«å¯¾ãã¦å®è¡ããã¨ããããªæãã®ã°ã©ãã«ãªãã¾ããä¸ãããNEWé åããOLDé åããPermamenté åãã1ç§ãããã®Full GCã®åæ°ãã1ç§ãããã®Full GCã«ããã£ãæéãã¨ãªã£ã¦ãã¾ãã ãªããF
ã¯ãã㫠以åã[CloudWatch]ã°ã©ãã®ç¢ºèªæ¹æ³ã¨ç¢ºèªã§ããã°ã©ãä¸è¦§(EC2/ELB/RDS)ãã¨ããè¨äºã§ãCloudWatchããªã½ã¼ã¹ç£è¦ã®è¦³ç¹ã§èããã¨ãã CloudWatchã®çµ±è¨ã¯2é±éããè¨é²ããã¾ããããã®ããé·æçãªãªã½ã¼ã¹åæã«ã¯åãã¾ãããæã¹ãã³ãå¹´ã¹ãã³ã§ãªã½ã¼ã¹åæãè¡ãå ´åã¯ãZabbixãªã©ã®é«æ©è½ãªç£è¦ã½ããã¦ã§ã¢ããªã¹ã¹ã¡ãã¾ãã ã¨æ¸ãã¾ãããç¬éçãªãµã¼ãã¹ã§ããã°å¿ è¦ç¡ãã§ãããããé·æçã«ãµã¼ãã¹ãæä¾ãç¶ããã·ã¹ãã ã«ã¤ãã¦ãªã½ã¼ã¹ç¶æ ã®ç¢ºèªãã·ã¹ãã ã®å©ç¨é »åº¦ãåæããã«ã¯ãæ¥å¥ã»ææ¥å¥ã»æé帯å¥ãªã©ã®è©³ç´°ãªè² è·æ¨ç§»ã®åæãæ¬ ããã¾ãããããã«ã¯ãã¯ã2é±éã¯çããã¾ãã ããã§ãCloudWatchã®ãã¼ã¿ããã³ã°ã¹ãã³ãªã°ã©ãã«å¤æããæ段ã¨ãã¦ãGrowthForecastã¨ãããã¼ã«ã使ã£ã¦ã¿ã¾ããã GrowthFore
Focuslight: Lightning Fast Graphing/Visualization There are many tools to store data and visualize metrics. And now, I released a new one. Focuslight. https://github.com/tagomoris/focuslight If you always lose several minutes before posting metrics and/or drawing graphs for your visualization tools, focuslight may change your life. On focuslight, you just POST values over HTTP on URL which you wan
æ¦è¦ Adventã«ç©ºãããã£ãã®ã§ãPerl Advent Calendar 2013ã®22æ¥ç®ãæ¸ãã¾ãã@kazeburoããã®GrowthForecastã§Mac OS X 10.9 (Mavericks)ã®ãªã½ã¼ã¹ç£è¦ãããæ¹æ³ãæ¸ãã¾ããçµæã¨ãã¦ã¯ä»¥ä¸ã®ããã«ãªãã¾ãã ãã¢(ãªã½ã¼ã¹ç£è¦ï¼: https://matsu.teraren.com/GrowthForecast/list/host/teraren ãã¢(é貨ãã°ï¼: https://matsu.teraren.com/GrowthForecast//list/currency/rate-exchange?t=sh
GrowthForecastã®ãã¼ã¸ã§ã³0.80ããªãªã¼ã¹ãã¾ããã ã¤ã³ã¹ãã¼ã«ã¯CPANãããã¯githubãã https://metacpan.org/release/GrowthForecast https://github.com/kazeburo/GrowthForecast 主ãªå¤æ´ç¹ å¤æ´ç¹ã¯ä»¥ä¸ã®éãã§ãã bootstrap 3 ã«ã¢ããã°ã¬ã¼ã¨ãã¦è¦ãç®ãå¤ãã£ã (kazeburo) ã°ã©ããªã¹ãã®æãç³ã¿ (kazeburo, dalyfolowerãã) mysqlã使ã£ãå ´åã®default valueã®æ±ã (oranieãã,sonotsãã) exportã¸ã®stepã¨cf (çµ±åå·»æ°) ãªãã·ã§ã³ã®è¿½å (anoworlãã) åè -> http://qiita.com/anoworl/items/63a2d8d33cab077e729b unix
ãã®è¨äºã¯ãã²ã¨ããã¾ Monitoring Advent Calendar 2013ã®1æ¥ç®ã§ãï¼ ããã®å¤ã¨ãã®å¤ã®å¤åãä¸é±éã ãåã£ã¦ã°ã©ãã§è¦ããï¼ã ãããªãã¨ã£ã¦ããã¾ãããï¼èªåã¯ã¾ãã«ããããã¾ãã ãããªè²´æ¹ã«ãããããªã®ãããã®è¨äºã§ç´¹ä»ãã常è¨GrwothForecastã¨grouthforecast-workerã®çµã¿åããã§ããæ £ããã¨ãå¿ è¦ã«ãªã£ã¦ãã5åãããã°å¤ã®åå¾ãå§ããããããã«ãªãã¾ãã GrowthForecastã®ã¤ã³ã¹ãã¼ã« GrowthForecast GrowthForecastã¯åä½ã§Webãµã¼ãã¨ãã¦èµ·åãã¦ãæ¾ãè¾¼ãã å¤ããã¾ããã¨ã°ã©ãåãã¦ãããã½ããã¦ã§ã¢ã§ããã¤ã³ã¹ãã¼ã«ã®æ¹æ³ã¯ãå ¬å¼ãµã¤ãã«CentOSãUbuntuã§ãã®ã¾ã¾ä½¿ããã³ãã³ãã§æ¸ãã¦ããã¾ãã ããã©ã«ãã§ã¯TCP5125çªãã¼ãã§èµ·åããã®ã§ããã¡ã¤ã¢ã¦ã©
ã¡ããã¡ãã GrowthForecast ã®ã¤ã³ã¹ãã¼ã«ã perl ã ããé£ããã¨ããã£ã¦ã人ãã¿ãããããã©ãDockerfile ãç¨æãã¦ããã°ãã»ããã¢ããã¯ç°¡åã«ãªãããããªãã ãããã audreyt ã Dockerfile ã§é å¸ããæ¹æ³ã§ irc logger ãé å¸ãã¦ãããããããçä¼¼ãã¦ã¿ãã®ãã¢ãªãããããªãããããªé¢¨ã«ããã£ã¦åããã£ã¦ã¿ããã¨ã«ããã Docker ãã¤ããã¨ãã¢ããªããµããã ã¤ã¡ã¼ã¸ãç°¡åã«é å¸ãããã¨ãå¯è½ã¨ãªããã¤ã³ã¹ãã¼ã«æé ããã¡ããã¡ãã¨ããã°ã«æ¸ãããããã®ãããããã©ãDockerfile ãå ±æããã»ããããã®ã§ã¯ãªãã ããããåç¾å¯è½ã ããchef ã§ããªãã§ããããã©ãdocker ã¯ã¤ã³ã¹ãã¼ã«ãç°¡åãªã®ãããããè¦ãããã¨ããããªãã¦ããã ãããªããªã£ãããã¤ã¡ã¼ã¸ãã¨ãã¤ããã°ããã ãã§ãç°¡åã ããã ãã¦æ¬é¡
æè¿ Ansible ãã¼ã ãªç§ã¨ãã¦ã¯ Docker 㧠Growthforecast ãã¤ã³ã¹ãã¼ã«ããæ¹æ³ ãè¦ãã¨ãAnsible ã§ããããããªã£ã¦ãã¾ãã®ã§ããã¨ãããã¨ã§ããµã¯ã㨠GrowthForecast ãã¤ã³ã¹ãã¼ã«ãã Playbook ãã¡ãã¡ãã£ã¨æ¸ãã¦ã¿ã¾ããã ã¾ã ãã©ãã·ã¥ã¢ããã®ä½å°ã¯ããã¾ãããCentOS åãã®ã¨ããããæ¸ãã¦ãªãã Debian / Ubuntu ã¨ãä»ã® Linux Distribution ç¨ã®ã¨ããã¯èª°ããããããGentoo ã ã¨ãªã¬ãªã¬ ebuild æ¸ãã°ãããªã®ãããªãï¼ ä»åã® Playbook 㯠AWX ã®ã¤ã³ã¹ãã¼ã©ã¼ãåèã«ããã®ã§ Ansible AWX ã試ã ãã®2 #ansible ãåèã«ãªãã¾ãã Playbook 㯠GitHub ( https://github.com/yteraoka/
https://metacpan.org/release/GrowthForecast-Aggregator-Declare use GrowthForecast::Aggregator::Declare; my @queries = gf { section member => sub { # post to member/count db( name => 'count', description => 'The number of members', query => 'SELECT COUNT(*) FROM member', ); }; section entry => sub { # post to entry/count, entry/count_unique db_multi( names => ['count', 'count_unique'], descriptions
ãæ°åãåºåããã³ãã³ããå®æçã«å®è¡ãã¦ãç§éã®å¤åéã memcachedãããã³ã«ã§åãããµã¼ããæ¸ãããã§ç´¹ä»ãããderivedãmemcahcedãããã³ã«ã§å¤ããã¢ã¯ã»ã¹ããã ããããªãã¦ãGrowthForecastã«ç´æ¥ãã¹ãã§ããã便å©ã ãªã¨æã£ãã®ã§ãæ§æè¦ç´ãã¦ãã©ã°ã¤ã³ã§ãã¼ã¿ã®åºåæ¹æ³ãã«ã¹ã¿ãã¤ãºã§ããããã«ããã CPAN: https://metacpan.org/release/App-derived github: https://github.com/kazeburo/App-derived ä»ã¾ã§ $ derived -i 10 --port 12306 cmdsfile ã ã£ãã®ãã $ derived -i 10 -MMemcahced,port=12306 cmdsfile 㨠-M ã§ãã©ã°ã¤ã³ãèªã¿è¾¼ãããã«ãªãã¾ããä½ããã©ã°ã¤ã³ãæå®
ã¯ããã« Fluentdã¯ããã°ãåéãæ ¼ç´ããããã®ãã°åéåºç¤ã½ããã¦ã§ã¢ã§ããFluentdã«ã¤ã³ããããããããã¹ã¦ã®ãã°ãJSONã«å¤æããã¢ã¦ãããããã¾ããã¤ã³ãããã¨ã¢ã¦ããããã¯ã¢ã¸ã¥ã¼ã«åããã¦ãããã¢ã¸ã¥ã¼ã«ã追å ãããã¨ã§ã¤ã³ãããå ã¨ã¢ã¦ããããå ã追å ã§ããããã«ãªã£ã¦ãã¾ãã Fluentdã¯æ¥éã«ç¥å度ãé«ããå¤ãã®Webãµã¼ãã¹ä¼ç¤¾ã§å®éã«ä½¿ç¨ãããããã«ãªãã¾ãããå¾æ¥ã®ãã°ãæ±ãã¦ããåé¡ããFluentdãé©åãªè§£æ±ºçã¨ãªã£ã¦ããã¨èªç¥ããããã¤ç°¡åã«å°å ¥ã»ã¹ã¢ã¼ã«ã¹ã¿ã¼ãã§ããããã«ã¦ã§ã¢ã§ãã£ããã¨ã大ããã£ãã¨æãã¾ãã æ¬ç¨¿ã§ã¯ãFluentdã®ç°¡åãªä»çµã¿ã¨å°å ¥æ¹æ³ãã·ã³ãã«ãªåä½äºä¾ã«ã¤ãã¦ç´¹ä»ãã¾ãã 対象èªè ã·ã¹ãã 管çè ãã¼ã¿ãµã¤ã¨ã³ãã£ã¹ã å¿ è¦ãªç°å¢ UNIXç³»OS Ruby 1.9 ãã°ãåºåããçç± ã·ã¹ãã éç¨ãå§ãã
ããæ°å¹´ã®ãã¼ã¿è§£æã®éè¦æ§ã®é«ã¾ãããããã°ã«é¢ããã½ãªã¥ã¼ã·ã§ã³ãæ¹ã ã§æ´»çºã«æ¢æ±ããã¦ããæ¨ä»ã§ãããã¾ããã¦ã§ããµã¼ãã¼ã®åç´ãªã¢ã¯ã»ã¹ãã°ããã®ã¾ã¾ä¿åããã§ã¯ãªã追å æ å ±ãæ·»å ãã¦ã¿ããããããã¯ã¢ããªã±ã¼ã·ã§ã³ããç´æ¥ãã°ãåãã¦ãããããã¼ã¿ã¦ã§ã¢ã«æãè¾¼ãã§ï½¥ï½¥ï½¥ã¨ããã®ãå½ç¶ã®ããã«è¡ãããã«ãªãã¾ãããã ããããã¾ãèªç±åº¦ã®ãªã access_log ã® combined ãã©ã¼ãããããã¦ã©ãããããã・・・ ãã㧠id:stanaka ã®ç»å ´ã§ãã Labeled Tab Separated Valueã¨ããã®ã¯ãã¯ã¦ãªã§ä½¿ã£ã¦ãããã°ãã©ã¼ãããã®ãã¨ã§ãåºã使ããã¦ããTSV(Tab Separated Value)ãã©ã¼ãããã«ã©ãã«ãä»ãã¦æ±ãæããããã®ã§ããã¯ã¦ãªã§ã¯ããã3年以ä¸ããã®ãã©ã¼ãããã§ãã°ãæ®ãã¦ãã¦ãone-linerããflue
Ubuntu12.04LTS ã«ã¦ãcpanmã«ã¤ãã¦ã¯å ¥ã£ã¦ãããã®ã¨ãã¦ã growthforecastãCPANã«ç»é²ãããããã§ãcpanmã§å ¥ãã¾ãã Ubuntuã¯ãå ¬å¼ã«ããããã«apt-getã§é¢é£ãã¼ã«ãã¤ã³ã¹ãã¼ã«ãã¦ãcpanmã§å®äºãï¼ã¡ãã£ã¨æéãããã¾ãï¼ $ sudo apt-get build-dep rrdtool $ sudo cpanm install GrowthForecastãã¦ãgrowthforecastã使ã£ã¦ã°ã©ãåãããã«ããä¼ç¤¾ãããªãã¨è©¦ããã«ã以ä¸ã®åé¡ãããã ãããªã«ã¢ã¯ã»ã¹ã®ããWebãµã¼ããæã£ã¦ããªã ãã·ã³ãªã½ã¼ã¹ãããã¾ã使ã£ã¦ãªã ããããä»ã®ããã°ã¨åããããªãã¨ãæ¸ãã¦ãä»æ¹ãªã ã¨ãã£ãåé¡ãããã¾ãã¦ãä½ãã°ã©ãåãããããªã¼ã¨ã Pythonã®åå¼·ãã¦ããã©ããã®WebAPIãããã¼ã¿ãåã£ã¦ããã使ã£ã¦
ãªãªã¼ã¹ãé害æ å ±ãªã©ã®ãµã¼ãã¹ã®ãç¥ãã
ææ°ã®äººæ°ã¨ã³ããªã¼ã®é ä¿¡
å¦çãå®è¡ä¸ã§ã
j次ã®ããã¯ãã¼ã¯
kåã®ããã¯ãã¼ã¯
lãã¨ã§èªã
eã³ã¡ã³ãä¸è¦§ãéã
oãã¼ã¸ãéã
{{#tags}}- {{label}}
{{/tags}}