<?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: Differences in Apigee proxy traffic metrics between Dynatrace and Google Cloud Monitoring in Extensions</title>
    <link>https://community.dynatrace.com/t5/Extensions/Differences-in-Apigee-proxy-traffic-metrics-between-Dynatrace/m-p/291482#M6930</link>
    <description>&lt;DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;Hi&lt;/SPAN&gt;&lt;/DIV&gt;&lt;BR /&gt;&lt;DIV&gt;&lt;SPAN&gt;Thank you for your reply.&amp;nbsp;&lt;a href="https://community.dynatrace.com/t5/user/viewprofilepage/user-id/95832"&gt;@achoud22&lt;/a&gt;&amp;nbsp; is our team member you can ignore and will close that ticket. sorry for the duplicate post.&lt;/SPAN&gt;&lt;/DIV&gt;&lt;BR /&gt;&lt;DIV&gt;&lt;SPAN&gt;Please find below queries used to get the metrics.&lt;/SPAN&gt;&lt;/DIV&gt;&lt;BR /&gt;&lt;DIV&gt;&lt;STRONG&gt;1. We are using same environment, proxy, time window (1 hr duration)&lt;/STRONG&gt;&lt;/DIV&gt;&lt;BR /&gt;&lt;DIV&gt;&lt;SPAN&gt;2.&lt;/SPAN&gt;&lt;SPAN&gt; Query :&lt;/SPAN&gt;&lt;/DIV&gt;&lt;BR /&gt;&lt;DIV&gt;&lt;SPAN&gt;timeseries {&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;totalTraffic = sum(cloud.gcp.apigee_googleapis_com.proxyv2.request_count, scalar: true)},&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;filter: { matchesValue(env, "api-platform-production")&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;AND&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;matchesValue(proxy_name, "inspire-customer-voice-customer-voice-apigee") },&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;by: {cloud.gcp.apigee_googleapis_com.proxyv2.request_count},&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;from:-1h&lt;/SPAN&gt;&lt;/DIV&gt;&lt;BR /&gt;&lt;DIV&gt;&lt;STRONG&gt;The above query gives total count as 337 approx&lt;/STRONG&gt;&lt;/DIV&gt;&lt;BR /&gt;&lt;DIV&gt;&lt;STRONG&gt;Cloud Monitoring Api Metrics: 183 approx&lt;/STRONG&gt;&lt;/DIV&gt;&lt;BR /&gt;&lt;DIV&gt;&lt;STRONG&gt;Grafana: Count is 182 approx&lt;/STRONG&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;sum(count_over_time({job="apigeelog", cluster="services", environment=~"$ENV", proxy_name=~"$API"}&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;|~ "$search"&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;[&lt;/SPAN&gt;&lt;SPAN&gt;$__range&lt;/SPAN&gt;&lt;SPAN&gt;]))&lt;/SPAN&gt;&lt;/DIV&gt;&lt;BR /&gt;&lt;DIV&gt;&lt;SPAN&gt;So, the cloud api metrics and grafana nearly equal. Its the DQL returning higher number.&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;Let me know if you need more information.&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;Thanks&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;Vam&lt;/SPAN&gt;&lt;/DIV&gt;&lt;/DIV&gt;</description>
    <pubDate>Mon, 15 Dec 2025 12:02:03 GMT</pubDate>
    <dc:creator>vchitti</dc:creator>
    <dc:date>2025-12-15T12:02:03Z</dc:date>
    <item>
      <title>Differences in Apigee proxy traffic metrics between Dynatrace and Google Cloud Monitoring</title>
      <link>https://community.dynatrace.com/t5/Extensions/Differences-in-Apigee-proxy-traffic-metrics-between-Dynatrace/m-p/291298#M6922</link>
      <description>&lt;P&gt;&lt;SPAN&gt;Hello Community,&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;I’m working with Apigee metrics in Dynatrace and I’ve noticed some differences compared to what I see in Google Cloud Monitoring. Specifically, I’m looking at the proxy traffic metric:&lt;/SPAN&gt;&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;
&lt;P&gt;&lt;SPAN&gt;In Dynatrace: cloud.gcp.apigee_googleapis_com.proxyv2.request_count&lt;/SPAN&gt;&lt;/P&gt;
&lt;/LI&gt;
&lt;LI&gt;
&lt;P&gt;&lt;SPAN&gt;In Google Cloud Monitoring: /proxy/request_count&lt;/SPAN&gt;&lt;/P&gt;
&lt;/LI&gt;
&lt;/UL&gt;
&lt;P&gt;&lt;SPAN&gt;When I query these metrics for the same proxy and environment, the numbers don’t always line up. In most cases, Dynatrace seems to report higher totals than Cloud Monitoring, and I’m trying to understand why.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;My questions are:&lt;/SPAN&gt;&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;
&lt;P&gt;&lt;SPAN&gt;Are there differences in how Dynatrace ingests or aggregates Apigee metrics compared to Google Cloud Monitoring?&lt;/SPAN&gt;&lt;/P&gt;
&lt;/LI&gt;
&lt;LI&gt;&lt;SPAN&gt;Does Dynatrace includes every traced hop (eg: backend calls, retries, OAuth, ServiceCallout etc)&lt;/SPAN&gt;&lt;/LI&gt;
&lt;LI&gt;
&lt;P&gt;&lt;SPAN&gt;Is there any guidance on how to reconcile request counts between Dynatrace and Google Cloud Monitoring so that dashboards and alerts are consistent?&lt;/SPAN&gt;&lt;/P&gt;
&lt;/LI&gt;
&lt;/UL&gt;
&lt;P&gt;&lt;SPAN&gt;Any insights or best practices from others who have compared these two would be really helpful.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Thanks in advance!&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 12 Dec 2025 07:29:38 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Extensions/Differences-in-Apigee-proxy-traffic-metrics-between-Dynatrace/m-p/291298#M6922</guid>
      <dc:creator>vchitti</dc:creator>
      <dc:date>2025-12-12T07:29:38Z</dc:date>
    </item>
    <item>
      <title>Re: Differences in Apigee proxy traffic metrics between Dynatrace and Google Cloud Monitoring</title>
      <link>https://community.dynatrace.com/t5/Extensions/Differences-in-Apigee-proxy-traffic-metrics-between-Dynatrace/m-p/291387#M6927</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.dynatrace.com/t5/user/viewprofilepage/user-id/95332"&gt;@vchitti&lt;/a&gt;,&lt;/P&gt;&lt;P&gt;Good question. Based on Dynatrace documentation and how GCP metric ingestion works, the difference you’re seeing is &lt;EM&gt;possible&lt;/EM&gt;, but it can’t be explained without looking at &lt;STRONG&gt;metric semantics and aggregation behavior&lt;/STRONG&gt;.&lt;/P&gt;&lt;P&gt;A few important points to keep in mind:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;&lt;P&gt;&lt;STRONG&gt;Metric origin&lt;/STRONG&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;&lt;P&gt;cloud.gcp.apigee_googleapis_com.proxyv2.request_count in Dynatrace is ingested from &lt;STRONG&gt;Google Cloud Monitoring&lt;/STRONG&gt;, not calculated by Dynatrace itself.&lt;/P&gt;&lt;/LI&gt;&lt;LI&gt;&lt;P&gt;Dynatrace relies on the values returned by the GCP Monitoring API and then applies its own &lt;STRONG&gt;time alignment and roll-up logic&lt;/STRONG&gt;.&lt;/P&gt;&lt;/LI&gt;&lt;LI&gt;&lt;P&gt;Google Cloud Monitoring UI may display the same metric using a &lt;STRONG&gt;different alignment period or aggregation function&lt;/STRONG&gt;.&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;/LI&gt;&lt;LI&gt;&lt;P&gt;&lt;STRONG&gt;Aggregation and alignment&lt;/STRONG&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;&lt;P&gt;Differences often come from &lt;STRONG&gt;alignment period (per-minute vs per-window)&lt;/STRONG&gt; and whether the metric is treated as &lt;STRONG&gt;delta vs cumulative&lt;/STRONG&gt;.&lt;/P&gt;&lt;/LI&gt;&lt;LI&gt;&lt;P&gt;Even with the same metric name, querying with different alignment settings can lead to higher totals on one side.&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;/LI&gt;&lt;LI&gt;&lt;P&gt;&lt;STRONG&gt;Internal hops / retries&lt;/STRONG&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;&lt;P&gt;Dynatrace does &lt;STRONG&gt;not trace Apigee internal hops&lt;/STRONG&gt; (OAuth, ServiceCallout, backend retries, etc.) at the proxy runtime level.&lt;/P&gt;&lt;/LI&gt;&lt;LI&gt;&lt;P&gt;If those are included, they would already be reflected in the &lt;STRONG&gt;source GCP metric&lt;/STRONG&gt;, not added by Dynatrace.&lt;/P&gt;&lt;/LI&gt;&lt;LI&gt;&lt;P&gt;So Dynatrace itself should not be counting “extra hops”, but the metric definition itself needs to be confirmed.&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;/LI&gt;&lt;LI&gt;&lt;P&gt;&lt;STRONG&gt;Reconciliation guidance&lt;/STRONG&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;&lt;P&gt;To get consistent numbers, make sure:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;&lt;P&gt;You use the &lt;STRONG&gt;same alignment period and aggregation&lt;/STRONG&gt; in Dynatrace as in Cloud Monitoring&lt;/P&gt;&lt;/LI&gt;&lt;LI&gt;&lt;P&gt;You compare over &lt;STRONG&gt;longer time windows&lt;/STRONG&gt;&lt;/P&gt;&lt;/LI&gt;&lt;LI&gt;&lt;P&gt;You verify whether the metric is cumulative or delta in both tools&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;At this point, it’s safest to say the difference is &lt;STRONG&gt;most likely due to aggregation/alignment differences&lt;/STRONG&gt;, not additional tracing done by Dynatrace.&lt;/P&gt;&lt;P&gt;If you can share:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;&lt;P&gt;The alignment/rollup used in Dynatrace&lt;/P&gt;&lt;/LI&gt;&lt;LI&gt;&lt;P&gt;The exact aggregation settings in Cloud Monitoring&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;then it should be possible to confirm whether the numbers are expected to match or not.&lt;/P&gt;&lt;P&gt;FYI :&amp;nbsp;&lt;a href="https://community.dynatrace.com/t5/user/viewprofilepage/user-id/95832"&gt;@achoud22&lt;/a&gt;&amp;nbsp;talks about a similar issue :&amp;nbsp;&lt;A href="https://community.dynatrace.com/t5/Open-Q-A/Proxy-Request-Metrics-in-Dynatrace-Are-Almost-Double-Compared-to/td-p/291356" target="_blank" rel="noopener"&gt;https://community.dynatrace.com/t5/Open-Q-A/Proxy-Request-Metrics-in-Dynatrace-Are-Almost-Double-Compared-to/td-p/291356&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Best regards,&lt;/P&gt;</description>
      <pubDate>Fri, 12 Dec 2025 14:09:21 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Extensions/Differences-in-Apigee-proxy-traffic-metrics-between-Dynatrace/m-p/291387#M6927</guid>
      <dc:creator>JeanBlanc</dc:creator>
      <dc:date>2025-12-12T14:09:21Z</dc:date>
    </item>
    <item>
      <title>Re: Differences in Apigee proxy traffic metrics between Dynatrace and Google Cloud Monitoring</title>
      <link>https://community.dynatrace.com/t5/Extensions/Differences-in-Apigee-proxy-traffic-metrics-between-Dynatrace/m-p/291482#M6930</link>
      <description>&lt;DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;Hi&lt;/SPAN&gt;&lt;/DIV&gt;&lt;BR /&gt;&lt;DIV&gt;&lt;SPAN&gt;Thank you for your reply.&amp;nbsp;&lt;a href="https://community.dynatrace.com/t5/user/viewprofilepage/user-id/95832"&gt;@achoud22&lt;/a&gt;&amp;nbsp; is our team member you can ignore and will close that ticket. sorry for the duplicate post.&lt;/SPAN&gt;&lt;/DIV&gt;&lt;BR /&gt;&lt;DIV&gt;&lt;SPAN&gt;Please find below queries used to get the metrics.&lt;/SPAN&gt;&lt;/DIV&gt;&lt;BR /&gt;&lt;DIV&gt;&lt;STRONG&gt;1. We are using same environment, proxy, time window (1 hr duration)&lt;/STRONG&gt;&lt;/DIV&gt;&lt;BR /&gt;&lt;DIV&gt;&lt;SPAN&gt;2.&lt;/SPAN&gt;&lt;SPAN&gt; Query :&lt;/SPAN&gt;&lt;/DIV&gt;&lt;BR /&gt;&lt;DIV&gt;&lt;SPAN&gt;timeseries {&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;totalTraffic = sum(cloud.gcp.apigee_googleapis_com.proxyv2.request_count, scalar: true)},&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;filter: { matchesValue(env, "api-platform-production")&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;AND&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;matchesValue(proxy_name, "inspire-customer-voice-customer-voice-apigee") },&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;by: {cloud.gcp.apigee_googleapis_com.proxyv2.request_count},&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;from:-1h&lt;/SPAN&gt;&lt;/DIV&gt;&lt;BR /&gt;&lt;DIV&gt;&lt;STRONG&gt;The above query gives total count as 337 approx&lt;/STRONG&gt;&lt;/DIV&gt;&lt;BR /&gt;&lt;DIV&gt;&lt;STRONG&gt;Cloud Monitoring Api Metrics: 183 approx&lt;/STRONG&gt;&lt;/DIV&gt;&lt;BR /&gt;&lt;DIV&gt;&lt;STRONG&gt;Grafana: Count is 182 approx&lt;/STRONG&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;sum(count_over_time({job="apigeelog", cluster="services", environment=~"$ENV", proxy_name=~"$API"}&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;|~ "$search"&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;[&lt;/SPAN&gt;&lt;SPAN&gt;$__range&lt;/SPAN&gt;&lt;SPAN&gt;]))&lt;/SPAN&gt;&lt;/DIV&gt;&lt;BR /&gt;&lt;DIV&gt;&lt;SPAN&gt;So, the cloud api metrics and grafana nearly equal. Its the DQL returning higher number.&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;Let me know if you need more information.&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;Thanks&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;Vam&lt;/SPAN&gt;&lt;/DIV&gt;&lt;/DIV&gt;</description>
      <pubDate>Mon, 15 Dec 2025 12:02:03 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Extensions/Differences-in-Apigee-proxy-traffic-metrics-between-Dynatrace/m-p/291482#M6930</guid>
      <dc:creator>vchitti</dc:creator>
      <dc:date>2025-12-15T12:02:03Z</dc:date>
    </item>
  </channel>
</rss>

