Skip to content

Commit b5ddc0c

Browse files
committed
Initial release: TraceKit APM Python SDK v1.0.0
Zero-config distributed tracing and code monitoring for Flask, FastAPI, and Django. Features: - ✅ Zero Configuration - Works out of the box with sensible defaults - ✅ Automatic Instrumentation - No code changes needed - ✅ Flask, FastAPI, Django Support - Simple middleware integration - ✅ HTTP Request Tracing - Track every request, route, and handler - ✅ Error Tracking - Capture exceptions with full stack traces - ✅ Code Discovery - Automatically index code from exception stack traces - ✅ Code Monitoring - Live debugging with breakpoints and variable inspection - ✅ Nested Spans - Parent-child span relationships with OpenTelemetry - ✅ Low Overhead - < 5% performance impact - ✅ OpenTelemetry Standard - Built on industry-standard OpenTelemetry All critical bugs fixed: - ✅ Code discovery for Python stack traces - ✅ Snapshot breakpoint registration and fetching - ✅ Snapshot captures with correct datetime format - ✅ Error handling context token management - ✅ Synchronous API (no async/await confusion) - ✅ Auto-registration response parsing
0 parents  commit b5ddc0c

15 files changed

Lines changed: 2594 additions & 0 deletions

.gitignore

Lines changed: 44 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,44 @@
1+
# Python
2+
__pycache__/
3+
*.py[cod]
4+
*$py.class
5+
*.so
6+
.Python
7+
build/
8+
develop-eggs/
9+
dist/
10+
downloads/
11+
eggs/
12+
.eggs/
13+
lib/
14+
lib64/
15+
parts/
16+
sdist/
17+
var/
18+
wheels/
19+
*.egg-info/
20+
.installed.cfg
21+
*.egg
22+
MANIFEST
23+
24+
# Virtual Environment
25+
venv/
26+
ENV/
27+
env/
28+
29+
# IDEs
30+
.vscode/
31+
.idea/
32+
*.swp
33+
*.swo
34+
*~
35+
36+
# Testing
37+
.pytest_cache/
38+
.coverage
39+
htmlcov/
40+
.tox/
41+
42+
# Environment
43+
.env
44+
.env.local

LICENSE

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
MIT License
2+
3+
Copyright (c) 2024 TraceKit
4+
5+
Permission is hereby granted, free of charge, to any person obtaining a copy
6+
of this software and associated documentation files (the "Software"), to deal
7+
in the Software without restriction, including without limitation the rights
8+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9+
copies of the Software, and to permit persons to whom the Software is
10+
furnished to do so, subject to the following conditions:
11+
12+
The above copyright notice and this permission notice shall be included in all
13+
copies or substantial portions of the Software.
14+
15+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21+
SOFTWARE.

0 commit comments

Comments
 (0)