dd-trace-go icon indicating copy to clipboard operation
dd-trace-go copied to clipboard

proposal: support github.com/99designs/gqlgen

Open danishsatkut opened this issue 4 years ago • 10 comments

The library https://github.com/99designs/gqlgen package is the most maintained and feature rich graphql server library.

danishsatkut avatar Oct 05 '19 18:10 danishsatkut

Thanks @danishsatkut. That library is still early days (v0), but we're starting to brainstorm in a draft at #515. Feel free to jump in if you have ideas.

gbbr avatar Oct 17 '19 08:10 gbbr

We are going to put this integration on hold for the time being. The gqlgen author has made us aware that there are going to be significant changes to the resolver and tracer interfaces coming soon, so we'll wait for that to happen before we continue this. (See: https://github.com/DataDog/dd-trace-go/pull/515#issuecomment-547207818)

knusbaum avatar Oct 29 '19 15:10 knusbaum

More and more companies are using it, including Khan Academy: https://github.com/99designs/gqlgen/issues/268

and1truong avatar Feb 21 '20 00:02 and1truong

Hi, any chance to revive this integration? been 12 months since the last update, it would be fair to think either they changed their interfaces by now, or they never did anyway :)

jippi avatar Sep 11 '20 08:09 jippi

We should figure out how we want to support v0 libraries. (#729) Gqlgen is requested a lot and we want to support it.

I don't know when they plan on publishing v1, but according to this comment by @vektah (https://github.com/DataDog/dd-trace-go/pull/515#issuecomment-559480785), the handler refactor is done.

knusbaum avatar Sep 11 '20 15:09 knusbaum

There is https://github.com/99designs/gqlgen-contrib/blob/master/gqlopencensus/tracer.go which has DataDog bool. It's not plug and play but should help for users who need tracing to datadog

samlof avatar Aug 03 '21 03:08 samlof

Perhaps now that a new release as of about a week ago was done, this can be revisited?

@vektah can you provide some assurance that the tracing implementation is nearing stability at this point?

jpeeler avatar Sep 15 '21 20:09 jpeeler

Any updates on this that might not have been linked?

DurkinDevelopment avatar May 06 '22 19:05 DurkinDevelopment

Any details on how to configure and use DataDog with this - https://github.com/DataDog/dd-trace-go/issues/507#issuecomment-891479205?

ashishb avatar Jun 28 '22 21:06 ashishb

This is in progress, but is not yet supported. Will provide updates here when a PR is out.

katiehockman avatar Jun 28 '22 23:06 katiehockman

DONE!

knusbaum avatar Dec 27 '22 15:12 knusbaum