sipcapture / heplify-server

HEP Capture Server for HOMER
https://sipcapture.org
GNU Affero General Public License v3.0
184 stars 85 forks source link

correlation id lost when pushing to loki #541

Closed tsearle closed 7 months ago

tsearle commented 7 months ago

currently heplify-server doesn't preserve the hep3 filed for correlation id when sending to loki.

This makes it impossible to correlate RTCP metrics with a call (as the json of the rtcp report doesn't have even a sip call-id in it)

one possible option would be to add the correlation id into the json of message?

lmangani commented 7 months ago

Adding additional headers into the JSON payload seems a sensible option and since it can be used selectively it should not impact cardinality 👍 although we MIGHT need some type of label to declare the object contains correlation info to skim faster