| RT | Created | Time in Triage | Client | Subject |
|---|---|---|---|---|
| 55804 | 02 Sep, 03:41 | 0 | AskBio | CRITICAL: System Health: Systemd State on edb-coll.askbio.com |
| 55806 | 02 Sep, 08:23 | 0h 00m | eTherapeutics | WARNING: Cloud: Azure Credential: GitLab on azure.etherapeutics.co.uk |
| 55807 | 02 Sep, 08:35 | 0h 01m | Azura | ocado2.opentrk.com networking timeouts |
| 55808 | 02 Sep, 13:49 | 0h 01m | ERF Electrical | weblive.erfelectrical.co.uk erfelectrical.co.uk HTTPS timeout |
| 55809 | 02 Sep, 14:17 | 0h 06m | Imoves | Fwd: Your payment to Tiger Computing Ltd has failed |
| 55810 | 02 Sep, 14:38 | 0h 28m | Kahootz | Question on Borg |
git hash: master (e5dfff88)
Current Site Packages Directory:
/app/.venv/lib/python3.14/site-packages
| Package | Version | Homepage | Summary |
|---|---|---|---|
| alchemical | 1.0.2 | None | Modern SQLAlchemy simplified |
| alembic | 1.17.2 | None | A database migration tool for SQLAlchemy. |
| annotated-types | 0.7.0 | None | Reusable constraint types to use with typing.Annotated |
| anyio | 4.11.0 | None | High-level concurrency and networking framework on top of asyncio or Trio |
| asttokens | 3.0.1 | https://github.com/gristlabs/asttokens | Annotate AST trees with source code positions |
| backoff | 2.2.1 | https://github.com/litl/backoff | Function decoration for backoff and retry |
| blinker | 1.9.0 | None | Fast, simple object-to-object and broadcast signaling |
| Bootstrap-Flask | 2.5.0 | None | Bootstrap 4 & 5 helper for your Flask projects. |
| certifi | 2025.11.12 | https://github.com/certifi/python-certifi | Python package for providing Mozilla's CA Bundle. |
| charset-normalizer | 3.4.4 | None | The Real First Universal Charset Detector. Open, modern and actively maintained alternative to Chardet. |
| click | 8.3.1 | None | Composable command line interface toolkit |
| colorlog | 6.10.1 | https://github.com/borntyping/python-colorlog | Add colours to the output of Python's logging module. |
| decorator | 5.2.1 | None | Decorators for Humans |
| executing | 2.2.1 | https://github.com/alexmojaki/executing | Get the currently executing AST node of a frame, and other information |
| Flask | 3.1.2 | None | A simple framework for building complex web applications. |
| Flask-DebugToolbar | 0.16.0 | None | A toolbar overlay for debugging Flask applications. |
| Flask-DebugToolbar-LineProfilerPanel | 1.0.2 | https://github.com/phleet/flask_debugtoolbar_lineprofilerpanel | Panel for the Flask Debug toolbar to capture and view line-by-line profiling stats |
| Flask-Migrate | 4.1.0 | None | SQLAlchemy database migrations for Flask applications using Alembic. |
| Flask-SQLAlchemy | 3.1.1 | None | Add SQLAlchemy support to your Flask application. |
| Flask-WTF | 1.2.2 | None | Form rendering, validation, and CSRF protection for Flask with WTForms. |
| freezegun | 1.5.5 | https://github.com/spulec/freezegun | Let your Python tests travel through time |
| gql | 4.0.0 | https://github.com/graphql-python/gql | GraphQL client for Python |
| graphql-core | 3.2.7 | https://github.com/graphql-python/graphql-core | GraphQL implementation for Python, a port of GraphQL.js, the JavaScript reference implementation for GraphQL. |
| greenlet | 3.2.4 | https://greenlet.readthedocs.io/ | Lightweight in-process concurrent programming |
| gunicorn | 23.0.0 | None | WSGI HTTP Server for UNIX |
| h11 | 0.16.0 | https://github.com/python-hyper/h11 | A pure-Python, bring-your-own-I/O implementation of HTTP/1.1 |
| httpcore | 1.0.9 | None | A minimal low-level HTTP client. |
| httpx | 0.28.1 | None | The next generation HTTP client. |
| idna | 3.11 | None | Internationalized Domain Names in Applications (IDNA) |
| ilock | 1.0.3 | https://github.com/symonsoft/ilock | Inter-process named lock library |
| ipython | 9.8.0 | None | IPython: Productive Interactive Computing |
| ipython_pygments_lexers | 1.1.1 | None | Defines a variety of Pygments lexers for highlighting IPython code. |
| itsdangerous | 2.2.0 | None | Safely pass data to untrusted environments and back. |
| jedi | 0.19.2 | https://github.com/davidhalter/jedi | An autocompletion tool for Python that can be used for text editors. |
| Jinja2 | 3.1.6 | None | A very fast and expressive template engine. |
| librt | 0.6.2 | None | Mypyc runtime library |
| line_profiler | 5.0.0 | https://github.com/pyutils/line_profiler | Line-by-line profiler |
| Mako | 1.3.10 | https://www.makotemplates.org/ | A super-fast templating language that borrows the best ideas from the existing templating languages. |
| MarkupSafe | 3.0.3 | None | Safely add untrusted strings to HTML/XML markup. |
| matplotlib-inline | 0.2.1 | None | Inline Matplotlib backend for Jupyter |
| multidict | 6.7.0 | https://github.com/aio-libs/multidict | multidict implementation |
| mypy | 1.19.0 | None | Optional static typing for Python |
| mypy_extensions | 1.1.0 | None | Type system extensions for programs checked with the mypy type checker. |
| packaging | 25.0 | None | Core utilities for Python packages |
| parso | 0.8.5 | https://github.com/davidhalter/parso | A Python Parser |
| pathspec | 0.12.1 | None | Utility library for gitignore style pattern matching of file paths. |
| pdbp | 1.8.1 | https://github.com/mdmintz/pdbp | pdbp (Pdb+): A drop-in replacement for pdb and pdbpp. |
| pexpect | 4.9.0 | https://pexpect.readthedocs.io/ | Pexpect allows easy control of interactive console applications. |
| portalocker | 3.2.0 | None | Wraps the portalocker recipe for easy usage |
| prompt_toolkit | 3.0.52 | None | Library for building powerful interactive command lines in Python |
| propcache | 0.4.1 | https://github.com/aio-libs/propcache | Accelerated property cache |
| psycopg | 3.3.2 | None | PostgreSQL database adapter for Python |
| psycopg-binary | 3.3.2 | None | PostgreSQL database adapter for Python -- C optimisation distribution |
| ptyprocess | 0.7.0 | https://github.com/pexpect/ptyprocess | Run a subprocess in a pseudo terminal |
| pure_eval | 0.2.3 | http://github.com/alexmojaki/pure_eval | Safely evaluate AST nodes without side effects |
| pydantic | 2.12.5 | None | Data validation using Python type hints |
| pydantic_core | 2.41.5 | https://github.com/pydantic/pydantic-core | Core functionality for Pydantic validation and serialization |
| Pygments | 2.19.2 | None | Pygments is a syntax highlighting package written in Python. |
| python-dateutil | 2.9.0.post0 | https://github.com/dateutil/dateutil | Extensions to the standard Python datetime module |
| python-dotenv | 1.2.1 | None | Read key-value pairs from a .env file and set them as environment variables |
| pytz | 2025.2 | http://pythonhosted.org/pytz | World timezone definitions, modern and historical |
| requests | 2.32.5 | https://requests.readthedocs.io | Python HTTP for Humans. |
| requests-toolbelt | 1.0.0 | https://toolbelt.readthedocs.io/ | A utility belt for advanced users of python-requests |
| rt | 3.4.0 | None | Python interface to Request Tracker API |
| six | 1.17.0 | https://github.com/benjaminp/six | Python 2 and 3 compatibility utilities |
| sniffio | 1.3.1 | None | Sniff out which async library your code is running under |
| SQLAlchemy | 2.0.44 | https://www.sqlalchemy.org | Database Abstraction Library |
| stack-data | 0.6.3 | http://github.com/alexmojaki/stack_data | Extract data from python stack frames and tracebacks for informative displays |
| stackprinter | 0.2.12 | https://github.com/cknd/stackprinter | Debug-friendly stack traces, with variable values and semantic highlighting |
| tabcompleter | 1.4.0 | https://github.com/mdmintz/tabcompleter | tabcompleter --- Autocompletion in the Python console. |
| traitlets | 5.14.3 | None | Traitlets Python configuration system |
| types-pytz | 2025.2.0.20251108 | None | Typing stubs for pytz |
| typing-inspection | 0.4.2 | None | Runtime typing introspection tools |
| typing_extensions | 4.15.0 | None | Backported and Experimental Type Hints for Python 3.9+ |
| urllib3 | 2.5.0 | None | HTTP library with thread-safe connection pooling, file post, and more. |
| wcwidth | 0.2.14 | https://github.com/jquast/wcwidth | Measures the displayed width of unicode strings in a terminal |
| Werkzeug | 3.1.3 | None | The comprehensive WSGI web application library. |
| WTForms | 3.2.1 | None | Form validation and rendering for Python web development. |
| yarl | 1.22.0 | https://github.com/aio-libs/yarl | Yet another URL library |
| Resource | Value |
|---|---|
| User CPU time | 8.479 msec |
| System CPU time | 0.216 msec |
| Total CPU time | 8.695 msec |
| Elapsed time | 23.094 msec |
| Context switches | 9 voluntary, 0 involuntary |
| Key | Value |
|---|---|
| HTTP_ACCEPT | */* |
| HTTP_ACCEPT_ENCODING | gzip, br, zstd, deflate |
| HTTP_HOST | dashboard.uat.tigr.uk |
| HTTP_USER_AGENT | Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com) |
| QUERY_STRING | end=2025-09-02&start=2025-09-02 |
| REMOTE_ADDR | 10.42.58.147 |
| REQUEST_METHOD | GET |
| SCRIPT_NAME | |
| SERVER_NAME | 0.0.0.0 |
| SERVER_PORT | 8000 |
| SERVER_PROTOCOL | HTTP/1.1 |
| SERVER_SOFTWARE | gunicorn/23.0.0 |
| View Function | kwargs |
|---|---|
| app.views.ops_reports.triage_response_report_drilldown | None |
| Variable | Value |
|---|
No SESSION data
| Variable | Value |
|---|---|
| 'end' | '2025-09-02' |
| 'start' | '2025-09-02' |
| Variable | Value |
|---|
| Variable | Value |
|---|---|
| data | [<Ticket(id=6464, rt_number=55804, queue=Incidents, subject=CRITICAL: System Health: Systemd State on edb-coll.askbio.com, ticket_status=closed, client=AskBio, priority=1, created=2025-09-02 03:41:18, last_txn_id=0>, <Ticket(id=6466, rt_number=55806, queue=Requests, subject=WARNING: Cloud: Azure Credential: GitLab on azure.etherapeutics.co.uk, ticket_status=closed, client=eTherapeutics, priority=41, created=2025-09-02 08:23:19, last_txn_id=0>, <Ticket(id=6467, rt_number=55807, queue=Incidents, subject=ocado2.opentrk.com networking timeouts, ticket_status=closed, client=Azura, priority=61, created=2025-09-02 08:35:30, last_txn_id=0>, <Ticket(id=6468, rt_number=55808, queue=Requests, subject=weblive.erfelectrical.co.uk erfelectrical.co.uk HTTPS timeout, ticket_status=closed, client=ERF Electrical, priority=43, created=2025-09-02 13:49:16, last_txn_id=0>, <Ticket(id=6469, rt_number=55809, queue=Admin, subject=Fwd: Your payment to Tiger Computing Ltd has failed, ticket_status=resolved, client=Imoves, priority=0, created=2025-09-02 14:17:07, last_txn_id=0>, <Ticket(id=6470, rt_number=55810, queue=Requests, subject=Question on Borg, ticket_status=closed, client=Kahootz, priority=62, created=2025-09-02 14:38:48, last_txn_id=0>] |
| g | <flask.g of 'app'> |
| meta | {'end': datetime.date(2025, 9, 2), 'start': datetime.date(2025, 9, 2), 'target': 600, 'title': 'Triage response', 'warning_threshold': 0.5} |
| request | <Request 'http://dashboard.uat.tigr.uk/triage_response_report_drilldown?end=2025-09-02&start=2025-09-02' [GET]> |
| session | <SecureCookieSession {}> |
The toolbar was unable to fetch the SQLAlchemy queries for this request. To enable the SQLAlchemy query display, please:
The Flask-SQLAlchemy extension needs to be configured for this application. Please see the Flask-SQLAlchemy documentation for details.
| Level | Time | Message | Location |
|---|---|---|---|
| DEBUG | 2025-12-06 20:55:03.653551 | xxx | ./services/model.py:838 |
| DEBUG | 2025-12-06 20:55:03.653587 | xxx | ./services/model.py:838 |
| DEBUG | 2025-12-06 20:55:03.653595 | xxx | ./services/model.py:838 |
| DEBUG | 2025-12-06 20:55:03.653601 | xxx | ./services/model.py:838 |
| DEBUG | 2025-12-06 20:55:03.653607 | xxx | ./services/model.py:838 |
| DEBUG | 2025-12-06 20:55:03.653611 | xxx | ./services/model.py:838 |
| DEBUG | 2025-12-06 20:55:03.653616 | xxx | ./services/model.py:838 |
| DEBUG | 2025-12-06 20:55:03.653620 | xxx | ./services/model.py:838 |
| DEBUG | 2025-12-06 20:55:03.653625 | xxx | ./services/model.py:838 |
| DEBUG | 2025-12-06 20:55:03.653630 | xxx | ./services/model.py:838 |
| DEBUG | 2025-12-06 20:55:03.653634 | xxx | ./services/model.py:838 |
| DEBUG | 2025-12-06 20:55:03.653638 | xxx | ./services/model.py:838 |
| DEBUG | 2025-12-06 20:55:03.653643 | xxx | ./services/model.py:838 |
| DEBUG | 2025-12-06 20:55:03.653648 | xxx | ./services/model.py:838 |
| DEBUG | 2025-12-06 20:55:03.653652 | xxx | ./services/model.py:838 |
| DEBUG | 2025-12-06 20:55:03.653657 | xxx | ./services/model.py:838 |
| DEBUG | 2025-12-06 20:55:03.653662 | xxx | ./services/model.py:838 |
| DEBUG | 2025-12-06 20:55:03.653666 | xxx | ./services/model.py:838 |
| DEBUG | 2025-12-06 20:55:03.653671 | xxx | ./services/model.py:838 |
| DEBUG | 2025-12-06 20:55:03.653676 | xxx | ./services/model.py:838 |
| DEBUG | 2025-12-06 20:55:03.653681 | xxx | ./services/model.py:838 |
| DEBUG | 2025-12-06 20:55:03.653685 | xxx | ./services/model.py:838 |
| DEBUG | 2025-12-06 20:55:03.653690 | xxx | ./services/model.py:838 |
| DEBUG | 2025-12-06 20:55:03.653694 | xxx | ./services/model.py:838 |
| DEBUG | 2025-12-06 20:55:03.653698 | xxx | ./services/model.py:838 |
| DEBUG | 2025-12-06 20:55:03.653703 | xxx | ./services/model.py:838 |
| DEBUG | 2025-12-06 20:55:03.653708 | xxx | ./services/model.py:838 |
| DEBUG | 2025-12-06 20:55:03.653714 | xxx | ./services/model.py:838 |
| DEBUG | 2025-12-06 20:55:03.653718 | xxx | ./services/model.py:838 |
| DEBUG | 2025-12-06 20:55:03.653723 | xxx | ./services/model.py:838 |
| DEBUG | 2025-12-06 20:55:03.653728 | xxx | ./services/model.py:838 |
| DEBUG | 2025-12-06 20:55:03.653732 | xxx | ./services/model.py:838 |
| DEBUG | 2025-12-06 20:55:03.653737 | xxx | ./services/model.py:838 |
| DEBUG | 2025-12-06 20:55:03.653741 | xxx | ./services/model.py:838 |
| DEBUG | 2025-12-06 20:55:03.653746 | xxx | ./services/model.py:838 |
| DEBUG | 2025-12-06 20:55:03.653750 | xxx | ./services/model.py:838 |
| DEBUG | 2025-12-06 20:55:03.653754 | xxx | ./services/model.py:838 |
| DEBUG | 2025-12-06 20:55:03.653759 | xxx | ./services/model.py:838 |
| DEBUG | 2025-12-06 20:55:03.653763 | xxx | ./services/model.py:838 |
| DEBUG | 2025-12-06 20:55:03.653767 | xxx | ./services/model.py:838 |
| DEBUG | 2025-12-06 20:55:03.653771 | xxx | ./services/model.py:838 |
| DEBUG | 2025-12-06 20:55:03.653775 | xxx | ./services/model.py:838 |
| DEBUG | 2025-12-06 20:55:03.653780 | xxx | ./services/model.py:838 |
| DEBUG | 2025-12-06 20:55:03.653784 | xxx | ./services/model.py:838 |
| DEBUG | 2025-12-06 20:55:03.653789 | xxx | ./services/model.py:838 |
| DEBUG | 2025-12-06 20:55:03.653794 | xxx | ./services/model.py:838 |
| DEBUG | 2025-12-06 20:55:03.653799 | xxx | ./services/model.py:838 |
| DEBUG | 2025-12-06 20:55:03.653804 | xxx | ./services/model.py:838 |
| DEBUG | 2025-12-06 20:55:03.653808 | xxx | ./services/model.py:838 |
| DEBUG | 2025-12-06 20:55:03.653813 | xxx | ./services/model.py:838 |
| DEBUG | 2025-12-06 20:55:03.653817 | xxx | ./services/model.py:838 |
| DEBUG | 2025-12-06 20:55:03.653822 | xxx | ./services/model.py:838 |
| DEBUG | 2025-12-06 20:55:03.653826 | xxx | ./services/model.py:838 |
| DEBUG | 2025-12-06 20:55:03.653831 | xxx | ./services/model.py:838 |
| DEBUG | 2025-12-06 20:55:03.653836 | xxx | ./services/model.py:838 |
| DEBUG | 2025-12-06 20:55:03.653841 | xxx | ./services/model.py:838 |
| DEBUG | 2025-12-06 20:55:03.653846 | xxx | ./services/model.py:838 |
| DEBUG | 2025-12-06 20:55:03.653850 | xxx | ./services/model.py:838 |
| DEBUG | 2025-12-06 20:55:03.653854 | xxx | ./services/model.py:838 |
| DEBUG | 2025-12-06 20:55:03.653859 | xxx | ./services/model.py:838 |
| DEBUG | 2025-12-06 20:55:03.653864 | xxx | ./services/model.py:838 |
| DEBUG | 2025-12-06 20:55:03.653868 | xxx | ./services/model.py:838 |
| DEBUG | 2025-12-06 20:55:03.653873 | xxx | ./services/model.py:838 |
| DEBUG | 2025-12-06 20:55:03.653878 | xxx | ./services/model.py:838 |
| DEBUG | 2025-12-06 20:55:03.653883 | xxx | ./services/model.py:838 |
| DEBUG | 2025-12-06 20:55:03.653888 | xxx | ./services/model.py:838 |
| DEBUG | 2025-12-06 20:55:03.653892 | xxx | ./services/model.py:838 |
| DEBUG | 2025-12-06 20:55:03.653896 | xxx | ./services/model.py:838 |
| DEBUG | 2025-12-06 20:55:03.653901 | xxx | ./services/model.py:838 |
| DEBUG | 2025-12-06 20:55:03.653905 | xxx | ./services/model.py:838 |
| DEBUG | 2025-12-06 20:55:03.653910 | xxx | ./services/model.py:838 |
| DEBUG | 2025-12-06 20:55:03.653915 | xxx | ./services/model.py:838 |
| DEBUG | 2025-12-06 20:55:03.653920 | xxx | ./services/model.py:838 |
| DEBUG | 2025-12-06 20:55:03.653924 | xxx | ./services/model.py:838 |
| DEBUG | 2025-12-06 20:55:03.653929 | xxx | ./services/model.py:838 |
| DEBUG | 2025-12-06 20:55:03.653933 | xxx | ./services/model.py:838 |
| DEBUG | 2025-12-06 20:55:03.653938 | xxx | ./services/model.py:838 |
| DEBUG | 2025-12-06 20:55:03.653943 | xxx | ./services/model.py:838 |
| DEBUG | 2025-12-06 20:55:03.653948 | xxx | ./services/model.py:838 |
| DEBUG | 2025-12-06 20:55:03.653953 | xxx | ./services/model.py:838 |
| DEBUG | 2025-12-06 20:55:03.653957 | xxx | ./services/model.py:838 |
| DEBUG | 2025-12-06 20:55:03.653961 | xxx | ./services/model.py:838 |
| DEBUG | 2025-12-06 20:55:03.653966 | xxx | ./services/model.py:838 |
| DEBUG | 2025-12-06 20:55:03.653971 | xxx | ./services/model.py:838 |
| DEBUG | 2025-12-06 20:55:03.653975 | xxx | ./services/model.py:838 |
| DEBUG | 2025-12-06 20:55:03.653980 | xxx | ./services/model.py:838 |
| DEBUG | 2025-12-06 20:55:03.653985 | xxx | ./services/model.py:838 |
| DEBUG | 2025-12-06 20:55:03.653989 | xxx | ./services/model.py:838 |
| DEBUG | 2025-12-06 20:55:03.653993 | xxx | ./services/model.py:838 |
| DEBUG | 2025-12-06 20:55:03.653998 | xxx | ./services/model.py:838 |
| DEBUG | 2025-12-06 20:55:03.654003 | xxx | ./services/model.py:838 |
| DEBUG | 2025-12-06 20:55:03.654008 | xxx | ./services/model.py:838 |
| DEBUG | 2025-12-06 20:55:03.654012 | xxx | ./services/model.py:838 |
| DEBUG | 2025-12-06 20:55:03.654017 | xxx | ./services/model.py:838 |
| DEBUG | 2025-12-06 20:55:03.654022 | xxx | ./services/model.py:838 |
| DEBUG | 2025-12-06 20:55:03.654027 | xxx | ./services/model.py:838 |
| DEBUG | 2025-12-06 20:55:03.654031 | xxx | ./services/model.py:838 |
| DEBUG | 2025-12-06 20:55:03.654036 | xxx | ./services/model.py:838 |
| DEBUG | 2025-12-06 20:55:03.654041 | xxx | ./services/model.py:838 |
| DEBUG | 2025-12-06 20:55:03.654045 | xxx | ./services/model.py:838 |
| DEBUG | 2025-12-06 20:55:03.654051 | xxx | ./services/model.py:838 |
| DEBUG | 2025-12-06 20:55:03.654056 | xxx | ./services/model.py:838 |
| DEBUG | 2025-12-06 20:55:03.654060 | xxx | ./services/model.py:838 |
| DEBUG | 2025-12-06 20:55:03.654065 | xxx | ./services/model.py:838 |
| DEBUG | 2025-12-06 20:55:03.654070 | xxx | ./services/model.py:838 |
| DEBUG | 2025-12-06 20:55:03.654074 | xxx | ./services/model.py:838 |
| DEBUG | 2025-12-06 20:55:03.654079 | xxx | ./services/model.py:838 |
| DEBUG | 2025-12-06 20:55:03.654083 | xxx | ./services/model.py:838 |
| DEBUG | 2025-12-06 20:55:03.654088 | xxx | ./services/model.py:838 |
| DEBUG | 2025-12-06 20:55:03.654093 | xxx | ./services/model.py:838 |
| DEBUG | 2025-12-06 20:55:03.654097 | xxx | ./services/model.py:838 |
| DEBUG | 2025-12-06 20:55:03.654102 | xxx | ./services/model.py:838 |
| DEBUG | 2025-12-06 20:55:03.654106 | xxx | ./services/model.py:838 |
| DEBUG | 2025-12-06 20:55:03.654110 | xxx | ./services/model.py:838 |
| DEBUG | 2025-12-06 20:55:03.654115 | xxx | ./services/model.py:838 |
| DEBUG | 2025-12-06 20:55:03.654119 | xxx | ./services/model.py:838 |
| DEBUG | 2025-12-06 20:55:03.654124 | xxx | ./services/model.py:838 |
| DEBUG | 2025-12-06 20:55:03.654129 | xxx | ./services/model.py:838 |
| DEBUG | 2025-12-06 20:55:03.654133 | xxx | ./services/model.py:838 |
| DEBUG | 2025-12-06 20:55:03.654137 | xxx | ./services/model.py:838 |
| DEBUG | 2025-12-06 20:55:03.654141 | xxx | ./services/model.py:838 |
from flask_debugtoolbar_lineprofilerpanel.profile import line_profile
# Using it as a decorator
@app.route('/profile')
@line_profile
def profile_page():
...
return flask.render_template('profile_page')
# Explicit argument
line_profile(some_function)