Title: StatsD WordPress Client
Author: Aaron Edwards
Published: <strong>29 آوریل 2014</strong>
Last modified: 18 آگوست 2020

---

جستجوی افزونه‌ها

![](https://ps.w.org/statsd/assets/banner-772x250.jpg?rev=905061)

این افزونه **با ۳ نگارش عمدهٔ اخیر وردپرس آزمایش نشده است**. ممکن است دیگر نگهداری
یا پشتیبانی نشود و هنگام استفاده با نگارش‌های تازه‌تر وردپرس مشکل سازگاری داشته 
باشد.

![](https://s.w.org/plugins/geopattern-icon/statsd_131313.svg)

# StatsD WordPress Client

 توسط [Aaron Edwards](https://profiles.wordpress.org/uglyrobot/)

[دانلود](https://downloads.wordpress.org/plugin/statsd.0.2.zip)

 * [جزئیات](https://fa.wordpress.org/plugins/statsd/#description)
 * [نقد و بررسی‌ها](https://fa.wordpress.org/plugins/statsd/#reviews)
 *  [نصب](https://fa.wordpress.org/plugins/statsd/#installation)
 * [توسعه](https://fa.wordpress.org/plugins/statsd/#developers)

 [پشتیبانی](https://wordpress.org/support/plugin/statsd/)

## توضیحات

For live environment no-latency massively-scalable application metric tracking and
code profiling via [Etsy’s StatsD](http://codeascraft.com/2011/02/15/measure-anything-measure-everything/)
+ Graphite.

Tracks everything in WordPress and Multisite:

 * Logins (success, fails, logout)
 * Password resets (attempts/successes)
 * User count (guage)
 * Users (registrations, spam, ham)
 * Posting (publish, trash, delete)
 * Commenting (received, approved, trashed, spam, unspam)
 * Attachments (Add, edit, delete)
 * XML-RPC (every command individually, you can rollup)
 * Multisite blog count (guage)
 * Multiiste blog actions (new, spam, ham, archive, unarchive, delete, undelete)
 * Page generation times
 * Query count (type + time when SAVEQUERIES defined)
 * Remote HTTP requests (count, time – by host)
 * WP Cron calls
 * WP Emails
 * and more!

Requires [StatsD](https://github.com/etsy/statsd) on localhost or a server on your
private network.

You can also call the $statsd global class in other plugin/theme code for instant
tracking of any application metric. See API usage instructions: https://github.com/
domnikl/statsd-php/blob/develop/README.md

Contribute at [GitHub](https://github.com/uglyrobot/wordpress-statsd).

### To Do

Want to implement batch collection and send of metrics via one or minimal UDP packets
required based on connection time.

## عکس‌های صفحه

[⌊Example dashboard created in Graphite with data collected from this plugin.⌉⌊Example
dashboard created in Graphite with data collected from this plugin.⌉[

Example dashboard created in Graphite with data collected from this plugin.

[⌊Track any other application stat in your WordPress site with 1 line of code in
your plugin/theme.⌉⌊Track any other application stat in your WordPress site with
1 line of code in your plugin/theme.⌉[

Track any other application stat in your WordPress site with 1 line of code in your
plugin/theme.

## نصب

 1. Install [StatsD](https://github.com/etsy/statsd) on localhost or a server on your
    private network.
 2. If StatsD is not on localhost, define the local daemon IP in wp-config.php: `define('
    STATSD_IP', 'x.x.x.x' );`
 3. Install the plugin
 4. Activate or Network Activate on multisite
 5. That’s it!

See the FAQ for more advanced configuration.

## سوالات متداول

By default the parent namespace used for stats is “yourdomain_yourpath.wordpress._”
where yourdomain\_yourpath would be “www\_domain\_com\_blog” if your site is http://
www.domain.com/blog/. You can override the parent namespace via the `define('STATSD\
_NAMESPACE', 'mysite.myserver');` define in wp-config.php. This one is very important,
controls how it shows up in Graphite stats.
 This should be segmented, left to right
general to specific. All “.” trigger segments. For example: applicationname.server
like ‘wpmudev.app1’ or ‘edublogs.web4’. That allows for drilling down, but can still
wrapup in graphs with ‘edublogs.‘ etc.

Can also be run as an mu-plugin by dropping statsd.php in `/wp-content/mu-plugins/`.

If needed you can overide the default UDP port of 8125 via `define('STATSD_PORT',
xxxx);` define.

If you have a very high traffic site you can lower the default 0.5 sample rate for
per-pageload calls via `STATSD_SAMPLE_RATE`.

If you don’t want to send HTTP metrics per page URL, you can disable this via SKIP_URL_METRICS

Contribute at [GitHub](https://github.com/uglyrobot/wordpress-statsd).

## نقد و بررسی‌ها

![](https://secure.gravatar.com/avatar/76b74b052c98504b5989e983d0c5fbe671c1535ec3b01024f520f0709cb9b2d9?
s=60&d=retro&r=g)

### 󠀁[Proven to work well](https://wordpress.org/support/topic/proven-to-work-well/)󠁿

 [WPMU DEV – Your All-in-One WordPress Platform](https://profiles.wordpress.org/wpmudev/)
3 سپتامبر 2016

We use on hundreds of high traffic websites and it’s quite useful for monitoring
and debugging.

 [ خواندن تمامی 1 نقد و بررسی‌ ](https://wordpress.org/support/plugin/statsd/reviews/)

## توسعه دهندگان و همکاران

“StatsD WordPress Client” نرم افزار متن باز است. افراد زیر در این افزونه مشارکت 
کرده‌اند.

مشارکت کنندگان

 *   [ Aaron Edwards ](https://profiles.wordpress.org/uglyrobot/)

[ترجمه “StatsD WordPress Client” به زبان شما.](https://translate.wordpress.org/projects/wp-plugins/statsd)

### علاقه‌ مند به توسعه هستید؟

[کد را مرور کنید](https://plugins.trac.wordpress.org/browser/statsd/)، [مخزن SVN](https://plugins.svn.wordpress.org/statsd/)
را بررسی کنید، یا از طریق [RSS](https://plugins.trac.wordpress.org/log/statsd/?limit=100&mode=stop_on_copy&format=rss)
در [گزارش توسعه](https://plugins.trac.wordpress.org/log/statsd/) مشترک شوید.

## گزارش تغییرات

#### 0.2

 * Ability to disable per url metrics for HTTP calls via SKIP_URL_METRICS define–
   props @Sophie Haskins

#### 0.1

 * Initial Release

## اطلاعات

 *  نگارش **0.2**
 *  آخرین به‌روزرسانی **6 سال پیش**
 *  نصب‌های فعال **10+**
 *  نگارش وردپرس ** 3.7 یا بالاتر **
 *  آزمایش‌شده تا **4.6.30**
 *  زبان
 * [English (US)](https://wordpress.org/plugins/statsd/)
 * برچسب
 * [graphite](https://fa.wordpress.org/plugins/tags/graphite/)[metrics](https://fa.wordpress.org/plugins/tags/metrics/)
   [multisite](https://fa.wordpress.org/plugins/tags/multisite/)[stats](https://fa.wordpress.org/plugins/tags/stats/)
 *  [نمایش پیشرفته](https://fa.wordpress.org/plugins/statsd/advanced/)

## امتیازها

 5 از 5 ستاره.

 *  [  امتیاز 1 5-ستاره     ](https://wordpress.org/support/plugin/statsd/reviews/?filter=5)
 *  [  امتیاز 0 4-ستاره     ](https://wordpress.org/support/plugin/statsd/reviews/?filter=4)
 *  [  امتیاز 0 3-ستاره     ](https://wordpress.org/support/plugin/statsd/reviews/?filter=3)
 *  [  امتیاز 0 2-ستاره     ](https://wordpress.org/support/plugin/statsd/reviews/?filter=2)
 *  [  امتیاز 0 1-ستاره     ](https://wordpress.org/support/plugin/statsd/reviews/?filter=1)

[Your review](https://wordpress.org/support/plugin/statsd/reviews/#new-post)

[مشاهده همه بررسی‌ها](https://wordpress.org/support/plugin/statsd/reviews/)

## مشارکت کنندگان

 *   [ Aaron Edwards ](https://profiles.wordpress.org/uglyrobot/)

## پشتیبانی

چیزی برای گفتن دارید؟ نیاز به کمک دارید؟

 [مشاهده انجمن پشتیبانی](https://wordpress.org/support/plugin/statsd/)