Show More
@@ -33,7 +33,7 b' To run celery beats scheduling:' | |||||
33 |
|
33 | |||
34 | celery beat -A appenlight.celery --ini=development.ini |
|
34 | celery beat -A appenlight.celery --ini=development.ini | |
35 |
|
35 | |||
36 | You should also run the channelstream websocket server for real-time notifications |
|
36 | You should also run the `channelstream websocket server for real-time notifications | |
37 |
|
37 | |||
38 | channelstream -i filename.ini |
|
38 | channelstream -i filename.ini | |
39 |
|
39 |
@@ -35,7 +35,7 b' from appenlight.models.report_group import ReportGroup' | |||||
35 | from appenlight.models import DBSession, Datastores |
|
35 | from appenlight.models import DBSession, Datastores | |
36 | from appenlight.models.report import Report |
|
36 | from appenlight.models.report import Report | |
37 | from appenlight.models.log import Log |
|
37 | from appenlight.models.log import Log | |
38 |
from appenlight.models. |
|
38 | from appenlight.models.metric import Metric | |
39 | from appenlight.models.event import Event |
|
39 | from appenlight.models.event import Event | |
40 |
|
40 | |||
41 | from appenlight.models.services.application import ApplicationService |
|
41 | from appenlight.models.services.application import ApplicationService |
@@ -106,7 +106,7 b' from appenlight.models.application import Application' | |||||
106 | from appenlight.models.user import User |
|
106 | from appenlight.models.user import User | |
107 | from appenlight.models.alert_channel import AlertChannel |
|
107 | from appenlight.models.alert_channel import AlertChannel | |
108 | from appenlight.models.alert_channel_action import AlertChannelAction |
|
108 | from appenlight.models.alert_channel_action import AlertChannelAction | |
109 |
from appenlight.models. |
|
109 | from appenlight.models.metric import Metric | |
110 | from appenlight.models.application_postprocess_conf import \ |
|
110 | from appenlight.models.application_postprocess_conf import \ | |
111 | ApplicationPostprocessConf |
|
111 | ApplicationPostprocessConf | |
112 | from appenlight.models.auth_token import AuthToken |
|
112 | from appenlight.models.auth_token import AuthToken |
1 | NO CONTENT: file renamed from backend/src/appenlight/models/request_metric.py to backend/src/appenlight/models/metric.py |
|
NO CONTENT: file renamed from backend/src/appenlight/models/request_metric.py to backend/src/appenlight/models/metric.py |
@@ -38,7 +38,7 b' from appenlight.models.report import Report' | |||||
38 | from appenlight.models.report_stat import ReportStat |
|
38 | from appenlight.models.report_stat import ReportStat | |
39 | from appenlight.models.log import Log |
|
39 | from appenlight.models.log import Log | |
40 | from appenlight.models.slow_call import SlowCall |
|
40 | from appenlight.models.slow_call import SlowCall | |
41 |
from appenlight.models. |
|
41 | from appenlight.models.metric import Metric | |
42 |
|
42 | |||
43 |
|
43 | |||
44 | log = logging.getLogger(__name__) |
|
44 | log = logging.getLogger(__name__) |
@@ -799,7 +799,7 b' class TestAPIGeneralMetricsView(object):' | |||||
799 |
|
799 | |||
800 | def test_single_json_payload(self): |
|
800 | def test_single_json_payload(self): | |
801 | import appenlight.tests.payload_examples as payload_examples |
|
801 | import appenlight.tests.payload_examples as payload_examples | |
802 |
from appenlight.models. |
|
802 | from appenlight.models.metric import Metric | |
803 | from appenlight.views.api import general_metrics_create |
|
803 | from appenlight.views.api import general_metrics_create | |
804 | from appenlight.models.services.application import ApplicationService |
|
804 | from appenlight.models.services.application import ApplicationService | |
805 | route = mock.Mock() |
|
805 | route = mock.Mock() | |
@@ -818,7 +818,7 b' class TestAPIGeneralMetricsView(object):' | |||||
818 |
|
818 | |||
819 | def test_multiple_json_payload(self): |
|
819 | def test_multiple_json_payload(self): | |
820 | import appenlight.tests.payload_examples as payload_examples |
|
820 | import appenlight.tests.payload_examples as payload_examples | |
821 |
from appenlight.models. |
|
821 | from appenlight.models.metric import Metric | |
822 | from appenlight.views.api import general_metrics_create |
|
822 | from appenlight.views.api import general_metrics_create | |
823 | from appenlight.models.services.application import ApplicationService |
|
823 | from appenlight.models.services.application import ApplicationService | |
824 | route = mock.Mock() |
|
824 | route = mock.Mock() |
General Comments 0
You need to be logged in to leave comments.
Login now