go-sundheit icon indicating copy to clipboard operation
go-sundheit copied to clipboard

Migrate to OpenTelemetry

Open mrsufgi opened this issue 3 years ago • 5 comments

Hey,

Very cool package, I'm planning to add it to my toolchain but unfortunately you only have openCensus ("deprecated"). Did you ever though about migrating to OpenTelemetry?

LMK, perhaps I can contribute a new tracer.

Best Ori

mrsufgi avatar Feb 14 '22 13:02 mrsufgi

Hi Ori,

I'm glad you find this library useful. While initially we implemented the metrics directly inside the code, we decided to extract it to a separate module github.com/AppsFlyer/go-sundheit/opencensus, and added listeners exactly for that reason. We wanted to allow you to add your own metrics implementation.

So at this point you're welcome to contribute your own OTEL module implementation for go-sundheit (and provide a PR we can merge), implement it internally for your company, or let me know whether you want us to do this (may take a while, as I need to shift priorities for this).

What do you think?

eranharel avatar Feb 15 '22 09:02 eranharel

Keep in mind that submodules is usually better to avoid.

You can always create a separate package, link it in the readme, move it to this org, etc.

sagikazarmark avatar Feb 15 '22 13:02 sagikazarmark

We'll implement this support here: go-sundheit-opentelemetry

eranharel avatar Feb 24 '22 10:02 eranharel

Any news? I can see there is a branch. Any plans to polish/release it?

sagikazarmark avatar Oct 13 '22 22:10 sagikazarmark

Holidays are over in 2 days ;)

I need to review this: https://github.com/AppsFlyer/go-sundheit-opentelemetry/pull/1 Will do it on Tuesday if I have time. You're welcome to take a look too @sagikazarmark

eranharel avatar Oct 16 '22 16:10 eranharel