Open calvin-kargo opened 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
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.
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.
@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.
@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?
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
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.
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?
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.
Ok! So I guess the steps are
Does that sound good?
Sounds good.
Finally opened the PR: https://github.com/open-telemetry/opentelemetry-erlang-contrib/pull/369
Great, thanks!
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:
opentelemetry_telemetry
to help integration with telemetry based event (example: https://github.com/open-telemetry/opentelemetry-erlang-contrib/blob/main/instrumentation/opentelemetry_phoenix/lib/opentelemetry_phoenix.ex).opentelemetry_telemetry
come with support oftelemetry_span_context
which enable multi-process tracing (so in theory we wouldn't need to do batch_keep_span). absinthe itself has supported telemetry_span_context since 1.6.7 and now 1.7.0 . is there plan to migrate toopentelemetry_telemetry
?In case you plan to add these features, and need help to implement it, I would be happy to help!
Thanks,
Calvin Sadewa