hyperdx icon indicating copy to clipboard operation
hyperdx copied to clipboard

Unify service.instance.id?

Open Seikilos opened this issue 1 year ago • 0 comments

I noticed that there are two ways, how 3rd party libraries (the same is true for OTELs Node SDK) emit instance.id and other fields.

For instance does the otel logger create a property called "service.instance.id"

image

But OTELs spans create an event for this field:

image

Unfortunately this is a different column in hyperdx. The first one is service.instance.id, the second one is process.tag.service.instance.id

Annoyingly the same is true for the service name field. I have always to filter for service.name:"THE_SERVICE" OR service:"THE_SERVICE" even though Hyperdx shows both fields in the Service column when there is no filter applied.

While I know this is an implementers issue, I would recommend thinking about fixing this on hyperdx side to massively improve usability. Frankly this fragmented approach in node really makes tracing nearly impossible since I keep forgetting that filtering for one service may return incomplete results because some parts of the same service do things differently.

Seikilos avatar Feb 23 '24 17:02 Seikilos