Upgrade to Pro — share decks privately, control downloads, hide ads and more …

AdServer Casual Monitoring by fluentd, Mackerel

Takumi KANZAKI
November 10, 2015

AdServer Casual Monitoring by fluentd, Mackerel

Fashion Tech meetup #1 LT

Takumi KANZAKI

November 10, 2015
Tweet

More Decks by Takumi KANZAKI

Other Decks in Technology

Transcript

  1. Me • Takumi Kanzaki (@tknzk) • VASILY Inc. Backend Engineer

    • 2015.04~ • iQONADΛϝΠϯͰ୲౰ 2 VASILY Inc. 2015
  2. iQONAD • software, middleware • Ruby, Rails, sinatra • MySQL,

    memcached, Redis • infra • EC2, RDS • docker, Elasticbeanstalk (2015.06~) • auto-scaling 4 VASILY Inc. 2015
  3. fluentd • Fluentd is an open source data collector for

    unified logging layer. 10 VASILY Inc. 2015
  4. fluent-plugin-datacounter • ಛఆͷkeyͷ਺ΛಛఆͷִؒͰूܭͯ͘͠ΕΔ <store> type datacounter count_interval 1m count_key publisher_id

    aggregate all tag stats.delivery.publisher pattern1 publisher_id_1 ^1$ pattern2 publisher_id_2 ^2$ pattern3 publisher_id_3 ^3$ pattern4 publisher_id_4 ^4$ </store> 13 VASILY Inc. 2015
  5. fluent-plugin-mackerel <match stats.delivery.publisher> type mackerel api_key MACKEREL_API_KEY service iqon-ad metrics_name

    ad_server_delivery_publisher.${out_key} out_keys unmatched_count,publisher_id_1_count,publisher_id_2_count,publisher_id_3_count,publisher_id_4_count </match> 14 VASILY Inc. 2015