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
I'm trying to log simple message with some additional extra data and send it to DataDog. My simple python script is producing json message line containing all the data inside but somehow one of keys in a dictionary from my payload is missing in Datadog UI. It's like it was not send at all but other keys are all there. It is super strange because same payload send as a json string is working just fine. I've created very simple Dockerfile and python script to reproduce this and illustrate whats happening.
But when looking at DataDog UI I cannot see pickups: [] at all. It's like pickups were never sent in payload. However payload_json contain same data but encoded as json string and pickups is inside.
I'm not sure what exactly issue is here. Maybe datadog serverless-init is filtering something or maybe there is a bug in Datadog UI that just hide this "pickups": [].
It hit me today and I wasted few hours debugging production issue because I was sure pickups key was never set. In reality it was set but as empty list and just not displayed in datadod UI.
Let me know if you need any more details. Thank you
The text was updated successfully, but these errors were encountered:
piotrekkr
changed the title
[BUG] Datadog serverless-init or datadog itself is not showing all data from json log line
[BUG] Datadog serverless-init or datadog itself is not gathering all data from json log line
Dec 2, 2024
piotrekkr
changed the title
[BUG] Datadog serverless-init or datadog itself is not gathering all data from json log line
[BUG] Datadog serverless-init or datadog itself is not collecting all data from json log line
Dec 2, 2024
Agent Environment
serverless-init:1.5.1
ddtrace==2.17.2
Describe what happened:
I'm trying to log simple message with some additional extra data and send it to DataDog. My simple python script is producing json message line containing all the data inside but somehow one of keys in a dictionary from my payload is missing in Datadog UI. It's like it was not send at all but other keys are all there. It is super strange because same payload send as a json string is working just fine. I've created very simple Dockerfile and python script to reproduce this and illustrate whats happening.
Describe what you expected:
I expect all data to be present in DataDog Log UI
Steps to reproduce the issue:
dd-test.py
file:Dockerfile
:Build image:
Export DataDog API Key:
Run script:
This produces:
But when looking at DataDog UI I cannot see
pickups: []
at all. It's likepickups
were never sent inpayload
. Howeverpayload_json
contain same data but encoded as json string andpickups
is inside.I'm not sure what exactly issue is here. Maybe datadog
serverless-init
is filtering something or maybe there is a bug in Datadog UI that just hide this"pickups": []
.It hit me today and I wasted few hours debugging production issue because I was sure pickups key was never set. In reality it was set but as empty list and just not displayed in datadod UI.
Let me know if you need any more details. Thank you
The text was updated successfully, but these errors were encountered: