git checkout origin/master -- api/routes.tsgit checkout BranchB
git merge BranchA| def get_request_from_user(): | |
| payload = { | |
| metric_name: 'xyz', | |
| value: 1 | |
| } | |
| # Add payload to the queue | |
| # which would we picked up by the worker to flush metric | |
| add_job_to_metrics_flush_worker(payload) |
| from app.lib.metrics import Summary, Counter, Guage, Profile | |
| MEASURE_DEMO_TASK = Profile( | |
| name = 'demo_task', | |
| documentation = 'Measure throughput, latency and errors for demo task', | |
| namespace = 'manage.project' | |
| ) | |
| class DemoTaskHandler(TaskHandler): |