Hey there,
i am trying to submit data to sentry using C. Up to now i can connect to the sentry instance and the project i want, but when i send the formated json string nothing shows up in the project. At the moment i am sending
{
“message”: “this is message”,
“extra”:
{
“anything”: “bla ba da ba da”,
“source”:
{
“file”: “…/example.cpp:22”
},
“sys”:
{
“uptime”: “0”,
“FDSize”: “256”,
“VmPeak”: “32484 kB”,
“VmSize”: “32220 kB”,
“VmLck”: “0 kB”,
“VmPin”: “0 kB”,
“VmHWM”: “4144 kB”,
“VmRSS”: “4056 kB”,
“VmData”: “568 kB”,
“VmStk”: “136 kB”,
“VmExe”: “392 kB”,
“VmLib”: “4384 kB”,
“VmPTE”: “80 kB”,
“VmSwap”: “0 kB”,
“Threads”: “1”,
“load”: “0.10 0.16 0.12 1/265 1602”,
“machine”: “x86_64”
}
},
“level”: “error”,
“culprit”: “int main()”,
“event_id”: “59228cd600085abb00000642643c9869”,
“timestamp”: “2017-05-22T07:01:42”,
“logger”: “root”,
“platform”: “C”,
“project”: “XXX”,
“server_name”: “XXXXX”
}
Is the format not correct or do i need to add something? Can i check if the message get rejected from the sentry instance?