Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Initial v4 version * Django logging middleware (#124) * Initial django logging middleware * Add django middleware docs * Bump version * Celery task log (#125) * Initial celery signals * Add celery task logging * Add docs (#126) * Bump version * Add GRPC span exporter (#127) * Bump version * Use BoundedAttributes when adding attributes to events * Bump version * Change span class * Bump version * Use ReadonlySpan, Span uses locks * Bump version * Dont use Resource.create, it tries to detect app info we dont need * Bump version * Add structlog logfmt renderer * Add print_loggers helper tool * Add decorators * Remove required logger prefix in middleware * Explicitly log trace_id in ASGI middleware * Dont log empty events * Make django profiling view sync * Bump version * Make translate_span a little faster (#132) * Make translate_span a little faster Using py-spy, it looks like the previous version spent some time doing list(default_resource.attributes.keys()) every time it was called. It seems this can be done once in the OTELWriter constructor instead. Also, I think we can make it a set instead of a list (I believe `a in my_set` is a bit quicker than `a in my_list`). Does this commit include tests to verify the speed increase? Nah... 🤷 * isort * Bump version * Add some tiny performance improvements * Drop sampled spans (#135) * Dont write sampled spans to the otel endpoint * Add span.sampled check * Bump version * Add py-spy profiler support (#137) * Bump version * Add basic and token auth support to py-spy profiler (#138) * Bump version * Add instance tag to the py-spy profiler * Use tracer tags, this lets us reuse tags added by tracer.set_tags --------- Co-authored-by: Guðmundur Björn Birkisson <[email protected]> Co-authored-by: Tor Arvid Lund <[email protected]> Co-authored-by: Tor Arvid Lund <[email protected]>
- Loading branch information