<?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: Metrics stop loading to Postgres in ArcGIS Monitor Questions</title>
    <link>https://community.esri.com/t5/arcgis-monitor-questions/metrics-stop-loading-to-postgres/m-p/1625924#M2812</link>
    <description>&lt;P&gt;I'm getting the same error on ArcGIS Monitor 2024.1.1.&amp;nbsp; I opened a case with Esri Support on 6/17 explaining that this looks like a database error, but the analyst has still not looked at the database.&amp;nbsp; When ArcGIS Monitor attempts to insert a new metric reading into the database, it fails.&amp;nbsp; All the charts in Monitor show "No data available".&amp;nbsp; I assume that is because Monitor has stopped inserting data.&lt;/P&gt;&lt;P&gt;postgresql_data\log files show&lt;/P&gt;&lt;P&gt;ERROR: nextval: reached maximum value of sequence "metrics_id_seq" (2147483647)&lt;BR /&gt;STATEMENT: insert into "metrics" ("base_r_id", "component_id", "observer_id", "r_id")&lt;/P&gt;</description>
    <pubDate>Mon, 23 Jun 2025 19:03:34 GMT</pubDate>
    <dc:creator>JamesBrattonVHB</dc:creator>
    <dc:date>2025-06-23T19:03:34Z</dc:date>
    <item>
      <title>Metrics stop loading to Postgres</title>
      <link>https://community.esri.com/t5/arcgis-monitor-questions/metrics-stop-loading-to-postgres/m-p/1591423#M2542</link>
      <description>&lt;P&gt;I am getting the following error:&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;ERROR: nextval: reached maximum value of sequence "metrics_id_seq" (2147483647).&lt;/P&gt;&lt;P&gt;The maximum ID for metrics is slightly lower than this value, but the sequencer seems to grab a block that puts it over the maximum state. In my metrics table, I see large gaps in the metrics ID each time I add a new server (host), service, portal, etc. I cleaned up some old components I did not need, but the sequencer does not seem to reuse old, unused IDs.&lt;/P&gt;&lt;P&gt;It seems that I either need to renumber all my metrics IDs and the corresponding child tables or set this ID to a much higher number. Has anyone else encountered this issue and found a solution? So far, I have received no help from the ticket I opened, and I do not want to touch the database without ESRI approval.&lt;/P&gt;</description>
      <pubDate>Mon, 03 Mar 2025 21:09:14 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-monitor-questions/metrics-stop-loading-to-postgres/m-p/1591423#M2542</guid>
      <dc:creator>TimLehn</dc:creator>
      <dc:date>2025-03-03T21:09:14Z</dc:date>
    </item>
    <item>
      <title>Re: Metrics stop loading to Postgres</title>
      <link>https://community.esri.com/t5/arcgis-monitor-questions/metrics-stop-loading-to-postgres/m-p/1592631#M2557</link>
      <description>&lt;P&gt;HI&amp;nbsp;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/354481"&gt;@TimLehn&lt;/a&gt;,&lt;/P&gt;&lt;P&gt;What version/release of ArcGIS Monitor are you using?&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;&amp;gt;&amp;nbsp;&lt;EM&gt;ERROR: nextval: reached maximum value of sequence "metrics_id_seq" (2147483647).&lt;/EM&gt;&lt;BR /&gt;&lt;BR /&gt;Where are you seeing this error message?&lt;BR /&gt;&lt;BR /&gt;&amp;gt;&amp;nbsp;&lt;EM&gt;In my metrics table, I see large gaps in the metrics ID each time I add a new server (host), service, portal, etc.&amp;nbsp;&lt;/EM&gt;&lt;BR /&gt;&lt;BR /&gt;Can you please elaborate - what do you mean by "metrics table"? Can you please provide a screenshot? I'm not clear on your issue.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 06 Mar 2025 04:29:46 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-monitor-questions/metrics-stop-loading-to-postgres/m-p/1592631#M2557</guid>
      <dc:creator>DerekLaw</dc:creator>
      <dc:date>2025-03-06T04:29:46Z</dc:date>
    </item>
    <item>
      <title>Re: Metrics stop loading to Postgres</title>
      <link>https://community.esri.com/t5/arcgis-monitor-questions/metrics-stop-loading-to-postgres/m-p/1592720#M2559</link>
      <description>&lt;P&gt;I recently had this issue where monitor stopped collecting all data for me. I changed the cycle value from no to yes.&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Postgres offers various methods to deal with the stated issue, such as resetting the sequence, altering the maximum value of the sequence, repeating the sequence, and so on. Method 1: Use Cycle Option - Specifying the cycle option will restart the sequence once it reaches the maximum limit.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://www.commandprompt.com/education/how-to-fix-nextval-reached-maximum-value-of-sequence-error-in-postgresql/" target="_blank"&gt;https://www.commandprompt.com/education/how-to-fix-nextval-reached-maximum-value-of-sequence-error-in-postgresql/&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 06 Mar 2025 13:44:12 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-monitor-questions/metrics-stop-loading-to-postgres/m-p/1592720#M2559</guid>
      <dc:creator>Craig_Lunde</dc:creator>
      <dc:date>2025-03-06T13:44:12Z</dc:date>
    </item>
    <item>
      <title>Re: Metrics stop loading to Postgres</title>
      <link>https://community.esri.com/t5/arcgis-monitor-questions/metrics-stop-loading-to-postgres/m-p/1617847#M2748</link>
      <description>&lt;P&gt;Hi all, I have encountered the same issue. I have the latest version of Monitor installed and i was forced to activate the cycled option in the sequence called&amp;nbsp;&lt;EM&gt;metrics_id_seq. using this command,&lt;BR /&gt;ALTER SEQUENCE metrics_id_seq CYCLE;&lt;BR /&gt;I am not sure if this is the best option to tackle this. there are absolutely other options.&lt;BR /&gt;I guess&amp;nbsp;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/1126"&gt;@DerekLaw&lt;/a&gt;&amp;nbsp;this is a bug or an enhancement that needs to be considered in the next version&amp;nbsp;&lt;BR /&gt;Thanks&lt;BR /&gt;Anas&lt;/EM&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 23 May 2025 06:56:40 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-monitor-questions/metrics-stop-loading-to-postgres/m-p/1617847#M2748</guid>
      <dc:creator>anasga_81182</dc:creator>
      <dc:date>2025-05-23T06:56:40Z</dc:date>
    </item>
    <item>
      <title>Re: Metrics stop loading to Postgres</title>
      <link>https://community.esri.com/t5/arcgis-monitor-questions/metrics-stop-loading-to-postgres/m-p/1618346#M2749</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/658002"&gt;@anasga_81182&lt;/a&gt;,&lt;BR /&gt;&lt;BR /&gt;It would help if you and&amp;nbsp;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/354481"&gt;@TimLehn&lt;/a&gt;&amp;nbsp;could please open a case with Esri Tech Support. They can collect more detailed information about your scenarios. We need to be able to reproduce this behavior to verify it's a bug.&lt;BR /&gt;&lt;BR /&gt;Thanks.&lt;/P&gt;</description>
      <pubDate>Mon, 26 May 2025 16:19:28 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-monitor-questions/metrics-stop-loading-to-postgres/m-p/1618346#M2749</guid>
      <dc:creator>DerekLaw</dc:creator>
      <dc:date>2025-05-26T16:19:28Z</dc:date>
    </item>
    <item>
      <title>Re: Metrics stop loading to Postgres</title>
      <link>https://community.esri.com/t5/arcgis-monitor-questions/metrics-stop-loading-to-postgres/m-p/1625924#M2812</link>
      <description>&lt;P&gt;I'm getting the same error on ArcGIS Monitor 2024.1.1.&amp;nbsp; I opened a case with Esri Support on 6/17 explaining that this looks like a database error, but the analyst has still not looked at the database.&amp;nbsp; When ArcGIS Monitor attempts to insert a new metric reading into the database, it fails.&amp;nbsp; All the charts in Monitor show "No data available".&amp;nbsp; I assume that is because Monitor has stopped inserting data.&lt;/P&gt;&lt;P&gt;postgresql_data\log files show&lt;/P&gt;&lt;P&gt;ERROR: nextval: reached maximum value of sequence "metrics_id_seq" (2147483647)&lt;BR /&gt;STATEMENT: insert into "metrics" ("base_r_id", "component_id", "observer_id", "r_id")&lt;/P&gt;</description>
      <pubDate>Mon, 23 Jun 2025 19:03:34 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-monitor-questions/metrics-stop-loading-to-postgres/m-p/1625924#M2812</guid>
      <dc:creator>JamesBrattonVHB</dc:creator>
      <dc:date>2025-06-23T19:03:34Z</dc:date>
    </item>
    <item>
      <title>Re: Metrics stop loading to Postgres</title>
      <link>https://community.esri.com/t5/arcgis-monitor-questions/metrics-stop-loading-to-postgres/m-p/1628824#M2837</link>
      <description>&lt;P&gt;Here it is - &lt;A href="https://support.esri.com/en-us/bug/unable-to-show-metrics-for-all-registered-components-bug-000175372" target="_blank"&gt;BUG-000175372 for ArcGIS Monitor&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 01 Jul 2025 12:45:03 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-monitor-questions/metrics-stop-loading-to-postgres/m-p/1628824#M2837</guid>
      <dc:creator>JamesBrattonVHB</dc:creator>
      <dc:date>2025-07-01T12:45:03Z</dc:date>
    </item>
  </channel>
</rss>

