You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
According to the specs -
mongodb should capture: "The collection being accessed within the database stated in db.name."
and save it in: db.mongodb.collection
Steps to reproduce
Instrument a client using PymongoInstrumentor().
Send a request to the db.
What is the expected behavior?
Produce a span with db.mongodb.collection value containing the collection name.
What is the actual behavior?
Produce a span without generating db.mongodb.collection.
Example:
Here is a simple code example:
PymongoInstrumentor().instrument()
client = MongoClient()
RECORD = {"test": "123"}
db = client["MongoDB_Database"]
collection = db["MongoDB_Collection"]
collection.find_one(RECORD)
According to the specs -
mongodb should capture: "The collection being accessed within the database stated in db.name."
and save it in:
db.mongodb.collection
Steps to reproduce
Instrument a client using PymongoInstrumentor().
Send a request to the db.
What is the expected behavior?
Produce a span with
db.mongodb.collection
value containing the collection name.What is the actual behavior?
Produce a span without generating
db.mongodb.collection
.Example:
Here is a simple code example:
and the result is missing the collection:
If you can - assign this to me, thanks :)
The text was updated successfully, but these errors were encountered: