Refactor instrumentation modules for improved structure and consistency #1085
54.07% of diff hit (target 32.02%)
View this Pull Request on Codecov
54.07% of diff hit (target 32.02%)
Annotations
Check warning on line 477 in agentops/instrumentation/__init__.py
codecov / codecov/patch
agentops/instrumentation/__init__.py#L477
Added line #L477 was not covered by tests
Check warning on line 72 in agentops/instrumentation/common/instrumentor.py
codecov / codecov/patch
agentops/instrumentation/common/instrumentor.py#L71-L72
Added lines #L71 - L72 were not covered by tests
Check warning on line 91 in agentops/instrumentation/common/instrumentor.py
codecov / codecov/patch
agentops/instrumentation/common/instrumentor.py#L90-L91
Added lines #L90 - L91 were not covered by tests
Check warning on line 101 in agentops/instrumentation/common/instrumentor.py
codecov / codecov/patch
agentops/instrumentation/common/instrumentor.py#L101
Added line #L101 was not covered by tests
Check warning on line 122 in agentops/instrumentation/common/instrumentor.py
codecov / codecov/patch
agentops/instrumentation/common/instrumentor.py#L122
Added line #L122 was not covered by tests
Check warning on line 142 in agentops/instrumentation/common/instrumentor.py
codecov / codecov/patch
agentops/instrumentation/common/instrumentor.py#L140-L142
Added lines #L140 - L142 were not covered by tests
Check warning on line 146 in agentops/instrumentation/common/instrumentor.py
codecov / codecov/patch
agentops/instrumentation/common/instrumentor.py#L146
Added line #L146 was not covered by tests
Check warning on line 148 in agentops/instrumentation/common/instrumentor.py
codecov / codecov/patch
agentops/instrumentation/common/instrumentor.py#L148
Added line #L148 was not covered by tests
Check warning on line 39 in agentops/instrumentation/common/metrics.py
codecov / codecov/patch
agentops/instrumentation/common/metrics.py#L39
Added line #L39 was not covered by tests
Check warning on line 63 in agentops/instrumentation/common/metrics.py
codecov / codecov/patch
agentops/instrumentation/common/metrics.py#L63
Added line #L63 was not covered by tests
Check warning on line 74 in agentops/instrumentation/common/metrics.py
codecov / codecov/patch
agentops/instrumentation/common/metrics.py#L72-L74
Added lines #L72 - L74 were not covered by tests
Check warning on line 76 in agentops/instrumentation/common/metrics.py
codecov / codecov/patch
agentops/instrumentation/common/metrics.py#L76
Added line #L76 was not covered by tests
Check warning on line 79 in agentops/instrumentation/common/metrics.py
codecov / codecov/patch
agentops/instrumentation/common/metrics.py#L78-L79
Added lines #L78 - L79 were not covered by tests
Check warning on line 82 in agentops/instrumentation/common/metrics.py
codecov / codecov/patch
agentops/instrumentation/common/metrics.py#L81-L82
Added lines #L81 - L82 were not covered by tests
Check warning on line 88 in agentops/instrumentation/common/metrics.py
codecov / codecov/patch
agentops/instrumentation/common/metrics.py#L86-L88
Added lines #L86 - L88 were not covered by tests
Check warning on line 94 in agentops/instrumentation/common/metrics.py
codecov / codecov/patch
agentops/instrumentation/common/metrics.py#L92-L94
Added lines #L92 - L94 were not covered by tests
Check warning on line 100 in agentops/instrumentation/common/metrics.py
codecov / codecov/patch
agentops/instrumentation/common/metrics.py#L98-L100
Added lines #L98 - L100 were not covered by tests
Check warning on line 25 in agentops/instrumentation/common/span_management.py
codecov / codecov/patch
agentops/instrumentation/common/span_management.py#L24-L25
Added lines #L24 - L25 were not covered by tests
Check warning on line 31 in agentops/instrumentation/common/span_management.py
codecov / codecov/patch
agentops/instrumentation/common/span_management.py#L29-L31
Added lines #L29 - L31 were not covered by tests
Check warning on line 36 in agentops/instrumentation/common/span_management.py
codecov / codecov/patch
agentops/instrumentation/common/span_management.py#L36
Added line #L36 was not covered by tests
Check warning on line 41 in agentops/instrumentation/common/span_management.py
codecov / codecov/patch
agentops/instrumentation/common/span_management.py#L38-L41
Added lines #L38 - L41 were not covered by tests
Check warning on line 76 in agentops/instrumentation/common/span_management.py
codecov / codecov/patch
agentops/instrumentation/common/span_management.py#L66-L76
Added lines #L66 - L76 were not covered by tests
Check warning on line 98 in agentops/instrumentation/common/span_management.py
codecov / codecov/patch
agentops/instrumentation/common/span_management.py#L89-L98
Added lines #L89 - L98 were not covered by tests
Check warning on line 100 in agentops/instrumentation/common/span_management.py
codecov / codecov/patch
agentops/instrumentation/common/span_management.py#L100
Added line #L100 was not covered by tests
Check warning on line 102 in agentops/instrumentation/common/span_management.py
codecov / codecov/patch
agentops/instrumentation/common/span_management.py#L102
Added line #L102 was not covered by tests