{"repo":"chrisguidry/pytest-opentelemetry","free":true,"listed":false,"github":"https://github.com/chrisguidry/pytest-opentelemetry","clone":"git clone https://github.com/chrisguidry/pytest-opentelemetry.git","description":"A pytest plugin for instrumenting test runs via OpenTelemetry","language":"Python","stars":40,"topics":["jaeger","jaegertracing","observability","opentelemetry","opentelemetry-collector","pytest","pytest-plugin","telemetry","unit-testing"],"license":"MIT","category":"analytics","readme_excerpt":"pytest-opentelemetry Instruments your pytest runs, exporting the spans and timing via OpenTelemetry. Why instrument my test suite? As projects grow larger, perhaps with many contributors, test suite runtime can be a significant limiting factor to how fast you and your team can deliver changes. By measuring your test suite's runtime in detail, and keeping a history of this runtime in a visualization tool like Jaeger, you can spot test bottlenecks that might be slowing your entire suite down. Additionally, pytest makes an excellent driver for integration tests that operate on fully deployed systems, like your testing/staging environment. By using pytest-opentelemetry and configuring the appropriate propagators, you can connect traces from your integration test suite to your running system to analyze failures more quickly. Even if you only enable pytest-opentelemetry locally for occasional debugging, it can help you understand exactly what is slowing your test suite down. Did you forget to mock that requests call? Didn't realize the test suite was creating 10,000 example accounts? Should that database setup fixture be marked scope=module ? These are the kinds of questions pytest-opentelemetry can help you answer. pytest-opentelemetry works even better when testing applications and libraries that are themselves instrumented with OpenTelemetry. This will give you deeper visibility into the layers of your stack, like database queries and network requests. Installation and usage Ins","default_branch":null,"files":null,"tree":[],"storefront":"/r/chrisguidry","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/chrisguidry/pytest-opentelemetry/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}