<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: How to get values/requests from graphql ? in Open Q&amp;A</title>
    <link>https://community.dynatrace.com/t5/Open-Q-A/How-to-get-values-requests-from-graphql/m-p/196240#M22873</link>
    <description>&lt;P&gt;&lt;a href="https://community.dynatrace.com/t5/user/viewprofilepage/user-id/53077"&gt;@Zimmer&lt;/a&gt;&amp;nbsp;it works for me. The link is&amp;nbsp;&lt;A href="https://github.com/graphql-java-kickstart/graphql-spring-boot/blob/master/graphql-kickstart-spring-webflux/src/main/java/graphql/kickstart/spring/webflux/GraphQLController.java" target="_self"&gt;https://github.com/graphql-java-kickstart/graphql-spring-boot/blob/master/graphql-kickstart-spring-webflux/src/main/java/graphql/kickstart/spring/webflux/GraphQLController.java&lt;/A&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Tue, 11 Oct 2022 12:52:48 GMT</pubDate>
    <dc:creator>gilgi</dc:creator>
    <dc:date>2022-10-11T12:52:48Z</dc:date>
    <item>
      <title>How to get values/requests from graphql ?</title>
      <link>https://community.dynatrace.com/t5/Open-Q-A/How-to-get-values-requests-from-graphql/m-p/195515#M22727</link>
      <description>&lt;P&gt;Hello,&amp;nbsp;&lt;BR /&gt;&amp;nbsp;I have an issue with I can't get requests which are toward to graphql. It simply shows only &lt;A href="https://example.com/graphql" target="_blank" rel="noopener"&gt;https://example.com/graphql&lt;/A&gt;&amp;nbsp; &amp;nbsp;and when you click on the link you can find the request inside like &lt;A href="https://example.com/graphql" target="_blank" rel="noopener"&gt;https://example.com/graphql/18293/product &lt;/A&gt;&lt;/P&gt;
