Improved Service metering:
- Added methods to automate metric class generation - Added decorator for servicer RPC methods to add metering and logging features automatically - Added unit tests - Minor imptovements in context unit testing
Showing
- report_coverage_context.sh 1 addition, 1 deletionreport_coverage_context.sh
- run_local_tests.sh 26 additions, 24 deletionsrun_local_tests.sh
- src/common/metrics/Metrics.py 66 additions, 0 deletionssrc/common/metrics/Metrics.py
- src/common/metrics/__init__.py 0 additions, 0 deletionssrc/common/metrics/__init__.py
- src/common/metrics/tests/__init__.py 0 additions, 0 deletionssrc/common/metrics/tests/__init__.py
- src/common/metrics/tests/test_unitary.py 30 additions, 0 deletionssrc/common/metrics/tests/test_unitary.py
- src/common/orm/tests/test_unitary.py 0 additions, 0 deletionssrc/common/orm/tests/test_unitary.py
src/common/metrics/Metrics.py
0 → 100644
src/common/metrics/__init__.py
0 → 100644
src/common/metrics/tests/__init__.py
0 → 100644
src/common/metrics/tests/test_unitary.py
0 → 100644
Please register or sign in to comment