<?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 Bizevents http status type and metric dimension in Open Q&amp;A</title>
    <link>https://community.dynatrace.com/t5/Open-Q-A/Bizevents-http-status-type-and-metric-dimension/m-p/272636#M35998</link>
    <description>&lt;P&gt;Hello,&lt;BR /&gt;&lt;BR /&gt;When capturing HTTP status code by OneAgent bizevent capture from HTTP requests, the type of the captured field is double. Then if such a bizevent field is displayed without further conversion, values such as "200.0", or "400.0" look strange at least to me.&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;If you create a metric using OpenPipeline and add this HTTP status (double type) as a dimension, you will still have dimensions with a point.&lt;/P&gt;&lt;P&gt;If you convert the double HTTP status using toLong() function and add such a dimension to a metric, it will never show up as a field in the legend.&lt;BR /&gt;&lt;BR /&gt;The only workaround I was able to do is to convert it to long and then to string. Such string value can be then used as a dimension for splitting and successfully shows in the Legend.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;So - my 2 questions&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;In what universe is HTTP status a double type so that OneAgent bizevent capture stores it as double? (RFC specifies integer &lt;A href="https://datatracker.ietf.org/doc/html/rfc7231#section-6" target="_self"&gt;here&lt;/A&gt;)&lt;/LI&gt;&lt;LI&gt;Why a dimension of long type can't be used directly in the legend? Why is it not automatically converted to string as it is for double?&lt;/LI&gt;&lt;/UL&gt;</description>
    <pubDate>Sun, 16 Mar 2025 20:38:29 GMT</pubDate>
    <dc:creator>Julius_Loman</dc:creator>
    <dc:date>2025-03-16T20:38:29Z</dc:date>
    <item>
      <title>Bizevents http status type and metric dimension</title>
      <link>https://community.dynatrace.com/t5/Open-Q-A/Bizevents-http-status-type-and-metric-dimension/m-p/272636#M35998</link>
      <description>&lt;P&gt;Hello,&lt;BR /&gt;&lt;BR /&gt;When capturing HTTP status code by OneAgent bizevent capture from HTTP requests, the type of the captured field is double. Then if such a bizevent field is displayed without further conversion, values such as "200.0", or "400.0" look strange at least to me.&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;If you create a metric using OpenPipeline and add this HTTP status (double type) as a dimension, you will still have dimensions with a point.&lt;/P&gt;&lt;P&gt;If you convert the double HTTP status using toLong() function and add such a dimension to a metric, it will never show up as a field in the legend.&lt;BR /&gt;&lt;BR /&gt;The only workaround I was able to do is to convert it to long and then to string. Such string value can be then used as a dimension for splitting and successfully shows in the Legend.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;So - my 2 questions&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;In what universe is HTTP status a double type so that OneAgent bizevent capture stores it as double? (RFC specifies integer &lt;A href="https://datatracker.ietf.org/doc/html/rfc7231#section-6" target="_self"&gt;here&lt;/A&gt;)&lt;/LI&gt;&lt;LI&gt;Why a dimension of long type can't be used directly in the legend? Why is it not automatically converted to string as it is for double?&lt;/LI&gt;&lt;/UL&gt;</description>
      <pubDate>Sun, 16 Mar 2025 20:38:29 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Open-Q-A/Bizevents-http-status-type-and-metric-dimension/m-p/272636#M35998</guid>
      <dc:creator>Julius_Loman</dc:creator>
      <dc:date>2025-03-16T20:38:29Z</dc:date>
    </item>
  </channel>
</rss>

