以åã¯ããŒã ãªãŒããŒã§ãããã€ãã®éèŠãªãµãŒãã¹ãæ åœããŠããŸããããããŠãäœãåé¡ãçºçããå Žåãå®éã®ããžãã¹ããã»ã¹ãåæ¢ããŸãããããšãã°ã泚æã¯å庫å ã®ã¢ã»ã³ããªã«è¡ãã®ããããŸããã
ç§ã¯æè¿ãã£ã¬ã¯ã·ã§ã³ãªãŒãã«ãªããçŸåšã§ã¯1ããŒã ã§ã¯ãªã3ããŒã ãæ åœããŠããŸãããããããITã·ã¹ãã ãå®è¡ããŠããŸããåã·ã¹ãã ã§äœãèµ·ãã£ãŠããã®ããäœãå£ããã®ããç解ãããã
ãã®èšäºã§ç§ã¯è©±ããŸã
- ç§ãã¡ãç£èŠãããã®
- ç£èŠæ¹æ³
- ãããŠæãéèŠãªã®ã¯ããããã®èŠ³å¯çµæãã©ã®ããã«åŠçãããã§ãã
ã©ã¢ãã«ã¯å€ãã®ã·ã¹ãã ããããŸãããããã¯ãã¹ãŠè§£æŸãããäœãã圌ãã®äžã§å€åããäœãããã¯ãããžãŒã§èµ·ãã£ãŠããŸãããããŠãå°ãªããšãæ éãç°¡åã«çªãæ¢ããããšãã§ãããšããå¹»æ³ã欲ããã§ããç§ã¯ç解ããããšããèŠåã«åžžã«ãããããŠããŸããæœè±¡åãé¿ããŠè©³çŽ°ã«é²ãããã«ãæåã®äŸã玹ä»ããŸãã
æã äœããççºããïŒç«ã®ã¯ããã¯ã«
æããå€ã®æã宣æŠåžåãªãã§ããã€ãã®ããã«ãç§ãã¡ã®ç£èŠã¯æ©èœããŸãããèŠåãšããŠãIcingaã䜿çšããŸãã Alertã«ãããšãDBMSãµãŒããŒã«ã¯50 GBã®ããŒããã£ã¹ã¯ãæ®ã£ãŠããŸããã»ãšãã©ã®å Žåã50ã®ã¬ãã€ãã¯æµ·ã®èœäžã§ãããããã«çµäºããŸããæ®ãã®ç©ºã容éãæ£ç¢ºã«ç¢ºèªããããšã«ããŸããããããã¯ä»®æ³ãã·ã³ã§ã¯ãªãã¢ã€ã¢ã³ãµãŒããŒã§ãããããŒã¿ããŒã¹ã®è² è·ãé«ãããšãç解ããå¿ èŠããããŸãã 1.5ãã©ãã€ãã®SSDããããŸããããã«ãã®èšæ¶ã¯çµãããè¿ããŸããããã¯20ã30æ¥éç¶ããŸããããã¯éåžžã«å°ããã®ã§ãåé¡ããã°ãã解決ããå¿ èŠããããŸãã
次ã«ã1ã2æ¥ã§å®éã«æ¶è²»ãããã¡ã¢ãªéãããã«ç¢ºèªããŸããã 50ã®ã¬ãã€ãã¯çŽ5ã7æ¥ç¶ãããšãããããŸããããã®åŸããã®ããŒã¹ã§åäœãããµãŒãã¹ã¯äºæž¬ã©ããã«çµäºããŸããçµæã«ã€ããŠèãå§ããŸããç·æ¥ã«ã¢ãŒã«ã€ããããã®ãåé€ããããŒã¿ãããŒã¿åæéšéã«ã¯ãã¹ãŠã®ããã¯ã¢ãããããããã2015幎ããå€ããã®ã¯ãã¹ãŠå®å šã«åé€ã§ããŸãã
ç§ãã¡ã¯ãããåé€ããããšããŸãããMySQLã¯ããŒãããã¯ã§ã¯ãã®ããã«æ©èœããªãããšãèŠããŠããŸããåé€ãããããŒã¿ã¯çŽ æŽãããã§ãããããŒãã«ãšDBã«å²ãåœãŠããããã¡ã€ã«ã®ãµã€ãºã¯å€ãããŸããã MySQLã¯ãã®ã¹ããŒã¹ã䜿çšããŸããã€ãŸããåé¡ã¯è§£æ±ºããããã¹ããŒã¹ããªããªããŸããã
å¥ã®ã¢ãããŒããè©ŠãïŒã©ãã«ããæéåãã®æ©ãSSDããé ãSSDã«ç§»è¡ããŸãããããè¡ãã«ã¯ãééã¯å€§ãããè² è·ãå°ããã¿ãã¬ãããéžæããPerconaã¢ãã¿ãªã³ã°ã䜿çšããŸããããŒãã«ã移åããŸãããããµãŒããŒèªäœã®ç§»åããã§ã«æ€èšããŠããŸãã 2çªç®ã®ç§»ååŸããµãŒããŒã¯1.5ã§ã¯ãªã4ãã©ãã€ãã®SSDã䜿çšããŸãã
ç§ãã¡ã¯ãã®ç«ãæ¶ããŸããïŒç§»åãèšç»ãããããŠãã¡ãããåºå®ç£èŠãããŸãããããã§ãèŠåã¯50ã®ã¬ãã€ãã§ã¯ãªããåãã©ãã€ãã§ããªã¬ãŒãããéèŠãªç£èŠå€ã¯50ã®ã¬ãã€ãã«ãªããŸããããããå®éã«ã¯ãããã¯åŸéšãèŠãåãªãæ¯åžã§ãããã°ããç¶ããŸããããããããŒã¹ãããŒãã«åå²ããã«ã·ã£ãŒãã£ã³ã°ãèããã«ãç¶æ³ã®ç¹°ãè¿ããèš±å¯ãããšããã¹ãŠãç°åžžçµäºããŸãã
ãµãŒããŒãããã«å€æŽãããšããŸãããã段éã§ããã¹ã¿ãŒãåèµ·åããå¿ èŠããããŸãããããããããã®å Žåã¯ãšã©ãŒã«ãªããŸããç§ãã¡ã®å ŽåãããŠã³ã¿ã€ã ã¯çŽ30ç§ã§ããããããããªã¯ãšã¹ããæ¥ãŠãã©ãã«ãæžãããšãã§ããããšã©ãŒãéããç£èŠã¯æ©èœããŸãããç§ãã¡ã¯Prometheusç£èŠã·ã¹ãã ã䜿çšããŠããŸã-ãããŠã泚æãäœæãããšãã®500ãšã©ãŒã®ã¡ããªãã¯ãŸãã¯ãšã©ãŒã®æ°ãæ¥å¢ããŠããããšãããããŸãããããã詳现ã¯ããããŸãããäœæãããªãã£ã泚æã®çš®é¡ãªã©ã§ãã
ããã«ããã®ãããªç¶æ³ã«ãªããªãããã«ããããã«ãç£èŠãã©ã®ããã«åŠçãããã説æããŸãã
ã¢ãã¿ãªã³ã°ã®ã¬ãã¥ãŒãšã«ã¹ã¿ããŒãµããŒãã®æ確ãªèª¬æ
芳å¯ããŠããããã€ãã®é åãšææšããããŸãããªãã£ã¹ã®ããããšããã«ãã¬ãããããããã«ã¯ããŸããŸãªæè¡ã©ãã«ãããžãã¹ã©ãã«ããããéçºè ã«å ããŠããµããŒããµãŒãã¹ã«ãã£ãŠç£èŠãããŠããŸãã
ãã®èšäºã§ã¯ãç§ãã¡ãã©ã®ããã«ãããæã£ãŠãããã«ã€ããŠè©±ããç§ãã¡ãè¡ããããã®ãè¿œå ããŸããããã¯ã¬ãã¥ãŒã®ç£èŠã«ãé©çšãããŸãã ãããããã£ãã®ã€ã³ãã³ããªãå®æçã«å®æœããå Žåãå€ããã®ãã¹ãŠãæŽæ°ããŠä¿®æ£ããfakapã®ç¹°ãè¿ããåé¿ã§ããŸãããããè¡ãã«ã¯ãæ確ãªãªã¹ããå¿ èŠã§ãã
ç§ãã¡ã®ãªããžããªã«ã¯ãçŸåš4678è¡ããã¢ã©ãŒãä»ãã®èšå®ããããŸãããã®ãªã¹ããããåç¹å®ã®ç£èŠãäœã«ã€ããŠè©±ããŠããããç解ããããšã¯å°é£ã§ããã¡ããªãã¯ãdb_disc_space_leftã§ãããšããŸãããããµããŒããµãŒãã¹ã¯ããããäœã§ããããããã«ã¯ç解ããŸãããããªãŒã¹ããŒã¹ã«ã€ããŠã®äœããçŽ æŽãããã
ãã£ãšæ·±ãæãäžãããããã®ç£èŠã®æ§æãèŠãŠããããã©ãããæ¥ãããç解ããŸãã
pm_host: "{{ prometheus_server }}"
pm_query: âmysql_ssd_space_left"
pm_warning: 50
pm_critical: 10 pm_nanok: 1
ãã®ã¡ããªãã¯ã«ã¯ååããããç¬èªã®å¶éããããŸããèŠåç£èŠãæå¹ã«ããã¿ã€ãã³ã°ãšãéèŠãªç¶æ³ãå ±åããã¢ã©ãŒãã§ããã¡ããªãã¯ã®åœåèŠåã䜿çšããŸããåã¡ããªãã¯ã®å é ã«ã¯ãã·ã¹ãã åããããŸããããã®ãããã§ã責任ã®é åãæããã«ãªããŸããã·ã¹ãã ã®æ åœè ãã¡ããªãã¯ãéå§ãããšã誰ã«è¡ãã¹ããããã«ããããŸãã
ã¢ã©ãŒãã¯é»å ±ãŸãã¯ã¹ã©ãã¯ã«æ³šãããŸãããµããŒããµãŒãã¹ã¯ã24æé幎äžç¡äŒã§å¯Ÿå¿ããæåã®ãµãŒãã¹ã§ãããããæ£åžžãªç¶æ³ã§ããå Žåã圌ãã¯æ£ç¢ºã«äœãççºããããèŠãŸãã圌ãã¯æ瀺ããããŸãïŒ
- 亀æããããã«äžãããããã®ã
- ç¶ç¶çã«åæµããŠä¿®æ£ãããæ瀺ãå±éãããç£èŠã®ååã«ãã£ãŠããããäœãæå³ããããèŠã€ããããšãã§ããŸããæãéèŠãªã®ã¯ãäœãå£ããŠããããã©ã®ãããªçµæãçãããã誰ãäžããå¿ èŠããããã«ã€ããŠèª¬æãããŠããŸãã
ãŸããäž»èŠãªã·ã¹ãã ãæ åœããããŒã ã«ã·ããã·ããããããŸããåããŒã ã«ã¯ãåžžã«å¯Ÿå¿ã§ãã人ãããŸããäœããèµ·ãã£ããã圌ãã¯åœŒãè¿ãã«è¡ããŸãã
ã¢ã©ãŒããããªã¬ãŒããããšããµããŒãããŒã ã¯ãã¹ãŠã®éèŠãªæ å ±ããã°ããèŠã€ããå¿ èŠããããŸãããšã©ãŒã¡ãã»ãŒãžã«æ·»ä»ãããŠããç£èŠã®èª¬æãžã®ãªã³ã¯ãçšæããŠãããšäŸ¿å©ã§ããããšãã°ããã®ãããªæ å ±ãããããã«ïŒ
- ãã®ç£èŠã®èª¬æã¯ãç解ãããããæ¯èŒçåçŽã§ãã
- æåšå°ã®äœæã
- ãã®ã¡ããªãã¯ã®èª¬æ;
- çµæïŒééããèšæ£ããªãå Žåãã©ã®ããã«çµäºãããã
- , , . , , . -, .
ãŸããPrometheusã€ã³ã¿ãŒãã§ãŒã¹ã§ãã©ãã£ãã¯ãã€ããã¯ã¹ãããã«ç¢ºèªã§ãããšäŸ¿å©ã§ãã
ã¢ãã¿ãªã³ã°ããšã«ãã®ãããªèšè¿°ãããããšæããŸãã圌ãã¯ããªãã®ã¬ãã¥ãŒãæ§ç¯ãã調æŽãè¡ãã®ã«åœ¹ç«ã¡ãŸããç§ãã¡ã¯ãã®ãã©ã¯ãã£ã¹ãå®è£ ããŠããŸããã¢ã€ã·ã³ã°æ§æã«ã¯ããã®æ å ±ãšã®åæµãžã®ãªã³ã¯ããã§ã«å«ãŸããŠããŸããç§ã¯ã»ãŒ4幎é1ã€ã®ã·ã¹ãã ã«åãçµãã§ããŸããããåºæ¬çã«ãã®ãããªèª¬æã¯ãããŸãããã ããä»ç§ã¯äžç·ã«ç¥èãéããŠããŸãã説æã¯ãããŒã ã®æèã®ââæ¬ åŠã解決ããŸãã
ç¹å®ã®ããžãã¹ãžã®åœ±é¿ã«ã€ãªãããã®ã瀺ããŠããã»ãšãã©ã®ã¢ã©ãŒãã®æ瀺ããããŸãããã®ãããç¶æ³ãè¿ éã«æŽçããå¿ èŠããããŸããèµ·ããåŸãã€ã³ã·ãã³ãã®éèŠåºŠã¯ãããžãã¹ãšãšãã«ãµããŒããµãŒãã¹ã«ãã£ãŠæ±ºå®ãããŸãã
äŸãæããŸãããã泚æåŠçãµãŒãã¹ã®RabbitMQãµãŒããŒã§ã®ã¡ã¢ãªæ¶è²»ã®ç£èŠãããªã¬ãŒãããå Žåãããã¯ãã¥ãŒãµãŒãã¹ãæ°æéãŸãã¯æ°åã§ã¯ã©ãã·ã¥ããå¯èœæ§ãããããšãæå³ããŸããããã«ãããå€ãã®ããžãã¹ããã»ã¹ãåæ¢ããŸãããã®çµæã顧客ã¯æ³šæãSMS /ããã·ã¥éç¥ãã¹ããŒã¿ã¹å€æŽãªã©ãåŸ ããã«å€±æããŸãã
ããžãã¹ãšã®ç£èŠã«ã€ããŠã®è°è«ã¯ãé倧ãªäºä»¶ã®åŸã«ãã°ãã°èµ·ãããŸããäœããå£ããŠããå Žåãç§ãã¡ã¯ãç§ãã¡ã®éæŸãŸãã¯äºä»¶ã«åŒã£ããã£ãæ瀺ã®ä»£è¡šè ãšå ±ã«å§å¡äŒãéããŸããäŒè°ã§ã¯ãã€ã³ã·ãã³ãã®åå ãäºåºŠãšèµ·ãããªãããã«ããæ¹æ³ã被害ãåãã被害ãæ倱é¡ãããã³æ倱é¡ãåæããŸãã
顧客ã®ããã«äœæãããåé¡ã解決ããã«ã¯ãããžãã¹ãæ¥ç¶ããå¿ èŠãããå ŽåããããŸããããã§ã¯ãäºé²çãªã¢ã¯ã·ã§ã³ã«ã€ããŠèª¬æããŸãããããåã³çºçããªãããã«ãã©ã®ãããªç£èŠãéå§ãããã§ãã
ãµããŒããµãŒãã¹ã¯ãé»å ±ãããã䜿çšããŠã¡ããªãã¯ã®å€ãç£èŠããŸããæ°ããç£èŠãè¡ããããšããµããŒãã¯ãŒã«ãŒã¯ãå èš³ãã©ãã«ãããããã«å¯ŸããŠäœããã¹ãããèŠã€ããããã®ç°¡åãªããŒã«ãå¿ èŠãšããŸããã¢ã©ãŒãã®èª¬æãžã®ãªã³ã¯ã¯ãã®åé¡ã解決ããŸãã
ç§ã¯ãã¡ã«ãããçŸå®ã®ããã«èŠãŠããŸãïŒå ±åã®ããã®ã»ã³ããªãŒã®äœ¿çš
ãšã©ãŒãèŠã€ããã ãã§ã¯äžååã§ã詳现ã確èªãããå Žåãæšæºçãªäœ¿çšäŸã¯æ¬¡ã®ãšããã§ãããªãªãŒã¹ãããŒã«ã¢ãŠãããK8Sã¹ã¿ãã¯ããã¢ã©ãŒããåãåããŸãããç£èŠã®ãããã§ããããã®ã¹ããŒã¿ã¹ã確èªããŸããããŒã«ã¢ãŠããããã¢ããªã±ãŒã·ã§ã³ã®ããŒãžã§ã³ãå±éãã©ã®ããã«çµäºããããªã©ããã¹ãŠè¯å¥œã§ãã
次ã«ãRMMã確èªããŸããããã¯ãããŒã¹ãšããã«è² è·ãããã£ãŠãããã®ã§ãã GrafanaãšããŒãã§ã¯ããŠãµã®ãžã®æ¥ç¶æ°ã調ã¹ãŸãã圌ã¯ã¯ãŒã«ã§ãããã¡ã¢ãªãäžè¶³ãããšãã«ãªãŒã¯ããæ¹æ³ãç¥ã£ãŠããŸããç§ãã¡ã¯ããããç£èŠãã次ã«ã»ã³ããªãŒããã§ãã¯ããŸãã次ã®å€§å€±æãã©ã®ããã«è©³çŽ°ã«å±éããããããªã³ã©ã€ã³ã§èŠãããšãã§ããŸãããã®å ŽåããªãªãŒã¹åŸã®ç£èŠã¯äœãã©ã®ããã«å£ããŠããããå ±åããŸãã
PHPãããžã§ã¯ãã§ã¯ãã¬ã€ãŽã³ã¯ã©ã€ã¢ã³ãã䜿çšããããã«ãããããŒã¿ã§åŒ·åããŸããã»ã³ããªãŒã¯ããããã¹ãŠããŸããŸãšããŠããŸãããããŠãåfakapã®ãã€ããã¯ã¹ããããçºçããé »åºŠã確èªããŸãããŸãããªã¯ãšã¹ãã倱æãããã¢ãŠãããããªã¯ãšã¹ãã®äŸã確èªããŸãã
ããã¯ããããã®å€èŠ³ã§ãã次ã®ãªãªãŒã¹ã§ã¯ãéåžžãããå€ãã®ãšã©ãŒãããããšãããããŸããå ·äœçã«äœãå£ãããããã§ãã¯ããŸãããããŠãå¿ èŠã«å¿ããŠãç¶æ³ã«å¿ããŠå€±æãã泚æãååŸããä¿®æ£ããŸãã
Jiraãžã®ãã€ã³ã-ã¯ãŒã«ãªãã®ããããŸããããã¯ãã±ãããã©ãã«ãŒã§ãããã¿ã³ãæŒããšãJiraãSentryãžã®ãªã³ã¯ãšãã®ãšã©ãŒã®ã¹ã¿ãã¯ãã¬ãŒã¹ãå«ããšã©ãŒã¿ã¹ã¯ãäœæããŸãããã¿ã¹ã¯ã«ã¯ç¹å®ã®ã©ãã«ãä»ããŠããŸãã
éçºè ã®äžäººãè³¢æãªã€ãã·ã¢ããããããããŸãã-"Clean ProjectãClean Sentry"ãèšç»ã§ã¯ãSentryããäœæãããå°ãªããšã1ã2åã®ã¿ã¹ã¯ãã¹ããªã³ãã«æå ¥ãããã³ã«ãã·ã¹ãã ã§äœããåžžã«å£ããŠããå ŽåãSentryã«ã¯äœçŸäžãã®å°ããªæããªãã°ã殺å°ããŠããŸããæ¬åœã«æ·±å»ãªãã®ãèŠèœãšããªãããã«ãç§ãã¡ã¯å®æçã«ããããæé€ããŸãã
äœããã®çç±ã§ãã¬ã€ãºïŒç£èŠãäžèŠã«ãªãã誰ããããã«èŠèãããŸã
- ééãã«æ £ãã
äœããåžžã«ç¹æ» ããŠå£ããŠããããã«èŠããå Žåãããã¯èª€ã£ãåºæºã®æèŠãäžããŸãããµãŒãã¹ãã¹ã¯ã¯ãç¶æ³ãé©åã§ãããšèª€è§£ããããšããããŸãããããŠãæ·±å»ãªäœããå£ãããšãã圌ãã¯ãããç¡èŠããŸãããçŒãçŒïŒããšå«ã¶å°å¹Žã®å¯è©±ã®ããã«ã
å žåçãªã±ãŒã¹ã¯ã泚æåŠçãæ åœããç§ãã¡ã®ãããžã§ã¯ãã§ããå庫èªååã·ã¹ãã ãšé£æºããŠãããã«ããŒã¿ã転éããŸãããã®ã·ã¹ãã ã¯éåžžåå7æã«ãªãªãŒã¹ããããã®åŸç£èŠãéå§ããŸãã誰ããããã«æ £ããè©°ãŸãã®ã§ãããŸãè¯ããããŸããããããã®ã³ã³ãããŒã«ã調æŽããããšã¯è³¢æã§ããããããšãã°ãç¹å®ã®ã·ã¹ãã ã®ãªãªãŒã¹ãšäžéšã®ã¢ã©ãŒããPrometheusã§ãªã³ã¯ããã«ã¯ãäœåãªã¢ã©ãŒã ãåãåããªãã§ãã ããã
- ã¢ãã¿ãªã³ã°ã§ã¯ããžãã¹ææšã¯èæ ®ãããŸãã
泚æåŠçã·ã¹ãã ã¯ããŒã¿ãå庫ã«è»¢éããŸãããã®ã·ã¹ãã ã«ç£èŠæ©èœãè¿œå ããŸããã誰ã解éããããã¹ãŠãé 調ã«é²ãã§ããããã§ããã«ãŠã³ã¿ãŒã¯ãããŒã¿ãæ®ã£ãŠããããšã瀺ããŠããŸãããã®ã±ãŒã¹ã¯ç³é¹žã䜿çšããŠããŸããå®éã«ã¯ãã«ãŠã³ã¿ãŒã¯æ¬¡ã®ããã«ãªããŸããç·ã®éšåã¯ç信亀æãé»è²ã®éšåã¯çºä¿¡ã§ãã
ããŒã¿ãæ¬åœã«æºè¶³ããå ŽåããããŸããããæ²ç·ã§ãã泚æã¯æ¯æãããŸããã§ããããæ¯ææžã¿ãšããŒã¯ãããŸãããã€ãŸããè³Œå ¥è ã¯ç¡æã§ããããåãåãããšãã§ããŸããæãã¿ããã§ãããããããã®éã®æ¹ããã楜ããã§ãã人ãæ¯æããã泚æãåãåãããã«æ¥ãŠãã·ã¹ãã ã®ãšã©ãŒã®ããã«åœŒã¯åã³æ¯æãããã«æ±ããããŸãã
ãã®ç¶æ³ãåé¿ããããã«ããã¯ãããžãŒã ãã§ãªãããžãã¹ææšãç£èŠããŠããŸããåé æã«æ¯æããå¿ èŠãªæ³šæã®æ°ãç£èŠããç¹å®ã®ç£èŠããããŸãããã®ã¡ããªãã¯ã®å€§ããªé£èºã¯ãäœãåé¡ãçºçãããã©ããã瀺ããŸãã
ããžãã¹ã€ã³ãžã±ãŒã¿ãŒã®ç£èŠã¯åœããåã®ããšã§ãããç§ãã¡ãå«ããæ°ãããµãŒãã¹ããªãªãŒã¹ããããšãå¿ããããã¡ã§ãã誰ããããã£ã¹ã¯ã«é¢é£ããçŽç²ã«æè¡çãªã¡ããªãã¯ãããŒã»ã³ããªã©ãæ°ãããµãŒãã¹ãå¡ãã€ã¶ããŸãããªã³ã©ã€ã³ã¹ãã¢ãšããŠãç§ãã¡ã¯éèŠãªãã®ãæã£ãŠããŸã-äœæããã泚æã®æ°ãããŒã±ãã£ã³ã°ããã¢ãŒã·ã§ã³ã«åãããŠèª¿æŽããããéåžžã®è³Œå ¥é¡ãææ¡ããŠããŸãããããã£ãŠããªãªãŒã¹äžã«ãã®ã€ã³ãžã±ãŒã¿ãç£èŠããŸãã
ãã1ã€ã®éèŠãªããšïŒã¯ã©ã€ã¢ã³ããåãäœæãžã®é éãç¹°ãè¿ã泚æããå Žåãã³ãŒã«ã»ã³ã¿ãŒãšã®éä¿¡ã«ãã£ãŠã¯ã©ã€ã¢ã³ããèŠãããããšã¯ãããŸããããèªåçã«æ³šæã確èªããŸããã·ã¹ãã ã¯ã©ãã·ã¥ã¯ãã«ã¹ã¿ããŒãšã¯ã¹ããªãšã³ã¹ã«å€§ããªåœ±é¿ãäžããŸããç°ãªãã·ã¹ãã ããã®ãªãªãŒã¹ã倧ããªåœ±é¿ãäžããå¯èœæ§ãããããããã®æž¬å®åºæºã«ãåŸããŸãã
çŸå®ã®äžçã芳å¯ããïŒå¥åº·çãªã¹ããªã³ããšããã©ãŒãã³ã¹ã管çãã
äŒæ¥ãããŸããŸãªææšã远跡ã§ããããã«ãå°ããªãªã¢ã«ã¿ã€ã ããã·ã¥ããŒãã·ã¹ãã ãæžãçããŸãããããšããšå¥ã®ç®çã®ããã«äœãããŸããããã®ããžãã¹ã«ã¯ãæ¥æã®ç¹å®ã®æ¥ã«è²©å£²ããã泚ææ°ã®èšç»ããããŸãããã®ã·ã¹ãã ã¯ãèšç»ã®éµå®ã瀺ããå®éã«äœæãããŸãããã¹ã±ãžã¥ãŒã«ã«ã€ããŠã¯ã圌女ã¯çç£æ ç¹ããããŒã¿ãååŸãããã®å Žã§ãã®å Žã§èªã¿åããŸãã
ã¬ããªã«ãå£ããããã¢ãã¿ãªã³ã°ããªãã£ãã®ã§ããããç¥ãæéã¯ãããŸããã§ãããããããããžãã¹ã¯ãç§ãã¡ãåŸæ¥ã®10泚æã®èšç»ãæºãããŠããªãããšãç¥ããã³ã¡ã³ããåºããŸãããç§ãã¡ã¯ãã®çç±ãç解ãå§ããŸãããå£ããã¬ããªã«ããç¡é¢ä¿ãªããŒã¿ãèªã¿åãããŠããããšãããããŸãããããã¯ãäŒæ¥ãèå³æ·±ãææšã芳å¯ããã±ãŒã¹ã§ãããåââé¡ãçºçãããšãã«ç§ãã¡ã¯äºãã«å©ãåããŸãã
é·ãééçºãç¶ããããŠãããåããŒã ã«ãã£ãŠåžžã«èª¿æŽãããŠãããå®äžçã®å¥ã®ç£èŠã«ã€ããŠã話ããŸããJira ViewerããããŸããéçºããã»ã¹ãç£èŠã§ããŸããã·ã¹ãã ã¯éåžžã«ã·ã³ãã«ã§ããPHPãã¬ãŒã ã¯ãŒã¯Symfonyã¯ãJira Apiã«ã¢ã¯ã»ã¹ããå ¥åãšããŠæå®ãããå 容ã«å¿ããŠãã¿ã¹ã¯ãã¹ããªã³ããªã©ã«é¢ããããŒã¿ãããããååŸããŸããJira Viewerã¯ãããŒã ãšãã®ãããžã§ã¯ãã«é¢é£ããã¡ããªãã¯ãå®æçã«Prometeusã«æžã蟌ã¿ãŸããããã§ç£èŠãããèŠåãããããããGrafanaã«è¡šç€ºãããŸãããã®ã·ã¹ãã ã®ãããã§ãç§ãã¡ã¯é²è¡äžã®äœæ¥ã远跡ããŸãã
- é²è¡äžã®ç¬éããæ¬çªç°å¢ã«ããŒã«ã¢ãŠããããŸã§ã®ã¿ã¹ã¯ã®ç¶ç¶æéãç£èŠããŸããæ°ãå€ãããå Žåãçè«çã«ã¯ãããã¯ããã»ã¹ãããŒã ãã¿ã¹ã¯ã®èª¬æãªã©ã«åé¡ãããããšã瀺ããŠããŸããã¿ã¹ã¯ã®å¯¿åœã¯éèŠãªã¡ããªãã¯ã§ãããããã ãã§ã¯ååã§ã¯ãããŸããã
- . , , . , .
- â ready for release, . - - , « ».
- : , . .
- . 400 150. , , .
- å€åæéå€ã®éçºè ããã®ãã«ãªã¯ãšã¹ãã®æ°ãããŒã ã§ç£èŠããŸãããç¹ã«ãååŸ8æ以éããããŠãã¡ããªãã¯ãæ¥äžæãããšããããã¯ææ ®ãã¹ãå åã§ãïŒäººã¯äœãã®ããã®æéããªãããããŸãã«ãå€ãã®åªåãè²»ãããé ããæ©ããçãå°œããŸãã
ã¹ã¯ãªãŒã³ã·ã§ããã¯ãJira ViewerãããŒã¿ã衚瀺ããæ¹æ³ã瀺ããŠããŸããããã¯ãã¹ããªã³ãããã®ã¿ã¹ã¯ã®ã¹ããŒã¿ã¹ã®æŠèŠãåã¿ã¹ã¯ã®ééãªã©ãèšèŒãããŠããããŒãžã§ãããã®ãããªãã®ãéãŸããããã¡ããŠã¹ã«é£ã³ãŸãã
æè¡çãªæž¬å®åºæºã ãã§ãªãããã§ã«ç£èŠããŠãããã®ãç£èŠã§ãããã®ããªãããããã¹ãŠå¿ èŠãªã®ã
ãŸãšãããšãããã»ã¹ãéçºãããžãã¹ã«é¢é£ãããã¯ãããžãŒãšã¡ããªãã¯ã®äž¡æ¹ãäžç·ã«ç£èŠããããšããå§ãããŸããæè¡çãªææšã ãã§ã¯ååã§ã¯ãããŸããã
- , -, Grafana-. . , , .
- : , . , , crontab supervisor. . , , .
- â , , .
- : , - , . , .
- , . â Sentry . - , . - , . Sentry , , .
- . , , .
- , . , - , - . .