How to use Application Insights on Rails Application?
How to use?
•îx2016åtGÄ {Mo‡`h
•https://matcu.hatenablog.com/entry/2016/10/13/223402
•> sxRuby on Rails›–MhMwpbUzîxMicrosoft mYwgemUK“‡
b{
•> ~~~pbUz\•~~~
•> Ruby 1.9.3 is currently supported by this gem.
•qK”œpb‘v{
•pÌx¬ÜaŒsM Ruby 2.0 or laterw‹w›b;`h
•https://github.com/citrusbyte/appinsights
How to use?
•q‘t¬Ü›_oˆ‡`h
•https://github.com/Microsoft/ApplicationInsights-Ruby
•> Ruby 1.9.3 and above are currently supported by this
gem.
•SzÍ딞¿Ó`o”‚
•qMO\qpz¬ÜGempRails鬛®¿Ä`hMq¥M
‡b
How to use?
•Application Insights›^R
•Application TypexGeneralp
•‡iJapan EastsTlh…
•¢Ro”’`MpbZr£
How to use?
•INSTRUMENTATION KEYqMO‹w› ˜
•https://github.com/Microsoft/ApplicationInsights-Home/
wiki#getting-an-application-insights-instrumentation-key
•hØUŠjŒyM~~~
•Configure > Properties
How to use?
•t‹~~~
•Ú™w ÕïĤå”èŒDó
•tc = ApplicationInsights::TelemetryClient.new
'<INSTRUMENTATION KEY>'
•tc.track_event 'this action is posts#index’
•tc.track_exception e
•tc.flush