åœç€Ÿã®ç£èŠãœãªã¥ãŒã·ã§ã³ãšAPI ã APIããŒã䜿çšããŠèº«å
ãèªèšŒããã³ç¢ºèªããŸãã ãããã®ããŒã«ãããçµç¹å
ã®æ¿èªããããŠãŒã¶ãŒã®ã¿ã New Relic ã«ããŒã¿ãå ±åãããã®ããŒã¿ã«ã¢ã¯ã»ã¹ããæ©èœãæ§æã§ããããã«ãªããŸãã äž»ããŒã¯ã©ã€ã»ã³ã¹ã㌠(ããŒã¿ã®ã¬ããŒãçš) ãš ãŠãŒã¶ãŒã㌠(NerdGraphãGraphQL APIã®æäœçš) ã§ãã
API ããŒã®äœ¿çšãéå§ããã«ã¯:
ãŸã ãæã¡ã§ãªãå Žåã¯ãç¡æã¢ã«ãŠã³ãã«ãµã€ã³ã¢ããããŠãã ãã ãšãŒãžã§ã³ããšçµ±å ã䜿çšããŠãNew Relic ãžã®ããŒã¿ã®åã蟌ã¿ãéå§ããŸãAPI ã㌠UI ããŒãž ãã API ããŒãäœæããã³ç®¡çããŠãããŒã¿ã®ç£èŠãããã«éå§ã§ããããã«ããŸã䞻㪠API ã㌠Key
Details
To view and manage
Read more
License key ãããŒã¿åã蟌ã¿ã«äœ¿çš
ã©ã€ã»ã³ã¹ããŒã¯ãã»ãŒãã¹ãŠã®ããŒã¿ãå ±åããããã«äœ¿çšãããŸã (ç¬èªã®ããŒã䜿çšããbrowserãšã¢ãã€ã« ããŒã¿ãé€ã)ã åããŒã¯ç¹å®ã®ã¢ã«ãŠã³ãã«é¢é£ä»ããããŠãããå¿
èŠãªæ°ã ãäœæã§ããŸãã
APIããŒã®UIïŒçŽãªã³ã¯ ïŒã«ç§»åããŸãã
ãã£ãšè©³ããç¥ã
Browser key ãããŒã¿åã蟌ã¿ã«äœ¿çš
ãã©ãŠã¶ ããŒã¯ããã©ãŠã¶ç£èŠ ããŒã¿ãå ±åããããã«äœ¿çšãããŸãã åããŒã¯ç¹å®ã®ã¢ã«ãŠã³ãã«é¢é£ä»ããããŠãããå¿
èŠãªæ°ã ãäœæã§ããŸãã
APIããŒã®UIïŒçŽãªã³ã¯ ïŒã«ç§»åããŸãã
ãã£ãšè©³ããç¥ã
Mobile app token ãããŒã¿åã蟌ã¿ã«äœ¿çš
ã¢ãã€ã«ã¢ããªããŒã¯ã³ã¯ã ã¢ãã€ã«ã¢ãã¿ãªã³ã° ã®ããŒã¿ãå ±åããããã«äœ¿çšãããŸããåããŒã¯ã³ã¯ãç¹å®ã®ã¢ãã€ã«ã¢ããªã«é¢é£ä»ããããŠããŸãã
ç£èŠå¯Ÿè±¡ã¢ããªã®UIã«ç§»åãã
ãã£ãšè©³ããç¥ã
User key ãã¯ãšãªãšèšå®ã«äœ¿çšãããŸã
ããŒã¿ã®ã¯ãšãªãšæ©èœã®æ§æã«äœ¿çšããã GraphQL API ã§ããNerdGraph ã䜿çšããã«ã¯ããŠãŒã¶ãŒ ããŒãå¿
èŠã§ããåãŠãŒã¶ãŒ ããŒã¯ãç¹å®ã®ãŠãŒã¶ãŒã«é¢é£ä»ããããŠããŸãã
APIããŒã®UIïŒçŽãªã³ã¯ ïŒã«ç§»åããŸãã
ãã£ãšè©³ããç¥ã
APIããŒã®è¡šç€ºãšç®¡ç ã»ãšãã©ã®API ããŒã¯ã ãã¯ãªãã¯ãããšè¡šç€ºããã ãŠãŒã¶ãŒ ã¡ãã¥ãŒ ã®API ã㌠ããŒãžUI API keys ãã管çã§ããŸãã
NerdGraph ã§ããŒã衚瀺ããã«ã¯ãã㌠ID ãã³ããŒããŸãã NerdGraphã䜿ã£ãŠããŒã管çãã ããšãã§ããŸã
API ããŒã®ç®¡çã«é¢ããæšå¥šäºé
APIããŒãæªçšããããšãã»ãã¥ãªãã£äžã®ãªã¹ã¯ãçºçããå¯èœæ§ããããŸããäŸãã°
ã©ã€ã»ã³ã¹ã㌠ãæã€èª°ããããªãã®ã¢ã«ãŠã³ãã«ä»»æã®ããŒã¿ãéä¿¡ããå¯èœæ§ããããŸããããŒã ã¡ã³ããŒã®ãŠãŒã¶ãŒããŒã®ãããããæã€èª°ãããã客æ§ã® New Relic ããŒã¿ãé²èŠ§ããã客æ§ã® New Relic ã¢ã«ãŠã³ãã«å€æŽãå ããããšãã§ããŸãã APIããŒã¯ããã¹ã¯ãŒãããã®ä»ã®æ©å¯æ
å ±ãšåæ§ã«ãå®å
šã«åãæ±ãå¿
èŠããããŸããããã€ãã®æšå¥šäºé
ã玹ä»ããŸãã
ã©ã€ã»ã³ã¹ããŒãšãã©ãŠã¶ããŒã«ã€ããŠã¯ãäžå®ã®ã¹ã±ãžã¥ãŒã«ã§æ°ããããŒãäœæããå€ãããŒãåé€ãããããŒããŒããŒã·ã§ã³æŠç¥ã®å®æœãæ€èšããŠãã ãããèæ
®ããããšã
ã¢ã«ãŠã³ãã«é¢é£ä»ããããŠããå
ã®ã€ã³ãžã§ã¹ã ããŒãåé€ããããšã¯ã§ããªããããåŸã§åé€ã§ããè¿œå ã®ã€ã³ãžã§ã¹ã ããŒãäœæããããšããå§ãããŸãã ããã«ããã匷åãªã»ãã¥ãªãã£äœå¶ã確ä¿ãããŸãã ãªããã¢ãã€ã«ã¢ããªã®ããŒã¯ã³ã«ã¯é©çšãããŸãããããŒã¯ã³ãåé€ããããè¿œå ã§äœæãããããããšã¯ã§ããŸããã ãŠãŒã¶ãŒã㌠ã®å Žå:
ãŠãŒã¶ãŒããŒãå®å
šã«ä¿ç®¡ãããããããŒã ã¡ã³ããŒã«æå°ããã ã¡ã³ããŒãçµç¹ãé¢ããå Žåã¯ããã®ãŠãŒã¶ãŒ ID ã New Relic ããåé€ããŸãã ããã«ããããŠãŒã¶ãŒ ID ã«é¢é£ä»ããããŠãããã¹ãŠã®ãŠãŒã¶ãŒ ããŒãç¡å¹ã«ãªããŸãã API ããŒãããŒããŒã·ã§ã³ãã æãäžè¬ç㪠4 ã€ã® API ããŒãããããããŒããŒã·ã§ã³ããæ¹æ³ã¯æ¬¡ã®ãšããã§ãã
ã©ã€ã»ã³ã¹ããŒãããŒããŒã·ã§ã³ãã ã©ã€ã»ã³ã¹ããŒã¯ã ã»ãŒãã¹ãŠã®ããŒã¿ãã¬ããŒãããããã«äœ¿çšãããŸã (ç¬èªã®ããŒã䜿çšããbrowserãšã¢ãã€ã«ç£èŠã®ããŒã¿ãé€ã)ã åããŒã¯ç¹å®ã®ã¢ã«ãŠã³ãã«é¢é£ä»ããããŠããããŠãŒã¶ãŒã¯å¥œããªã ãããŒãäœæã§ããŸãã ã©ã€ã»ã³ã¹ããŒã¯æŽæ°ã§ããªããããåé€ããŠæ°ããããŒãäœæããŠçœ®ãæããå¿
èŠããããŸãã
ã¢ã«ãŠã³ãã®ã©ã€ã»ã³ã¹ããŒã¯ã APIããŒUI one.newrelic.com/api-keys (EU ããŒã¿ã»ã³ã¿ãŒã®å Žåã¯one.eu.newrelic.com/api-keys ) ã§èŠã€ããããšãã§ããŸãã ãã¹ãŠã®è£œå管çè
æš©é ãŸãã¯ãããã®ããŒã衚瀺ã§ããã«ã¹ã¿ã ããŒã«ãæã£ãŠããªãéãã䜿çšæš©éãããããŒã®ã¿ã衚瀺ãããŸãã
ããã©ã«ãã§ã¯ããã¹ãŠã®New Relicã¢ã«ãŠã³ãã¯ãçµç¹å
šäœã§å
±æããããªãªãžãã«ã®ã¢ã«ãŠã³ã ã©ã€ã»ã³ã¹ããŒã䜿çšããŠäœæãããŸãã ãã®ããŒãAPIããŒUIããåé€ããããšã¯ã§ããŸãããã New RelicãµããŒãã«é£çµ¡ããŠããŒãããŒããŒã·ã§ã³ããããšã¯ã§ããŸãã
ãŠãŒã¶ãŒäœæã®ã©ã€ã»ã³ã¹ ããŒãããŒããŒã·ã§ã³ããã«ã¯:
ããŒãããŒããŒã·ã§ã³ãã New Relic ãŠãŒã¶ãŒãšããŠãã°ã€ã³ããŸãã
one.newrelic.com/api-keys (ãŸã㯠EU ããŒã¿ã»ã³ã¿ãŒã®å Žåã¯one.eu.newrelic.com/api-keys ) ã«ç§»åããŸãã
API keys ããŒãžã®å³äžé
ã«ããCreate a key ã¯ãªãã¯ããŸãã
æ°ããããŒåãå
¥åãã Key type ã«Ingest - License éžæãããªãã·ã§ã³ã®èª¬æãè¿œå ããŠã Save ãã¯ãªãã¯ããŸãã
å€ãããŒãåç
§ããã¹ã¯ãªãããŸãã¯ã³ãŒããæ°ããããŒã®å€ã§æŽæ°ããŸãã æ°ããããŒãèŠã€ããã«ã¯ãæ°ããããŒãšåãè¡ã«ãã... ã¢ã€ã³ã³ãã¯ãªãã¯ãã次ã«Copy key ãã¯ãªãã¯ããŸãã
å€éšäŸåé¢ä¿ãæŽæ°ãããããå€ãããŒãšåãè¡ã«ãã... ã¢ã€ã³ã³ãã¯ãªãã¯ãã次ã«Delete ãã¯ãªãã¯ããããšã§ãå€ãããŒãå®å
šã«åé€ã§ããŸãã
ããŒãæ£åžžã«åé€ããããšãå³äžé
ã«æ¬¡ã®ã¡ãã»ãŒãžã衚瀺ãããŸãã
NerdGraph API ãä»ããŠã©ã€ã»ã³ã¹ ããŒã管çããããšãã§ããŸããæé ã«ã€ããŠã¯ã ãNerdGraph ãã¥ãŒããªã¢ã«: API ããŒã®ç®¡çã ãåç
§ããŠãã ããã
ãã©ãŠã¶ããŒãå転ããã ãã©ãŠã¶ ããŒã¯ããã©ãŠã¶ç£èŠããŒã¿ãã¬ããŒãããããã«äœ¿çšãããŸããåããŒã¯ç¹å®ã®ã¢ã«ãŠã³ãã«é¢é£ä»ããããŠããã顧客ã¯å¿
èŠãªã ãããŒãäœæã§ããŸãã
ã¢ã«ãŠã³ãã®browserããŒã¯ã APIããŒUIã®one.newrelic.com/api-keys (EU ããŒã¿ã»ã³ã¿ãŒã®å Žåã¯one.eu.newrelic.com/api-keys ) ã§èŠã€ããããšãã§ããŸãã ãã¹ãŠã®è£œå管çè
æš©é ãŸãã¯ãããã®ããŒã衚瀺ã§ããã«ã¹ã¿ã ããŒã«ãæã£ãŠããªãéãã䜿çšæš©éãããããŒã®ã¿ã衚瀺ãããŸãã
ããã©ã«ãã§ã¯ããã¹ãŠã®New Relicã¢ã«ãŠã³ãã¯ãçµç¹å
šäœã§å
±æããããªãªãžãã«ã®ã¢ã«ãŠã³ãbrowserããŒã䜿çšããŠäœæãããŸãã ãã®ããŒãAPIããŒUIããåé€ããããšã¯ã§ããŸãããã New RelicãµããŒãã«é£çµ¡ããŠããŒãããŒããŒã·ã§ã³ããããšã¯ã§ããŸãã
ãŠãŒã¶ãŒäœæã®ãã©ãŠã¶ ããŒãããŒããŒã·ã§ã³ããã«ã¯:
ããŒãããŒããŒã·ã§ã³ãã New Relic ãŠãŒã¶ãŒãšããŠãã°ã€ã³ããŸãã
one.newrelic.com/api-keys (ãŸã㯠EU ããŒã¿ã»ã³ã¿ãŒã®å Žåã¯one.eu.newrelic.com/api-keys ) ã«ç§»åããŸãã
API keys ããŒãžã®å³äžé
ã«ããCreate a key ã¯ãªãã¯ããŸãã
æ°ããããŒåãå
¥åãã Key type ã«Ingest - Browser éžæãããªãã·ã§ã³ã®èª¬æãè¿œå ããŠã Save ãã¯ãªãã¯ããŸãã
å€ãããŒãåç
§ããã¹ã¯ãªãããŸãã¯ã³ãŒããæ°ããããŒã®å€ã§æŽæ°ããŸãã æ°ããããŒãèŠã€ããã«ã¯ãæ°ããããŒãšåãè¡ã«ãã... ã¢ã€ã³ã³ãã¯ãªãã¯ãã次ã«Copy key ãã¯ãªãã¯ããŸãã
å€éšäŸåé¢ä¿ãæŽæ°ãããããå€ãããŒãšåãè¡ã«ãã... ã¢ã€ã³ã³ãã¯ãªãã¯ãã次ã«Delete ãã¯ãªãã¯ããããšã§ãå€ãããŒãå®å
šã«åé€ã§ããŸãã
ããŒãæ£åžžã«åé€ããããšãå³äžé
ã«æ¬¡ã®ã¡ãã»ãŒãžã衚瀺ãããŸãã
ã¢ãã€ã«ã¢ããªããŒã¯ã³ãããŒããŒã·ã§ã³ãã ã¢ãã€ã«ç£èŠã§ã¯ãã©ã€ã»ã³ã¹ ããŒã§ã¯ãªãã¢ãã€ã« ã¢ã㪠ããŒã¯ã³ã䜿çšããŠããŒã¿ãã¬ããŒãããŸããã¢ãã€ã« ã¢ã㪠ããŒã¯ã³ã¯ãã¹ãŠäžæã§ãããã¢ããªã±ãŒã·ã§ã³ã NR1 ã«ç»é²ããããã³ã«åçæãããŸããã¢ããªã«é¢é£ä»ããããã¢ãã€ã«ããŒãããŒããŒã·ã§ã³ããã«ã¯ãNew Relic ã§ã¢ããªãåèªèšŒããŸãã
ã¢ã㪠ããŒã¯ã³ã®è©³çŽ°ã«ã€ããŠã¯ã ãã¢ãã€ã«ç£èŠã®èšå®ãæ§æããã ãåç
§ããŠãã ããã
ãŠãŒã¶ãŒããŒãããŒããŒã·ã§ã³ãã New Relic ãŠãŒã¶ãŒ ã㌠(ãå人 API ããŒããšãåŒã°ããŸã) ã¯ãNerdGraph ãš REST API ã䜿çšããããã«å¿
èŠã§ããããŒã¯çµç¹ãŸãã¯ç¹å®ã®ãŠãŒã¶ãŒã«å±ããããšãã§ããŸãã
ã¢ã«ãŠã³ãã®ãŠãŒã¶ãŒ ããŒã¯ã APIããŒUI one.newrelic.com/api-keys (EU ããŒã¿ã»ã³ã¿ãŒã®å Žåã¯one.eu.newrelic.com/api-keys ) ã§èŠã€ããããšãã§ããŸãã ãã¹ãŠã®è£œå管çè
æš©éãŸãã¯ãããã®ããŒã衚瀺ã§ããã«ã¹ã¿ã ããŒã«ãæã£ãŠããªãéãã䜿çšæš©éãããããŒã®ã¿ã衚瀺ãããŸãã
éèŠ ãŠãŒã¶ãŒ ããŒã䟵害ããããšæãããå Žåã¯ããã®ãŠãŒã¶ãŒã«é¢é£ä»ããããŠããããŸãã¯ãã®ãŠãŒã¶ãŒã«ãã£ãŠäœæãããall ããŒãããŒããŒã·ã§ã³ããå¿
èŠããããŸãã
ãŠãŒã¶ãŒ ããŒãããŒããŒã·ã§ã³ããã«ã¯ãæ°ããããŒãäœæãããœãããŠã§ã¢å
ã®å€ãããŒãžã®åç
§ãæŽæ°ããŠãããå€ãããŒãåé€ããŸããUI ã§ããŒãå転ããã«ã¯:
ããŒãããŒããŒã·ã§ã³ãã New Relic ãŠãŒã¶ãŒãšããŠãã°ã€ã³ããŸãã
one.newrelic.com/api-keys (ãŸã㯠EU ããŒã¿ã»ã³ã¿ãŒã®å Žåã¯one.eu.newrelic.com/api-keys ) ã«ç§»åããŸãã
API keys ããŒãžã®å³äžé
ã«ããCreate a key ã¯ãªãã¯ããŸãã
æ°ããããŒåãå
¥åãã Key type ã«User éžæãããªãã·ã§ã³ã®èª¬æãè¿œå ããŠã Save ãã¯ãªãã¯ããŸãã
å€ãããŒãåç
§ããã¹ã¯ãªãããŸãã¯ã³ãŒããæ°ããããŒã®å€ã§æŽæ°ããŸãã æ°ããããŒãèŠã€ããã«ã¯ãæ°ããããŒãšåãè¡ã«ãã... ã¢ã€ã³ã³ãã¯ãªãã¯ãã次ã«Copy key ãã¯ãªãã¯ããŸãã
å€éšäŸåé¢ä¿ãæŽæ°ãããããå€ãããŒãšåãè¡ã«ãã... ã¢ã€ã³ã³ãã¯ãªãã¯ãã次ã«Delete ãã¯ãªãã¯ããããšã§ãå€ãããŒãå®å
šã«åé€ã§ããŸãã
ããŒãæ£åžžã«åé€ããããšãå³äžé
ã«æ¬¡ã®ã¡ãã»ãŒãžã衚瀺ãããŸãã
NerdGraph API ãä»ããŠãŠãŒã¶ãŒ ããŒã管çããããšãã§ããŸããæé ã«ã€ããŠã¯ã ãNerdGraph ãã¥ãŒããªã¢ã«: API ããŒã®ç®¡çã ãåç
§ããŠãã ããã
ãŸããå€ããŸãã¯ããŸãäžè¬çã§ã¯ãªã API ã㌠ã¿ã€ããããã€ããããŸãããããã®ããŒãããŒããŒã·ã§ã³ããã«ã¯:
Insights æ¿å
¥ããŒãš Insights ã¯ãšãª ããŒãå転ãã ãããã¯å€ãããŒã§ããã顧客ã«ãã䜿çšã¯æšå¥šãããŠããŸããããNew Relic ã§ã¯åŒãç¶ããµããŒããããŠããŸãããããã®ããŒã¯ãã¡ããªã¯ã¹ãã€ãã³ãããã°ããã¬ãŒã¹ API ãä»ããŠããŒã¿ãåã蟌ãããã«äœ¿çšãããçµç¹å
šäœã«é©çšãããŸãã
ãããã®ããŒãããŒããŒã·ã§ã³ããã«ã¯:
管çè
æš©éãæã€ã¢ã«ãŠã³ã㧠New Relic ã«ãã°ã€ã³ããŸãã
one.newrelic.com/api-keys (ãŸã㯠EU ããŒã¿ã»ã³ã¿ãŒã®å Žåã¯one.eu.newrelic.com/api-keys ) ã«ç§»åããŸãã
ããŒãžã®å·ŠåŽã«ããLooking for other keys? ã»ã¯ã·ã§ã³ãèŠã€ããŠãããŒããŒã·ã§ã³ããããŒã®çš®é¡ã®ãªã³ã¯ãã¯ãªãã¯ããŸãã
æ°ããæ¿å
¥ãŸãã¯ã¯ãšãªããŒãäœæããã«ã¯ã + ã¢ã€ã³ã³ãã¯ãªãã¯ããŸãã
å€ãããŒãåç
§ããã¹ã¯ãªãããŸãã¯ã³ãŒããæ°ããããŒå€ã§æŽæ°ããŸãã
å€éšäŸåé¢ä¿ãæŽæ°ãããããå€ãããŒãå®å
šã«åé€ã§ããŸãã ããŒãåé€ããã«ã¯ãããŒã®äžã«ããŠã¹ã移åããŠDelete ãã¯ãªãã¯ããŸãã
REST APIããŒãããŒããŒã·ã§ã³ãã ããã¯éæšå¥šã§ãããNew Relic ã§ã¯åŒãç¶ããµããŒããããŠããå€ãããŒã§ãã çŸåšãREST APIããŒã®ä»£ããã«ãŠãŒã¶ãŒ ããŒã䜿çšããããšããå§ãããŸãã
ãã®ããŒãããŒããŒã·ã§ã³ããããšã¯ã§ããŸããããåé€ããããšã¯ã§ããŸãã
管çè
æš©éãæã€ã¢ã«ãŠã³ã㧠New Relic ã«ãã°ã€ã³ããŸãã
one.newrelic.com/api-keys (ãŸã㯠EU ããŒã¿ã»ã³ã¿ãŒã®å Žåã¯one.eu.newrelic.com/api-keys ) ã«ç§»åããŸãã
ããŒãžã®å·ŠåŽã«ããLooking for other keys? ã»ã¯ã·ã§ã³ãèŠã€ããŠã REST API key ãã¯ãªãã¯ããŸãã
Delete REST API Key ãã¯ãªãã¯ããŸãã
Pixie API ããŒãããŒããŒã·ã§ã³ãã Pixie API ããŒã¯ãPixie ãã©ãããã©ãŒã ã«å¯ŸããŠã«ã¹ã¿ã ã¢ããªã±ãŒã·ã§ã³ãèªèšŒããããã«äœ¿çšãããŸããPixie API ããŒã¯å€æŽã§ããŸãããPixie API ããŒãããŒããŒã·ã§ã³ããã«ã¯ãæ°ããããŒãäœæããŠãããå€ãããŒãåé€ããå¿
èŠããããŸããPixie API ããŒã®è©³çŽ°ã«ã€ããŠã¯ãPixie ããã¥ã¡ã³ãã®ãAPI ããŒã®ç®¡çã ãåç
§ããŠãã ããã
ããŒãããŒã·ãã API ããŒãããŒããŒã·ã§ã³ãã Partnership API ã¯ãNew Relic ã®æ
åœè
ãã䜿çšããããç¹ã«æ瀺ãããªãéããçµç¹ã§ã¯å©çšã§ããŸãããAPI ã®è©³çŽ°ã«ã€ããŠã¯ã ãããŒãããŒã·ãã API ãªãã¡ã¬ã³ã¹ã ãåç
§ããŠãã ããã
ããŒã衚瀺ãŸãã¯åçæããã«ã¯ãããŒãããŒã·ããææè
ã®èªèšŒæ
å ±ã䜿çšã㊠New Relic ã«ãã°ã€ã³ãã Partnerships > Edit settings ã«ç§»åããŸãã
APIããŒã«ã€ããŠãã£ãšèªã APIããŒãäœæãŸãã¯ç®¡çããã«ã¯ãone.newrelic.com / launcher / api-keys-ui.api-keys-launcherã®UIããŸãã¯NerdGraphAPI ã䜿çšããŸã ã詳现ã«ã€ããŠã¯ãããŒãéžæããŠãã ããã
ã©ã€ã»ã³ã¹ã㌠ããŒã¿ã®åã蟌ã¿ã«äœ¿çšãããã¡ã€ã³ããŒã¯ãã©ã€ã»ã³ã¹ããŒãšåŒã°ããŸãã APIããŒUIããã³NerdGraph ã§ã¯ããã®ããŒã¯ingest - license
ãšããŠåç
§ãããããšããããŸãã
ã»ãšãã©ãã¹ãŠã®NewRelicããŒã¿ãåã蟌ãã«ã¯ãã©ã€ã»ã³ã¹ããŒãå¿
èŠã§ããäŸå€ã¯ããã©ãŠã¶ãŒç£èŠããŒã¿ïŒãã©ãŠã¶ãŒããŒã䜿çšïŒãšã¢ãã€ã«ç£èŠããŒã¿ïŒã¢ãã€ã«ã¢ããªããŒã¯ã³ã䜿çšïŒã§ãã
ã©ã€ã»ã³ã¹ããŒã¯ã New Relicã¢ã«ãŠã³ãã«é¢é£ä»ãããã 40 æåã® 16 é²æååã§ãã åã㊠ã«New Relic ãµã€ã³ã¢ãããã ãšãåäžã®ã¢ã«ãŠã³ããšç¬èªã®ã©ã€ã»ã³ã¹ããŒãæã€çµç¹ãäœæãããŸããããã«ã¢ã«ãŠã³ããè¿œå ãããšãåã¢ã«ãŠã³ãã¯ç¬èªã®ã©ã€ã»ã³ã¹ããŒããå§ãŸããŸãã ã¢ã«ãŠã³ãçšã«æåã«äœæãããã©ã€ã»ã³ã¹ããŒã¯åé€ã§ããŸãããã管çããã³åé€ã§ããè¿œå ã®ã©ã€ã»ã³ã¹ããŒãäœæããããšã¯ã§ããŸããããã¯ãããŒã®ããŒããŒã·ã§ã³ãªã©ã®ã»ãã¥ãªãã£å¯Ÿçãå®è£
ããã®ã«åœ¹ç«ã¡ãŸãã ã¢ã«ãŠã³ãã®å
ã®ã¢ã«ãŠã³ãã®ã©ã€ã»ã³ã¹ããŒãããŒããŒã·ã§ã³ããå¿
èŠãããå Žåã¯ããµããŒãã«ãåãåãããã ãã ã
ãŠãŒã¶ãŒãã©ã€ã»ã³ã¹ ããŒã衚瀺ãŸãã¯ç®¡çã§ããªãããã«å¶éããã«ã¯ããããã®æš©éãæããªãããŒã«ããŠãŒã¶ãŒã«å²ãåœãŠãŸãã å
ã®ãŠãŒã¶ãŒ ã¢ãã« | å
ã®ãŠãŒã¶ãŒ ã¢ãã« æ°ãããŠãŒã¶ãŒã¢ãã« ã
ãã©ãŠã¶ã㌠ãã©ãŠã¶ã®ç£èŠã§ã¯ãã©ã€ã»ã³ã¹ããŒã§ã¯ãªãããã©ãŠã¶ããŒã䜿çšããŠããŒã¿ãå ±åããŸãããã©ãŠã¶ããŒã¯ããã©ãŠã¶ç£èŠãšãŒãžã§ã³ã ããã®ããŒã¿ãã¢ã«ãŠã³ãã«é¢é£ä»ããããã«äœ¿çšãããŸãã
ã¢ã«ãŠã³ãã®äœææã«äœæãããå
ã®browserããŒã管çãŸãã¯åé€ããããšã¯ã§ããŸããããæ°ããbrowserããŒãäœæããŠãããã®ããŒãåé€ããããšã¯ã§ããŸãã ã¢ã«ãŠã³ãã®å
ã®browserããŒã®ããŒããŒã·ã§ã³ã«é¢ãããµããŒããå¿
èŠãªå Žåã¯ããµããŒãã«ãåãåãããã ãã ã
ã¢ãã€ã«ã¢ããªããŒã¯ã³ ã¢ãã€ã«ã¢ãã¿ãªã³ã°ã§ã¯ãã©ã€ã»ã³ã¹ããŒã§ã¯ãªããã¢ãã€ã«ã¢ããªããŒã¯ã³ã䜿çšããŠããŒã¿ãã¬ããŒãããŸãã詳现ã«ã€ããŠã¯ãã¢ãã€ã«ã¢ããªããŒã¯ã³ ãåç
§ããŠãã ããã
ãŠãŒã¶ãŒã㌠New Relic ã®ãŠãŒã¶ãŒã㌠("åäººçš API ããŒãšåŒã°ããããšããããŸã)" ã¯ã NerdGraph ãšåŒç€Ÿã® REST API ã䜿çšããéã«å¿
èŠã§ãã
ãŠãŒã¶ãŒã㌠ç¹å®ã® New Relic ãŠãŒã¶ãŒã«é¢é£ä»ããããŠããã転éã§ããŸããã ãŠãŒã¶ãŒ ããŒã䜿çšãããšãããŒãé¢é£ä»ããããŠããç¹å®ã®ã¢ã«ãŠã³ãã ãã§ãªããã¢ã¯ã»ã¹ãèš±å¯ãããŠãããã¹ãŠã®ã¢ã«ãŠã³ãã«å¯ŸããŠã¯ãšãªãå®è¡ã§ããŸãã New Relic ãŠãŒã¶ãŒã New Relic ã§åé€ããããšããã®ãŠãŒã¶ãŒ ããŒãéã¢ã¯ãã£ãåãããæ©èœããªããªããŸãã
ãŠãŒã¶ãŒ ããŒã¯ããŠãŒã¶ãŒã«è€æ°ã®ã¢ã«ãŠã³ããžã®ã¢ã¯ã»ã¹ãæäŸããŸããããŠãŒã¶ãŒ ããŒã¯åäžã®ç¹å®ã®ã¢ã«ãŠã³ããã€ãŸãããŒã®äœæå
ã®ã¢ã«ãŠã³ãã«ãªã³ã¯ãããŸããããã®éèŠãªç¹ã¯ãã¢ã«ãŠã³ããåé€ããããšããã®ã¢ã«ãŠã³ãã«é¢é£ä»ãããããŠãŒã¶ãŒ ããŒãæ©èœããªããªãããšã§ãã(ãŸããREST API ã®å ŽåãåŒã³åºãã¯ãã®ãŠãŒã¶ãŒ ããŒã«é¢é£ä»ããããã¢ã«ãŠã³ãã«å¶éãããŸãã)
ãŠãŒã¶ãŒããŠãŒã¶ãŒ ããŒã衚瀺ãŸãã¯ç®¡çã§ããªãããã«ããã«ã¯ããããã®æš©éãæããªãããŒã«ããŠãŒã¶ãŒ ã«å²ãåœãŠãŸãã æ°ãããŠãŒã¶ãŒã¢ãã« ã
äžèšã§èª¬æããäž»èŠãª API ããŒã«å ããŠãäžéšã® New Relic ã®ã客æ§ããŸã 䜿çšããŠããå€ã API ããŒãä»ã«ãããã€ããããŸãããããã®ããŒããŸã 䜿çšããŠããªãå Žåã¯ãããããéå§ããå¿
èŠã¯ãããŸããã
ãã®ä»ã® API ã㌠ã€ã³ãµã€ãã€ã³ãµãŒãããŒïŒéæšå¥šïŒ éèŠ ãã®ããŒã¯ãŸã 䜿çšãããŠããŸãããåãç®çããã以äžã®ç®çã«äœ¿çšã§ããã©ã€ã»ã³ã¹ã㌠ã䜿çšããããšã匷ããå§ãããŸãã
ããŒã¿ã®åã蟌ã¿ã«äœ¿çšãããå€ãNewRelicAPIããŒã®1ã€ã¯ãInsightsæ¿å
¥ããŒïŒæ¿å
¥ããŒãšãåŒã°ããŸãïŒã§ããã©ã€ã»ã³ã¹ããŒã¯åãæ©èœãªã©ã«äœ¿çšãããããšã«æ³šæããŠãã ããããã®ããããã®ããŒãããã©ã€ã»ã³ã¹ããŒããå§ãããŸãã
ãã®ããŒã¯ãåœç€Ÿã® Event API ã Log API ã Metric API ãããã³ Trace API ããŸãã¯ãããã® API ã䜿çšããçµ±åãçµç±ããŠããŒã¿ãåã蟌ãããã«äœ¿çšãããŸãã
空ãç¶æ³ãã¢ã¯ã»ã¹ã«é¢ãããã³ã
ãããã®ããŒã¯ãç¹å®ã®ãŠãŒã¶ãŒã§ã¯ãªãã¢ã«ãŠã³ãã«é¢é£ä»ããããŠãããããããŒã«ã¢ã¯ã»ã¹ã§ããã¢ã«ãŠã³ãã®èª°ãã䜿çšããããšãã§ããŸãã
ã»ãã¥ãªãã£ã®ããã®ãã¹ããã©ã¯ãã£ã¹ãšããŠãã¢ããªã±ãŒã·ã§ã³ãããŒã¿ãœãŒã¹ããšã«ç°ãªãInsightsã®æ¿å
¥ããŒã䜿çšããããšããå§ãããŸãã
ã€ã³ãµã€ãæ¿å
¥ããŒãæ€çŽ¢ããŠç®¡çããã«ã¯:ãŠãŒã¶ãŒ ã¡ãã¥ãŒ ãããAPI keys ãã¯ãªãã¯ããŸã ( APIã㌠ããŒãžãžã®çŽæ¥ãªã³ã¯ ãååŸããŸã)ã 次ã«ã Insights insert keys ãã¯ãªãã¯ããŸãã
ã€ã³ãµã€ãã®ã¯ãšãªãŒããŒïŒéæšå¥šïŒ 管çããŒ(éæšå¥š) adminããŒã¯ãå»æ¢ãããå€ãAPIããŒã®1ã€ã§ãã 2020幎12æ4æ¥ã®æç¹ã§ãæ¢åã®ãã¹ãŠã®ç®¡çè
ããŒããŠãŒã¶ãŒããŒã«ç§»è¡ãããŠããŸãã
管çè
ããŒã䜿çšããŠããå Žåããã®ããŒãæå¹ã«ããããã«äœãããå¿
èŠã¯ãããŸãããAPIããŒã®UIããèªåçã«ã¢ã¯ã»ã¹ã§ããããã«ãªãããŠãŒã¶ãŒããŒãšããŠã©ãã«ä»ããããåãããŒããã·ã§ã³ãä»äžãããŸãããŠãŒã¶ãŒããŒãšåãããã«ãåãã¯ãŒã¯ãããŒã§ç®¡çããããšãã§ããŸãã
移è¡ããããã¹ãŠã®ç®¡çããŒã«ã¯ãã㌠ããŒãã«ã«Migrated from an admin user key ãšããã¡ã¢ãä»ããŸãã
REST APIããŒïŒéæšå¥šïŒ REST APIããŒã¯ãREST API 䜿çšããããã®å€ãããŒã§ãã çŸåšãREST APIããŒã®ä»£ããã«ãŠãŒã¶ãŒ ããŒã䜿çšããããšããå§ãããŸãã ãŠãŒã¶ãŒã¯ã¢ã«ãŠã³ãåºæã§ã¯ãªããŠãŒã¶ãŒåºæã§ãããããçµç¹ã¯ããŒã ã¡ã³ããŒã®ã¢ã¯ã»ã¹ããã现ããå¶åŸ¡ã§ããŸãã ãŸããREST API ã®ä»£ããã«ãæ°ãã API ã§ããNerdGraph ã 䜿çšããããšããå§ãããŸãã
èæ
®ãã¹ãããš
åNew Relicã¢ã«ãŠã³ã㯠one åã® REST APIããŒã®ã¿ãæã€ããšãã§ããŸãã
RESTAPIããŒã®ä»£ããã«ãŠãŒã¶ãŒããŒã䜿çšããããšããå§ãããŸãã
å¯èœã§ããã°ãREST API ãã NerdGraph ã䜿çšããããšããå§ãããŸãã
管çè
ã¬ãã«ã®ãŠãŒã¶ãŒæš©éãå¿
èŠã§ãã RESTAPIããŒãŸãã¯RESTAPIãšã¯ã¹ãããŒã©ãŒã«ã¢ã¯ã»ã¹ã§ããªãå Žåã¯ãæš©éããªãããšãåå ã§ããå¯èœæ§ããããŸãã New Relicã¢ã«ãŠã³ããããŒãžã£ãŒã«çžè«ãããã代ããã«ãŠãŒã¶ãŒããŒã䜿çšããŠãã ããã
REST APIããŒãèŠã€ããŠç®¡çããã«ã¯:ãŠãŒã¶ãŒ ã¡ãã¥ãŒ ãã API keys ãã¯ãªãã¯ããŸã ( APIã㌠ããŒãžãžã®çŽæ¥ãªã³ã¯ ãååŸããŸã)ã 次ã«ã REST API key ãã¯ãªãã¯ããŸãã APIããŒãèšå®ãŸãã¯åé€ããåã«ãæ£ããã¢ã«ãŠã³ãã«å¯ŸããŠå®è¡ããŠããããšã確èªããŠãã ããã