UDP based profiling

From Wikitech
Revision as of 22:27, 1 December 2011 by Afeldman (Talk | contribs)

Jump to: navigation, search

What and Where

  1. $wgProfiler = new ProfilingSimpleUDP; (in index or Settings)
  2. $wgUDPProfilerHost = '10.0.6.30'; (in Settings)
  3. running on professor:
    • /usr/udpprofile/sbin/collector svn root
      • listens on udp:3811 for profiling packets, provides xml dumps on tcp:3811
    • /usr/udpprofile/sbin/profiler-to-carbon
      • polls collector every minute, inserts count and timing (in ms) data into whisper db's
    • /opt/graphite/bin/carbon-cache.py
      • updates whisper db files for graphite
  4. graphite based web interface - uses labs ldap for auth
  5. aggregate report web interface
Personal tools
Namespaces

Variants
Actions
Navigation
Ops documentation
Wiki
Toolbox