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