今日の記事

別エントリにまとめました 愚直なコードを書けって話 - hirony3’s blog

最近やっと多少勉強に前向きになったので、こういう記事も心安く読めるよ。それまではむしろ嫌悪傾向でした...。

StackOverflow Developer Survey 2017 から。

  1. オンラインコース
  2. 本を買ってエクササイズをやる
  3. 半日コース
  4. オープンソースに貢献
  5. コーディングブートキャンプ
  6. オンライン協議会
  7. カンファレンス/ミートアップ
  8. ハッカソン
  9. blogを書く

どれが向いてるかは人によるかなと。 音楽機器ながらが良いならそれで良いし。

ざっと見てみたけど、一番見たかった "Examples of common goals both teams can agree on." をズバッと説明してるスライド的なものはみつけられなかった。

アメリカ人も元々はマニュアルが好きだったのか。

あと、 stick shift = manual transmission って意味なんだね。

良さげなリストだったので。

log aggregation は metrics aggregation とはちょっと性格がちがうぜ

あんま time-series data は得意じゃない

event data 収集にはよい

Rule for logging:

  • DO include a timestamp
  • DO format in JSON
  • DON’T log insignificant events
  • DO log all application errors
  • MAYBE log warnings
  • DO turn on logging
  • DO write messages in a human-readable form
  • DON’T log informational data in production
  • DON’T log anything a human can’t read or react to

3つのツール

  • ELK

Elasticsearch, Logstash, and Kibana
LをFluentdに替えるのも定番(下記)
Kibanaはすげー良いけど、アラート機能がないのが欠点

  • Graylog

Go言語界隈で人気
Elasticsearch, MongoDB, and the Graylog Server
アラート機能あり
streamingがイケてる
geolocationもイケてる

  • Fluentd

CとRuby AWSとGoogleCloudで推奨
Logstashの代替にするのが定番(上記)
プラグインが500以上もあるので、どれかはあなたの使い方にマッチするだろ
もしなければOSSに貢献!