Browse Source

Rename celery.monitoring -> celery.statistics (will probably be removed in the end)

Ask Solem 15 years ago
parent
commit
4cdc709a6d

+ 1 - 1
celery/execute.py

@@ -10,7 +10,7 @@ from celery.exceptions import RetryTaskError
 from celery.datastructures import ExceptionInfo
 from celery.backends import default_backend
 from celery.loaders import current_loader
-from celery.monitoring import TaskTimerStats
+from celery.statistics import TaskTimerStats
 from celery import signals
 import sys
 import inspect

+ 1 - 1
celery/management/commands/celerystats.py

@@ -4,7 +4,7 @@ Start the celery daemon from the Django management command.
 
 """
 from django.core.management.base import BaseCommand
-from celery.monitoring import StatsCollector
+from celery.statistics import StatsCollector
 
 
 class Command(BaseCommand):

+ 0 - 0
celery/monitoring.py → celery/statistics.py


+ 1 - 1
celery/tests/test_monitoring.py → celery/tests/test_statistics.py

@@ -1,7 +1,7 @@
 from __future__ import with_statement
 import unittest
 import time
-from celery.monitoring import TaskTimerStats, Statistics, StatsCollector
+from celery.statistics import TaskTimerStats, Statistics, StatsCollector
 from carrot.connection import DjangoBrokerConnection
 from celery.messaging import StatsConsumer
 from celery.tests.utils import override_stdouts