<?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: Next.js and opentelemetry in Open Q&amp;A</title>
    <link>https://community.dynatrace.com/t5/Open-Q-A/Next-js-and-opentelemetry/m-p/249430#M32930</link>
    <description>&lt;P&gt;It is the next best thing I would suggest that already exists as official documentation.&lt;/P&gt;&lt;P&gt;But feel free to go through some of the other samples if you feel more comfortable in another language&amp;nbsp;&lt;A href="https://docs.dynatrace.com/docs/shortlink/otel-walkthroughs" target="_blank"&gt;https://docs.dynatrace.com/docs/shortlink/otel-walkthroughs&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Fri, 28 Jun 2024 15:47:03 GMT</pubDate>
    <dc:creator>mark_bley</dc:creator>
    <dc:date>2024-06-28T15:47:03Z</dc:date>
    <item>
      <title>Next.js and opentelemetry</title>
      <link>https://community.dynatrace.com/t5/Open-Q-A/Next-js-and-opentelemetry/m-p/248858#M32849</link>
      <description>&lt;P&gt;We have a Next.js app running in GCP Cloud Run, we can to use open telemetry with the app to export OTel data to Oneagent or Activegate. It looks like this is possible but there seems to gaps in the documentation.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;A href="https://nextjs.org/docs/pages/building-your-application/optimizing/open-telemetry" target="_self"&gt;&lt;SPAN&gt;"Next.js supports OpenTelemetry instrumentation out of the box"&lt;/SPAN&gt;&lt;/A&gt;&amp;nbsp;which means we don't need to do anything expect enable this with the next.js app (I noted that is it experimental on their site)&lt;/P&gt;
&lt;P&gt;So once the app is setup to we can then use either the SaaS or Local Env ActiveGate paths &lt;A href="https://docs.dynatrace.com/docs/extend-dynatrace/opentelemetry/getting-started/otlp-export#export-to-activegate" target="_self"&gt;[LINK]&lt;/A&gt;&amp;nbsp;to export using OTLP.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Flow should this.&amp;nbsp; Next.js -&amp;gt; ActiveGate -&amp;gt; Dynatrace SaaS&lt;/P&gt;
&lt;P&gt;From what I have read this will give us the traces and spans from the next.js app so that dynatrace can correlate these with the traces from other backend systems. Is there anything that I am missing in this setup or are there any limitations that anyone can point out?&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 24 Jun 2024 06:24:19 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Open-Q-A/Next-js-and-opentelemetry/m-p/248858#M32849</guid>
      <dc:creator>nm-seme</dc:creator>
      <dc:date>2024-06-24T06:24:19Z</dc:date>
    </item>
    <item>
      <title>Re: Next.js and opentelemetry</title>
      <link>https://community.dynatrace.com/t5/Open-Q-A/Next-js-and-opentelemetry/m-p/248966#M32862</link>
      <description>&lt;P&gt;Here you have further information regarding the export to an AG endpoint&amp;nbsp;&lt;A href="https://docs.dynatrace.com/docs/shortlink/otel-getstarted-otlpexport#export-to-activegate" target="_blank"&gt;https://docs.dynatrace.com/docs/shortlink/otel-getstarted-otlpexport#export-to-activegate&lt;/A&gt;&lt;/P&gt;&lt;P&gt;And for your use case this example should adhere the most&amp;nbsp;&lt;A href="https://docs.dynatrace.com/docs/shortlink/otel-wt-nodejs" target="_blank"&gt;https://docs.dynatrace.com/docs/shortlink/otel-wt-nodejs&lt;/A&gt;&lt;/P&gt;&lt;P&gt;What you need to take care of is the context extraction and propagation to have the correlation between services.&lt;/P&gt;</description>
      <pubDate>Mon, 24 Jun 2024 10:35:15 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Open-Q-A/Next-js-and-opentelemetry/m-p/248966#M32862</guid>
      <dc:creator>mark_bley</dc:creator>
      <dc:date>2024-06-24T10:35:15Z</dc:date>
    </item>
    <item>
      <title>Re: Next.js and opentelemetry</title>
      <link>https://community.dynatrace.com/t5/Open-Q-A/Next-js-and-opentelemetry/m-p/249424#M32928</link>
      <description>&lt;P&gt;Thanks for the information, are you saying that to monitor Next.js we can use the Node.js docuentation?&lt;/P&gt;</description>
      <pubDate>Fri, 28 Jun 2024 14:49:24 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Open-Q-A/Next-js-and-opentelemetry/m-p/249424#M32928</guid>
      <dc:creator>nm-seme</dc:creator>
      <dc:date>2024-06-28T14:49:24Z</dc:date>
    </item>
    <item>
      <title>Re: Next.js and opentelemetry</title>
      <link>https://community.dynatrace.com/t5/Open-Q-A/Next-js-and-opentelemetry/m-p/249430#M32930</link>
      <description>&lt;P&gt;It is the next best thing I would suggest that already exists as official documentation.&lt;/P&gt;&lt;P&gt;But feel free to go through some of the other samples if you feel more comfortable in another language&amp;nbsp;&lt;A href="https://docs.dynatrace.com/docs/shortlink/otel-walkthroughs" target="_blank"&gt;https://docs.dynatrace.com/docs/shortlink/otel-walkthroughs&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 28 Jun 2024 15:47:03 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Open-Q-A/Next-js-and-opentelemetry/m-p/249430#M32930</guid>
      <dc:creator>mark_bley</dc:creator>
      <dc:date>2024-06-28T15:47:03Z</dc:date>
    </item>
  </channel>
</rss>

