Comments (3)
From talking with @jontonsoup, they are using PostgreSQL/psycopg2
, and have used patch_all
, which should have patched psycopg2.connect
, but that didn't seem to work.
It appears that peewee
is using psycopg2.connect
, which should have been patched:
https://github.com/coleifer/peewee/blob/master/peewee.py#L4043
from dd-trace-py.
@brettlangdon apologies -- The trace is working, but pinning does not work.
conn = DB.get_conn()
pin = Pin.override(conn, service="user-db")
WARNING:ddtrace.pin:can't pin onto object. skipping
Traceback (most recent call last):
File "/Users/jonathan/src/lib/python3.5/site-packages/ddtrace/pin.py", line 96, in
onto
return setattr(obj, '_datadog_pin', self)
AttributeError: 'psycopg2.extensions.connection' object has no attribute '_datadog_pin'
from dd-trace-py.
We have recorded better PeeWee support as a feature request internally, and will plan work to make psycopg more configurable without using a Pin.
from dd-trace-py.
Related Issues (20)
- Already mutably borrowed HOT 11
- Send custom tags when sending metrics with openai patch HOT 1
- Support Asynchronous IO for mysql-connector HOT 1
- GCP cloud function support HOT 2
- Best Practices for Long Running tasks HOT 1
- botocore SQS custom `MessageAttributes` are not being attached to spans HOT 3
- TypeError: type 'TracedMongoClient' is not subscriptable HOT 1
- OpenAI remaining requests / tokens and requests / tokens consumed are the same HOT 4
- Override aiohttp `distributed_tracing` and `split_by_domain` options per instance? HOT 1
- Agent using OpenAI `model` tags different from integrations HOT 1
- DataDog: instrumentation alters OpenAI Async interface behaviour HOT 2
- [feature] Selenium Integration HOT 2
- [LLMObs] Send llmobs events split by chunk if it's large enough HOT 2
- Redis logs command arguments even when not configured to do so. HOT 1
- UnboundLocalError: cannot access local variable 'result' where it is not associated with a value HOT 1
- "Error adding sample to profile (ddog_prof_Profile_add failed: Duplicate label on sample" error after enabling experimental profilers HOT 1
- Git executable not found error HOT 3
- What the size needed for the /tmp folder ? HOT 2
- ci_visibility: unittest integration not working with Django's manage.py in ddtrace==2.9.2 HOT 5
- 2.10.1 fails with read-only file system. HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from dd-trace-py.