Closed untitaker closed 8 months ago
This would be the ~metric~ value packing described under https://docs.datadoghq.com/developers/dogstatsd/datagram_shell/?tab=metrics#dogstatsd-protocol-v11?
This would be the metric value packing described under docs.datadoghq.com/developers/dogstatsd/datagram_shell/?tab=metrics#dogstatsd-protocol-v11?
for example, but the above payload is generated by the SDK to begin with. GaugeSummary can hold multiple values
Ah, I see. Thanks for the heads up.
It sounds like the SDK has not updated to the updated spec where gauges support a quintuple.
Where is that spec, for reference?
The gauge part, at least, should be fixed by https://github.com/getsentry/sentry-rust/pull/640.
This is a problem because I would like to use the SDK to send metrics from within existing metrics abstractions, which may receive dogstatsd packed value format. Ideally
parse_statsd
would either support the full output format, or store the metric as a raw string internally so it can be forwarded as-is to sentry (where it parses fine)Testcase:
The statsd parser cannot actually deal with multiple values. I don't know if there are issues with other metric types, this is just the first one I found.
SDK version 0.32.2