<?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: Synthetic monitor for graphql in Synthetic Monitoring</title>
    <link>https://community.dynatrace.com/t5/Synthetic-Monitoring/Synthetic-monitor-for-graphql/m-p/120724#M444</link>
    <description>&lt;P&gt;Hello &lt;A rel="user noopener noreferrer" href="https://community.dynatrace.com/users/43232/view.html" nodeid="43232" target="_blank"&gt;@MARCOS Q.&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Have a look at the below link for relevant information. It may help out.&lt;/P&gt;&lt;P&gt;&lt;A rel="noopener noreferrer" href="https://community.dynatrace.com/questions/240899/how-to-implement-dynatrace-one-agent-for-graphql-m.html" target="_blank"&gt;https://community.dynatrace.com/questions/240899/how-to-implement-dynatrace-one-agent-for-graphql-m.html&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Babar&lt;/P&gt;</description>
    <pubDate>Mon, 16 Oct 2023 14:08:38 GMT</pubDate>
    <dc:creator>Babar_Qayyum</dc:creator>
    <dc:date>2023-10-16T14:08:38Z</dc:date>
    <item>
      <title>Synthetic monitor for graphql</title>
      <link>https://community.dynatrace.com/t5/Synthetic-Monitoring/Synthetic-monitor-for-graphql/m-p/120723#M443</link>
      <description>&lt;P&gt;Hello everyone, I will create a synthetic monitor for API based on graphql. Does Dynatrace support queries and / or mutation for this language in the post-scripting stage?&lt;/P&gt;</description>
      <pubDate>Tue, 19 Jan 2021 12:33:55 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Synthetic-Monitoring/Synthetic-monitor-for-graphql/m-p/120723#M443</guid>
      <dc:creator>marcos_quintani</dc:creator>
      <dc:date>2021-01-19T12:33:55Z</dc:date>
    </item>
    <item>
      <title>Re: Synthetic monitor for graphql</title>
      <link>https://community.dynatrace.com/t5/Synthetic-Monitoring/Synthetic-monitor-for-graphql/m-p/120724#M444</link>
      <description>&lt;P&gt;Hello &lt;A rel="user noopener noreferrer" href="https://community.dynatrace.com/users/43232/view.html" nodeid="43232" target="_blank"&gt;@MARCOS Q.&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Have a look at the below link for relevant information. It may help out.&lt;/P&gt;&lt;P&gt;&lt;A rel="noopener noreferrer" href="https://community.dynatrace.com/questions/240899/how-to-implement-dynatrace-one-agent-for-graphql-m.html" target="_blank"&gt;https://community.dynatrace.com/questions/240899/how-to-implement-dynatrace-one-agent-for-graphql-m.html&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Babar&lt;/P&gt;</description>
      <pubDate>Mon, 16 Oct 2023 14:08:38 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Synthetic-Monitoring/Synthetic-monitor-for-graphql/m-p/120724#M444</guid>
      <dc:creator>Babar_Qayyum</dc:creator>
      <dc:date>2023-10-16T14:08:38Z</dc:date>
    </item>
    <item>
      <title>Re: Synthetic monitor for graphql</title>
      <link>https://community.dynatrace.com/t5/Synthetic-Monitoring/Synthetic-monitor-for-graphql/m-p/120725#M445</link>
      <description>&lt;P&gt;Tank u @Babar Q. for answer my question, but I have other question about '&lt;EM&gt;postProcessingScript&lt;/EM&gt;' object. How to I add my query with variables of the authentication steps, a query exemple below:&lt;/P&gt;&lt;PRE&gt;{&lt;BR /&gt;&amp;nbsp; &amp;nbsp;&amp;nbsp;"step" : "stepOne",&lt;BR /&gt;&amp;nbsp; &amp;nbsp;&amp;nbsp;"variables" : {&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;"input" : {&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;"identifier" : "XXXXXXXXX"&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;}&lt;BR /&gt;&amp;nbsp; &amp;nbsp;&amp;nbsp;},&lt;BR /&gt;&amp;nbsp; &amp;nbsp;&amp;nbsp;"query" : "query step($input: stepInputType) {\n &amp;nbsp;step(input: $input) {\n &amp;nbsp; &amp;nbsp;result {\n &amp;nbsp; &amp;nbsp; &amp;nbsp;step\n &amp;nbsp; &amp;nbsp; &amp;nbsp;__typename\n &amp;nbsp; &amp;nbsp;}\n &amp;nbsp; &amp;nbsp;token\n &amp;nbsp; &amp;nbsp;sessionId\n &amp;nbsp; &amp;nbsp;__typename\n &amp;nbsp;}\n}\n"&lt;BR /&gt;}&lt;/PRE&gt;&lt;P&gt;How to I capture a session or tokens and declare on the '&lt;EM&gt;postProcessingScript&lt;/EM&gt;'? I have steps for capture this values?&lt;/P&gt;&lt;P&gt;I will capturing informations in the 'stepOne' and next transaction use this infos for follow flow.&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;</description>
      <pubDate>Tue, 19 Jan 2021 14:48:58 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Synthetic-Monitoring/Synthetic-monitor-for-graphql/m-p/120725#M445</guid>
      <dc:creator>marcos_quintani</dc:creator>
      <dc:date>2021-01-19T14:48:58Z</dc:date>
    </item>
    <item>
      <title>Re: Synthetic monitor for graphql</title>
      <link>https://community.dynatrace.com/t5/Synthetic-Monitoring/Synthetic-monitor-for-graphql/m-p/164232#M760</link>
      <description>&lt;P&gt;&lt;a href="https://community.dynatrace.com/t5/user/viewprofilepage/user-id/31588"&gt;@marcos_quintani&lt;/a&gt;&amp;nbsp;&lt;BR /&gt;I had a similar request where we needed to query graphql with keycloak authentication to get some information to ingest into Dynatrace.&amp;nbsp; I ended up writing a python script running on an ActiveGate and sending the data into Dynatrace API.&amp;nbsp; Maybe this would help you out.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;def query(self, **kwargs):&lt;BR /&gt;# Create device group within Dynatrace&lt;BR /&gt;group1 = self.topology_builder.create_group("GraphQL", "GraphQL")&lt;/P&gt;&lt;P&gt;# Configure client&lt;BR /&gt;keycloak_openid = KeycloakOpenID(server_url=self.auth_url,&lt;BR /&gt;client_id=self.clientid,&lt;BR /&gt;realm_name=self.tenant,&lt;BR /&gt;client_secret_key=self.password)&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;# Get Token&lt;BR /&gt;token = keycloak_openid.token(self.username, self.password)&lt;BR /&gt;tok = token['access_token']&lt;BR /&gt;#logger.info(tok)&lt;/P&gt;&lt;P&gt;headers = {"Authorization": "Bearer " + tok}&lt;BR /&gt;#logger.info(headers)&lt;/P&gt;&lt;P&gt;query = """&lt;BR /&gt;query {&lt;BR /&gt;stats {&lt;BR /&gt;summary&lt;BR /&gt;tenantStats {&lt;BR /&gt;alertQueue {&lt;BR /&gt;size&lt;BR /&gt;}&lt;BR /&gt;ingestStats {&lt;BR /&gt;ingestTime&lt;BR /&gt;source&lt;BR /&gt;}&lt;BR /&gt;evalStats {&lt;BR /&gt;last&lt;BR /&gt;average&lt;BR /&gt;}&lt;BR /&gt;}&lt;BR /&gt;}&lt;BR /&gt;}&lt;BR /&gt;"""&lt;/P&gt;&lt;P&gt;request = requests.post(self.base_url, json={'query': query}, headers=headers)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Mike&lt;/P&gt;</description>
      <pubDate>Tue, 13 Apr 2021 16:40:17 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Synthetic-Monitoring/Synthetic-monitor-for-graphql/m-p/164232#M760</guid>
      <dc:creator>michael_joseph_</dc:creator>
      <dc:date>2021-04-13T16:40:17Z</dc:date>
    </item>
  </channel>
</rss>

