primait / opentelemetry_absinthe

11 stars 19 forks source link

Questions about opentelemetry_absinthe #48

Open calvin-kargo opened 2 years ago

calvin-kargo commented 2 years ago

Hi all, i am reaching out to you for asking about opentelemetry_absinthe​, but because i am not sure how to reach you all, i am posting this as an issue

I am currently working on my project on instrumenting services built using Phoenix, Ecto, Absinthe with Open Telemetry, searching around the internet, currently opentelemetry_absinthe​ is the only open source tools for direct integration of absinthe​ and opentelemetry​.

However, i am a bit unsure and confused regarding opentelemetry_absinthe​, so i am reaching out to you as maintainer of opentelemetry_absinthe​, hoping you would help clarifying issues:

In case you plan to add these features, and need help to implement it, I would be happy to help!

Thanks,

Calvin Sadewa

calvin-kargo commented 2 years ago

I have forked this repo with change that is using opentelemetry_telemetry and trace additional absinthe event (resolve field, batch) on https://github.com/calvin-kargo/opentelemetry_absinthe

tsloughter commented 2 years ago

Hi, I was coming here to ask similar questions but an additional issue is the use of the name on hex, https://hex.pm/packages/opentelemetry_absinthe. The prefix opentelemetry_ is used by apps owned by the opentelemetry hex org and can be found in the -contrib repo. Another user was planning to submit their absinthe instrumentation library to contrib but we wouldn't be able to publish it to hex under the expected name.

It would be great if efforts could somehow be merged into a single library in the contrib repo and the opentelemetry_absinthe hex package.

pdincau commented 2 years ago

Hi @tsloughter @calvin-kargo . Sorry if took a while to answer your messages but we forgot to integrate the notification hook and we lost the issues :bow: . We were already planning to give away the ownership of the repo to the community, we are totally open to that approach. Can you guide us on that? Otherwise we can just rename the package on hex.

tsloughter commented 2 years ago

@pdincau great, thanks! How to move forward depends on how involved you want to be moving forward. We'd be happy to handle everything if you added opentelemetry as an owner on the hex package. You can also send a PR to https://github.com/open-telemetry/opentelemetry-erlang-contrib and be included in the CODEOWNERS, but not necessary if you just want to have us move it forward.

pdincau commented 2 years ago

@tsloughter let me check how we can add opentelemetry as owner. No need to be in CODEOWNERS, so I guess no PR or repository ownership is required...correct?

aj-foster commented 1 year ago

Hi @pdincau,

In case you are unsure how to proceed, you can transfer ownership of the package on Hex.pm by running the following command:

mix hex.owner add opentelemetry_absinthe opentelemetry
adammohammed commented 1 year ago

Hi, thanks for creating this library, it does exactly what I want! Is there any update on transferring ownership? I'd be much more likely to recommend it if it lived under the control of the OpenTelemetry maintainers.

cpiemontese commented 3 months ago

Hello!

Sorry for the hard necro but as you may have noticed we never managed to get this done :disappointed: We would finally like to transfer ownership and we tried running the command suggested by @aj-foster, but it seems like we need to actually call mix hex.owner transfer

mix hex.owner add opentelemetry_absinthe opentelemetry
Adding owner opentelemetry with ownership level full to opentelemetry_absinthe
Adding owner failed
Validation error(s)
  username: organization ownership can only be transferred, removing all existing owners

The only "problem" I see with this is that this repo is still under primait. Should we maybe move the code before transferring ownership?

tsloughter commented 3 months ago

Ah yea, orgs you have to transfer, you can have multiple maintainers but not org owners. But yes, that would be great to get it into the contrib repo.

cpiemontese commented 3 months ago

Ok! So I guess the steps are

Does that sound good?

tsloughter commented 3 months ago

Sounds good.

cpiemontese commented 3 months ago

Finally opened the PR: https://github.com/open-telemetry/opentelemetry-erlang-contrib/pull/369

tsloughter commented 3 months ago

Great, thanks!