signoz
signoz copied to clipboard
open-telemetry compatible JSON stream as datasource
Hi, I can generate open-telemetry compatible JSON from my application, can I somehow use JSON as signoz data source? I can write go program if needed.
{
"trace_id": undefined, // values for trace_id and span_id are not currently standardized
"span_id": undefined,
"references": [
{"type":"child_of","span_id":undefined}, // currently types are "child_of" and "follows_from"
],
"name": "operation type",
"timestamp": 1234567890123456789, // UTC Epoch Unix Timestamp in Microseconds
"duration": 300, // integer representing microseconds
"tags": {
"tag_key": [{"a":"b"},{"c":"d"}], // can tags have multiple values in some systems?
},
"logs": [
{"timestamp":1234567890123456789, "a":"b"}, // logs optionally have a timestamp
],
"baggage": {"a":"b"},
}
Thanks for opening this issue. A team member should give feedback soon. In the meantime, feel free to check out the contributing guidelines.
@huahuayu It's not practical to adopt some new protocol and it's not about writing some program. OTLP is already stable and everything is built on top of it. FYI, You can already send the JSON encoded OTLP https://github.com/open-telemetry/oteps/blob/main/text/0122-otlp-http-json.md.