Update Stats Collection documentation

`pages_crawled` value doesn't exist. Replace it with `downloader/response_count` in order to avoid confusion.
This commit is contained in:
Ralph Gutkowski 2016-01-15 19:00:58 +01:00
parent 57f99fc34e
commit bb38400db5
1 changed files with 3 additions and 3 deletions

View File

@ -47,7 +47,7 @@ Set stat value::
Increment stat value::
stats.inc_value('pages_crawled')
stats.inc_value('downloader/response_count')
Set stat value only if greater than previous::
@ -59,13 +59,13 @@ Set stat value only if lower than previous::
Get stat value::
>>> stats.get_value('pages_crawled')
>>> stats.get_value('downloader/response_count')
8
Get all stats::
>>> stats.get_stats()
{'pages_crawled': 1238, 'start_time': datetime.datetime(2009, 7, 14, 21, 47, 28, 977139)}
{'downloader/response_count': 1238, 'start_time': datetime.datetime(2009, 7, 14, 21, 47, 28, 977139)}
Available Stats Collectors
==========================