<?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: Reading app state sizes in Developer Q&amp;A Forum</title>
    <link>https://community.dynatrace.com/t5/Developer-Q-A-Forum/Reading-app-state-sizes/m-p/210394#M285</link>
    <description>&lt;P&gt;Thansk!&lt;/P&gt;
&lt;P&gt;I would like to jump in to ask a follow up question: when reading the SDK's signature, I see&lt;/P&gt;
&lt;LI-CODE lang="javascript"&gt;stateClient.setAppState(config): Promise&amp;lt;void&amp;gt;&lt;/LI-CODE&gt;
&lt;P&gt;Does it mean that the SDK will throw an error in this case?&lt;/P&gt;
&lt;P&gt;If so, I would love to have a typed error for this specific case.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks!&lt;/P&gt;</description>
    <pubDate>Fri, 21 Apr 2023 08:02:32 GMT</pubDate>
    <dc:creator>david_petroni</dc:creator>
    <dc:date>2023-04-21T08:02:32Z</dc:date>
    <item>
      <title>Reading app state sizes</title>
      <link>https://community.dynatrace.com/t5/Developer-Q-A-Forum/Reading-app-state-sizes/m-p/202517#M131</link>
      <description>&lt;P&gt;According to &lt;A href="https://developer.dynatrace.com/platform-services/services/state/" target="_self"&gt;the documentation&lt;/A&gt;, the maximum storage size for user states is 32KB, and for app states is 50MB. Is there a way to read the current app state usage of my app?&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 02 May 2023 13:30:36 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Developer-Q-A-Forum/Reading-app-state-sizes/m-p/202517#M131</guid>
      <dc:creator>3ene</dc:creator>
      <dc:date>2023-05-02T13:30:36Z</dc:date>
    </item>
    <item>
      <title>Re: Reading app state sizes</title>
      <link>https://community.dynatrace.com/t5/Developer-Q-A-Forum/Reading-app-state-sizes/m-p/202551#M135</link>
      <description>&lt;P&gt;Hello&amp;nbsp;&lt;a href="https://community.dynatrace.com/t5/user/viewprofilepage/user-id/58268"&gt;@3ene&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;&lt;P&gt;No, there is currently no way to read the current app state usage of the app.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 16 Jan 2023 15:24:23 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Developer-Q-A-Forum/Reading-app-state-sizes/m-p/202551#M135</guid>
      <dc:creator>gregor_riegler</dc:creator>
      <dc:date>2023-01-16T15:24:23Z</dc:date>
    </item>
    <item>
      <title>Re: Reading app state sizes</title>
      <link>https://community.dynatrace.com/t5/Developer-Q-A-Forum/Reading-app-state-sizes/m-p/210394#M285</link>
      <description>&lt;P&gt;Thansk!&lt;/P&gt;
&lt;P&gt;I would like to jump in to ask a follow up question: when reading the SDK's signature, I see&lt;/P&gt;
&lt;LI-CODE lang="javascript"&gt;stateClient.setAppState(config): Promise&amp;lt;void&amp;gt;&lt;/LI-CODE&gt;
&lt;P&gt;Does it mean that the SDK will throw an error in this case?&lt;/P&gt;
&lt;P&gt;If so, I would love to have a typed error for this specific case.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks!&lt;/P&gt;</description>
      <pubDate>Fri, 21 Apr 2023 08:02:32 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Developer-Q-A-Forum/Reading-app-state-sizes/m-p/210394#M285</guid>
      <dc:creator>david_petroni</dc:creator>
      <dc:date>2023-04-21T08:02:32Z</dc:date>
    </item>
    <item>
      <title>Re: Reading app state sizes</title>
      <link>https://community.dynatrace.com/t5/Developer-Q-A-Forum/Reading-app-state-sizes/m-p/210414#M286</link>
      <description>&lt;P&gt;Hi David, short answer, yes, it may throw an error. Unfortunately, there's no way to specify what type of errors a function might throw in TypeScript. However, Dynatrace SDKs provide utils functions for error handling. You can see how to use them in &lt;A href="https://community.dynatrace.com/t5/Developers-Q-A-Forum/Error-handling-for-DQL-query-client/m-p/208280/highlight/true#M265" target="_self"&gt;this post&lt;/A&gt;&amp;nbsp;about handling errors in the query client. It's not the same SDK, but it's the same principle.&lt;/P&gt;</description>
      <pubDate>Fri, 21 Apr 2023 12:58:37 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Developer-Q-A-Forum/Reading-app-state-sizes/m-p/210414#M286</guid>
      <dc:creator>educampver</dc:creator>
      <dc:date>2023-04-21T12:58:37Z</dc:date>
    </item>
    <item>
      <title>Re: Reading app state sizes</title>
      <link>https://community.dynatrace.com/t5/Developer-Q-A-Forum/Reading-app-state-sizes/m-p/210528#M291</link>
      <description>&lt;P&gt;Great! Where do I find out what "names" are there to be matched? Thansk!&lt;/P&gt;</description>
      <pubDate>Mon, 24 Apr 2023 14:12:18 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Developer-Q-A-Forum/Reading-app-state-sizes/m-p/210528#M291</guid>
      <dc:creator>david_petroni</dc:creator>
      <dc:date>2023-04-24T14:12:18Z</dc:date>
    </item>
  </channel>
</rss>

