UDP based profiling
From Wikitech
(Difference between revisions)
(update) |
|||
| Line 1: | Line 1: | ||
| + | == What and Where == | ||
# $wgProfiler = new ProfilingSimpleUDP; (in index or Settings) | # $wgProfiler = new ProfilingSimpleUDP; (in index or Settings) | ||
| − | # $wgUDPProfilerHost = ' | + | # $wgUDPProfilerHost = '10.0.6.30'; (in Settings) |
| − | # /usr/ | + | # running on professor: |
| − | + | #* /usr/udpprofile/sbin/collector [http://svn.wikimedia.org/viewvc/mediawiki/trunk/udpprofile/ svn root] | |
| − | # [http://noc.wikimedia.org/cgi-bin/report.py web interface] | + | #** 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 | ||
| + | # [http://graphite.wikimedia.org/dashboard graphite based web interface - uses labs ldap for auth] | ||
| + | # [http://noc.wikimedia.org/cgi-bin/report.py aggregate report web interface] | ||
#* [http://svn.wikimedia.org/viewvc/mediawiki/trunk/udpprofile/web/ svn root] | #* [http://svn.wikimedia.org/viewvc/mediawiki/trunk/udpprofile/web/ svn root] | ||
[[Category:Services]] | [[Category:Services]] | ||
Revision as of 22:27, 1 December 2011
What and Where
- $wgProfiler = new ProfilingSimpleUDP; (in index or Settings)
- $wgUDPProfilerHost = '10.0.6.30'; (in Settings)
- 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
- /usr/udpprofile/sbin/collector svn root
- graphite based web interface - uses labs ldap for auth
- aggregate report web interface