&lt;P&gt;How to clean up the rule in a way to show all requests instead of only graphql?&lt;BR /&gt;&lt;BR /&gt;Thanks.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 03 Oct 2022 09:03:52 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Open-Q-A/How-to-get-values-requests-from-graphql/m-p/195515#M22727</guid>
      <dc:creator>Zimmer</dc:creator>
      <dc:date>2022-10-03T09:03:52Z</dc:date>
    </item>
    <item>
      <title>Re: How to get values/requests from graphql ?</title>
      <link>https://community.dynatrace.com/t5/Open-Q-A/How-to-get-values-requests-from-graphql/m-p/195636#M22739</link>
      <description>&lt;P&gt;Hi &lt;a href="https://community.dynatrace.com/t5/user/viewprofilepage/user-id/53077"&gt;@Zimmer&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I know your pain.. can you tell which technologies and libraries we use. We have a customer running graphql in java and using the expediagroup library.&lt;/P&gt;&lt;P&gt;We've managed to find a method that returns the operation name of the query.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;It was on the&amp;nbsp;com.expediagroup.graphql.client.types.GraphQLClientRequest class and the method was getOperationName.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Ince we've had it we changed thebrequest names based on the values.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Hope this helps.&lt;/P&gt;</description>
      <pubDate>Sat, 01 Oct 2022 06:04:47 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Open-Q-A/How-to-get-values-requests-from-graphql/m-p/195636#M22739</guid>
      <dc:creator>gilgi</dc:creator>
      <dc:date>2022-10-01T06:04:47Z</dc:date>
    </item>
    <item>
      <title>Re: How to get values/requests from graphql ?</title>
      <link>https://community.dynatrace.com/t5/Open-Q-A/How-to-get-values-requests-from-graphql/m-p/195711#M22750</link>
      <description>&lt;P&gt;We're using&amp;nbsp;&lt;SPAN&gt;ASP.NET Core &lt;span class="lia-unicode-emoji" title=":disappointed_face:"&gt;😞&lt;/span&gt; still no luck with the solution.. sigh.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 03 Oct 2022 17:46:35 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Open-Q-A/How-to-get-values-requests-from-graphql/m-p/195711#M22750</guid>
      <dc:creator>Zimmer</dc:creator>
      <dc:date>2022-10-03T17:46:35Z</dc:date>
    </item>
    <item>
      <title>Re: How to get values/requests from graphql ?</title>
      <link>https://community.dynatrace.com/t5/Open-Q-A/How-to-get-values-requests-from-graphql/m-p/195771#M22758</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.dynatrace.com/t5/user/viewprofilepage/user-id/12008"&gt;@gilgi&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;we are using kickstart GraphQL for our springboot api (&lt;A href="https://github.com/graphql-java-kickstart/graphql-spring-boot" target="_blank"&gt;https://github.com/graphql-java-kickstart/graphql-spring-boot&lt;/A&gt;) .&lt;/P&gt;&lt;P&gt;Is there any way we can get the operation names (query and mutation names ) ?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;</description>
      <pubDate>Tue, 04 Oct 2022 12:04:49 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Open-Q-A/How-to-get-values-requests-from-graphql/m-p/195771#M22758</guid>
      <dc:creator>rameshwiz07</dc:creator>
      <dc:date>2022-10-04T12:04:49Z</dc:date>
    </item>
    <item>
      <title>Re: How to get values/requests from graphql ?</title>
      <link>https://community.dynatrace.com/t5/Open-Q-A/How-to-get-values-requests-from-graphql/m-p/195855#M22771</link>
      <description>&lt;P&gt;If you will find the solution, please share it with the community also.&amp;nbsp;&lt;BR /&gt;Thanks &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 05 Oct 2022 07:42:01 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Open-Q-A/How-to-get-values-requests-from-graphql/m-p/195855#M22771</guid>
      <dc:creator>Zimmer</dc:creator>
      <dc:date>2022-10-05T07:42:01Z</dc:date>
    </item>
    <item>
      <title>Re: How to get values/requests from graphql ?</title>
      <link>https://community.dynatrace.com/t5/Open-Q-A/How-to-get-values-requests-from-graphql/m-p/196231#M22869</link>
      <description>&lt;P&gt;It seems like if you look at&amp;nbsp;&lt;A href="https://github.com/graphql-java-kickstart/graphql-spring-boot/blob/master/graphql-kickstart-spring-webflux/src/main/java/graphql/kickstart/spring/webflux/GraphQLController.java" target="_blank" rel="noopener"&gt;https://github.com/graphql-java-kickstart/graphql-spring-boot/blob/master/graphql-kickstart-spring-webflux/src/main/java/graphql/kickstart/spring/webflux/GraphQLController.java,&lt;/A&gt;&amp;nbsp;you'll see that you can actuallyu create a request attribute on&amp;nbsp;&lt;SPAN class=""&gt;graphql&lt;/SPAN&gt;&lt;SPAN&gt;.&lt;/SPAN&gt;&lt;SPAN class=""&gt;kickstart&lt;/SPAN&gt;&lt;SPAN&gt;.&lt;/SPAN&gt;&lt;SPAN class=""&gt;spring&lt;/SPAN&gt;&lt;SPAN&gt;.&lt;/SPAN&gt;&lt;SPAN class=""&gt;webflux.&lt;SPAN&gt;GraphQLController.executeRequest and capture the first two parameters. The first one is the query and the second one is the operation name.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN class=""&gt;&lt;SPAN&gt;once you do that you can also rename your requests based on either values.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN class=""&gt;&lt;SPAN&gt;On another note, We found out that at least in the expedia version, the network protocol used in the http commands was gql. Once replaced by http or https (as this is an open source packaged), Dynatrace supported this out of the box.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN class=""&gt;&lt;SPAN&gt;One last thing: in the link you've sent I've seen that it is using Apolo Server. I've seen posts that describe OpenTelemtry support for Apolo Server. This could alos be a viable solution as the OneAgent automatically can collect OpenTelemtry data.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN class=""&gt;&lt;SPAN&gt;Hope I've managed to help.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 11 Oct 2022 12:51:04 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Open-Q-A/How-to-get-values-requests-from-graphql/m-p/196231#M22869</guid>
      <dc:creator>gilgi</dc:creator>
      <dc:date>2022-10-11T12:51:04Z</dc:date>
    </item>
    <item>
      <title>Re: How to get values/requests from graphql ?</title>
      <link>https://community.dynatrace.com/t5/Open-Q-A/How-to-get-values-requests-from-graphql/m-p/196233#M22871</link>
      <description>&lt;P&gt;Hi &lt;a href="https://community.dynatrace.com/t5/user/viewprofilepage/user-id/12008"&gt;@gilgi&lt;/a&gt;&amp;nbsp; could you please correct the GitHub link it goes to a 404 page not found. there is, comma at the end of the link&lt;BR /&gt;Thanks&lt;/P&gt;</description>
      <pubDate>Tue, 11 Oct 2022 12:50:29 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Open-Q-A/How-to-get-values-requests-from-graphql/m-p/196233#M22871</guid>
      <dc:creator>Zimmer</dc:creator>
      <dc:date>2022-10-11T12:50:29Z</dc:date>
    </item>
    <item>
      <title>Re: How to get values/requests from graphql ?</title>
      <link>https://community.dynatrace.com/t5/Open-Q-A/How-to-get-values-requests-from-graphql/m-p/196239#M22872</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.dynatrace.com/t5/user/viewprofilepage/user-id/53077"&gt;@Zimmer&lt;/a&gt;,&lt;BR /&gt;&lt;BR /&gt;I've edited the link, it should work now&amp;nbsp;&lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 11 Oct 2022 12:51:47 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Open-Q-A/How-to-get-values-requests-from-graphql/m-p/196239#M22872</guid>
      <dc:creator>MaciejNeumann</dc:creator>
      <dc:date>2022-10-11T12:51:47Z</dc:date>
    </item>
    <item>
      <title>Re: How to get values/requests from graphql ?</title>
      <link>https://community.dynatrace.com/t5/Open-Q-A/How-to-get-values-requests-from-graphql/m-p/196240#M22873</link>
      <description>&lt;P&gt;&lt;a href="https://community.dynatrace.com/t5/user/viewprofilepage/user-id/53077"&gt;@Zimmer&lt;/a&gt;&amp;nbsp;it works for me. The link is&amp;nbsp;&lt;A href="https://github.com/graphql-java-kickstart/graphql-spring-boot/blob/master/graphql-kickstart-spring-webflux/src/main/java/graphql/kickstart/spring/webflux/GraphQLController.java" target="_self"&gt;https://github.com/graphql-java-kickstart/graphql-spring-boot/blob/master/graphql-kickstart-spring-webflux/src/main/java/graphql/kickstart/spring/webflux/GraphQLController.java&lt;/A&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 11 Oct 2022 12:52:48 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Open-Q-A/How-to-get-values-requests-from-graphql/m-p/196240#M22873</guid>
      <dc:creator>gilgi</dc:creator>
      <dc:date>2022-10-11T12:52:48Z</dc:date>
    </item>
    <item>
      <title>Re: How to get values/requests from graphql ?</title>
      <link>https://community.dynatrace.com/t5/Open-Q-A/How-to-get-values-requests-from-graphql/m-p/196243#M22875</link>
      <description>&lt;P&gt;I still don't understand how to get values from the payload in the header there is only&amp;nbsp;&lt;A href="https://example.com:8443/graphql" target="_blank"&gt;https://example.com:8443/graphql&lt;/A&gt;&amp;nbsp;request but in the payload, there is information that I want to catch with dynatrace like this :&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;{"variables":{"from":"CAD","to":"USD"},"query":"query ($from: String, $to: String) {\n currencyRates(from: $from, to: $to) {\n currency\n buyRate\n currencyId\n nBGRate\n sellRate\n}\n}\n"}&lt;/LI-CODE&gt;&lt;P&gt;Still, no luck, can't get it from the backend (.NET) or from the frontend which is based on Angular 9.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 11 Oct 2022 13:16:31 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Open-Q-A/How-to-get-values-requests-from-graphql/m-p/196243#M22875</guid>
      <dc:creator>Zimmer</dc:creator>
      <dc:date>2022-10-11T13:16:31Z</dc:date>
    </item>
    <item>
      <title>Re: How to get values/requests from graphql ?</title>
      <link>https://community.dynatrace.com/t5/Open-Q-A/How-to-get-values-requests-from-graphql/m-p/196246#M22876</link>
      <description>&lt;P&gt;&lt;a href="https://community.dynatrace.com/t5/user/viewprofilepage/user-id/53077"&gt;@Zimmer&lt;/a&gt;&amp;nbsp;as you cannot parse the payload itself, you must get the values from the server side. Whice graphql library are you using?&lt;/P&gt;</description>
      <pubDate>Tue, 11 Oct 2022 13:30:47 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Open-Q-A/How-to-get-values-requests-from-graphql/m-p/196246#M22876</guid>
      <dc:creator>gilgi</dc:creator>
      <dc:date>2022-10-11T13:30:47Z</dc:date>
    </item>
    <item>
      <title>Re: How to get values/requests from graphql ?</title>
      <link>https://community.dynatrace.com/t5/Open-Q-A/How-to-get-values-requests-from-graphql/m-p/196598#M22921</link>
      <description>&lt;P&gt;We are using&amp;nbsp;&lt;SPAN&gt;.NET library GraphQL v 4.2.0&amp;nbsp; have you had any experience with that? I appreciate your support.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 17 Oct 2022 13:33:16 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Open-Q-A/How-to-get-values-requests-from-graphql/m-p/196598#M22921</guid>
      <dc:creator>Zimmer</dc:creator>
      <dc:date>2022-10-17T13:33:16Z</dc:date>
    </item>
    <item>
      <title>Re: How to get values/requests from graphql ?</title>
      <link>https://community.dynatrace.com/t5/Open-Q-A/How-to-get-values-requests-from-graphql/m-p/196662#M22935</link>
      <description>&lt;P&gt;Looking at the source code in &lt;A href="https://github.com/graphql-dotnet/graphql-dotnet/blob/master/src/GraphQL/Execution/IExecutionContext.cs" target="_blank" rel="noopener"&gt;Git&lt;/A&gt; (hopefully this is the right one), I would try to create 2 request attributes:&lt;/P&gt;&lt;P&gt;1. On&amp;nbsp;&lt;SPAN class=""&gt;GraphQL&lt;/SPAN&gt;&lt;SPAN&gt;.&lt;/SPAN&gt;&lt;SPAN class=""&gt;Execution.&lt;SPAN&gt;IExecutionContext&lt;/SPAN&gt;&lt;SPAN&gt;.Operation (which is the operation Name)&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class=""&gt;&lt;SPAN&gt;2. On&amp;nbsp;GraphQL.Execution.IExecutionContext.Document (Which is the request itself)&amp;nbsp;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN class=""&gt;&lt;SPAN&gt;Hope this helps.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 18 Oct 2022 05:11:12 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Open-Q-A/How-to-get-values-requests-from-graphql/m-p/196662#M22935</guid>
      <dc:creator>gilgi</dc:creator>
      <dc:date>2022-10-18T05:11:12Z</dc:date>
    </item>
    <item>
      <title>Re: How to get values/requests from graphql ?</title>
      <link>https://community.dynatrace.com/t5/Open-Q-A/How-to-get-values-requests-from-graphql/m-p/198331#M23257</link>
      <description>&lt;P&gt;Could you guide me or share your experience regarding the Frontend side? How do I catch the values which are in payload for further manipulation?&amp;nbsp;&lt;BR /&gt;Frontend application is written on AngularJS&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;thanks&lt;/P&gt;</description>
      <pubDate>Mon, 14 Nov 2022 19:53:45 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Open-Q-A/How-to-get-values-requests-from-graphql/m-p/198331#M23257</guid>
      <dc:creator>Zimmer</dc:creator>
      <dc:date>2022-11-14T19:53:45Z</dc:date>
    </item>
    <item>
      <title>Re: How to get values/requests from graphql ?</title>
      <link>https://community.dynatrace.com/t5/Open-Q-A/How-to-get-values-requests-from-graphql/m-p/199225#M23419</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;There is no way to capture the payload from the client side without writing your own js code to capture the interesting data and then utilize the Dynatrace JS sdk to send it back. What I would try to look for is to find out where the paylaod is being constructed on the server side and then define a request attribute. On the application definition pages you could then create user action property to gather value from this request attribute.&lt;/P&gt;</description>
      <pubDate>Sun, 27 Nov 2022 12:52:37 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Open-Q-A/How-to-get-values-requests-from-graphql/m-p/199225#M23419</guid>
      <dc:creator>gilgi</dc:creator>
      <dc:date>2022-11-27T12:52:37Z</dc:date>
    </item>
    <item>
      <title>Re: How to get values/requests from graphql ?</title>
      <link>https://community.dynatrace.com/t5/Open-Q-A/How-to-get-values-requests-from-graphql/m-p/199237#M23422</link>
      <description>&lt;P&gt;Hi gilgi,&lt;BR /&gt;Yeah, that's exactly what we did and it worked fine. We're continuing testing let's see what we can get more from it.&lt;BR /&gt;&lt;BR /&gt;Thank you for your suggestions and help&lt;span class="lia-unicode-emoji" title=":call_me_hand:"&gt;🤙&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 28 Nov 2022 05:24:11 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Open-Q-A/How-to-get-values-requests-from-graphql/m-p/199237#M23422</guid>
      <dc:creator>Zimmer</dc:creator>
      <dc:date>2022-11-28T05:24:11Z</dc:date>
    </item>
  </channel>
</rss>

