Skip to content

Instantly share code, notes, and snippets.

Analyzing Heap (Generation: all)
-------------------------------
allocated by memory (177678295) (in bytes)
==============================
27756417 /var/app/vendor/bundle/ruby/2.3.0/gems/activesupport-5.1.4/lib/active_support/dependencies.rb:292
5590578 /var/app/vendor/bundle/ruby/2.3.0/gems/activesupport-5.1.4/lib/active_support/core_ext/marshal.rb:4
4319280 /var/app/vendor/bundle/ruby/2.3.0/gems/activesupport-5.1.4/lib/active_support/core_ext/class/attribute.rb:90
4200704 /var/app/vendor/bundle/ruby/2.3.0/gems/cassandra-driver-3.2.2/lib/cassandra/executors.rb:75
Analyzing Heap (Generation: all)
-------------------------------
allocated by memory (349764846) (in bytes)
==============================
127663206 /var/app/vendor/bundle/ruby/2.3.0/gems/maxminddb-0.1.8/lib/maxminddb.rb:19
27812806 /var/app/vendor/bundle/ruby/2.3.0/gems/activesupport-5.1.4/lib/active_support/dependencies.rb:292
10500960 /var/app/vendor/bundle/ruby/2.3.0/gems/concurrent-ruby-1.0.5/lib/concurrent/executor/ruby_thread_pool_executor.rb:317
5674010 /var/app/vendor/bundle/ruby/2.3.0/gems/activesupport-5.1.4/lib/active_support/core_ext/marshal.rb:4
@okhwaja
okhwaja / loggly-format.conf
Last active November 18, 2016 00:18
Loggly syslog tag regex for docker containers
# Documentation: http://www.rsyslog.com/doc/v5-stable/configuration/property_replacer.html
# Helpful testing tool: http://www.rsyslog.com/regex/
$template LogglyFormat,"<%pri%>%protocol-version% %timestamp:::date-rfc3339% %HOSTNAME% %app-name% %procid% %msgid% [<token>@<port> tag=\"%syslogtag:R,ERE,1,ZERO,0:docker\/([^[]+)\[--end%\"] %msg%\n"