<?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: Where to Store Custom Metric Files? in OpenTelemetry/Skyline</title>
    <link>https://community.checkpoint.com/t5/OpenTelemetry-Skyline/Where-to-Store-Custom-Metric-Files/m-p/275096#M743</link>
    <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.checkpoint.com/t5/user/viewprofilepage/user-id/27871"&gt;@Bob_Zimmerman&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;1) The JSON is needed only once to set the relevant instrument configuration&lt;/P&gt;
&lt;P&gt;2) Going forward, the recommended approach is to work on&amp;nbsp;&lt;SPAN&gt;/var/log/CPotlpAgent/backup/scripts/,&amp;nbsp; it is simply moved there to persist upgrade operations, you can delete and re-add - but there is no need.&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;</description>
    <pubDate>Wed, 08 Apr 2026 13:35:59 GMT</pubDate>
    <dc:creator>Elad_Chomsky</dc:creator>
    <dc:date>2026-04-08T13:35:59Z</dc:date>
    <item>
      <title>Where to Store Custom Metric Files?</title>
      <link>https://community.checkpoint.com/t5/OpenTelemetry-Skyline/Where-to-Store-Custom-Metric-Files/m-p/273638#M739</link>
      <description>&lt;P&gt;Building a custom metric for Skyline takes making a JSON file describing the metric, and some way to emit JSON data for the metric. For emitting the data, I'm using a shell script. Once I add the metric, Skyline moves my script to&amp;nbsp;/var/log/CPotlpAgent/backup/scripts/.&lt;/P&gt;
&lt;P&gt;What about the JSON description file? Do we need to keep it on the system? If so, is there a particular place we should store it?&lt;/P&gt;
&lt;P&gt;What's the right way to roll out a new version of the metric script? Should we just overwrite the file in /var/log/CPotlpAgent/backup/scripts/, or should we remove the metric and add it again?&lt;/P&gt;</description>
      <pubDate>Tue, 17 Mar 2026 21:18:13 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/OpenTelemetry-Skyline/Where-to-Store-Custom-Metric-Files/m-p/273638#M739</guid>
      <dc:creator>Bob_Zimmerman</dc:creator>
      <dc:date>2026-03-17T21:18:13Z</dc:date>
    </item>
    <item>
      <title>Re: Where to Store Custom Metric Files?</title>
      <link>https://community.checkpoint.com/t5/OpenTelemetry-Skyline/Where-to-Store-Custom-Metric-Files/m-p/273693#M740</link>
      <description>&lt;P&gt;During my last tests i experienced that after adding the custom script, the json file is no longer required and i would definitely prefer to remove the metric and add it again once i make some modifications.&lt;/P&gt;</description>
      <pubDate>Wed, 18 Mar 2026 09:33:37 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/OpenTelemetry-Skyline/Where-to-Store-Custom-Metric-Files/m-p/273693#M740</guid>
      <dc:creator>Vincent_Bacher</dc:creator>
      <dc:date>2026-03-18T09:33:37Z</dc:date>
    </item>
    <item>
      <title>Re: Where to Store Custom Metric Files?</title>
      <link>https://community.checkpoint.com/t5/OpenTelemetry-Skyline/Where-to-Store-Custom-Metric-Files/m-p/275096#M743</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.checkpoint.com/t5/user/viewprofilepage/user-id/27871"&gt;@Bob_Zimmerman&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;1) The JSON is needed only once to set the relevant instrument configuration&lt;/P&gt;
&lt;P&gt;2) Going forward, the recommended approach is to work on&amp;nbsp;&lt;SPAN&gt;/var/log/CPotlpAgent/backup/scripts/,&amp;nbsp; it is simply moved there to persist upgrade operations, you can delete and re-add - but there is no need.&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 08 Apr 2026 13:35:59 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/OpenTelemetry-Skyline/Where-to-Store-Custom-Metric-Files/m-p/275096#M743</guid>
      <dc:creator>Elad_Chomsky</dc:creator>
      <dc:date>2026-04-08T13:35:59Z</dc:date>
    </item>
    <item>
      <title>Re: Where to Store Custom Metric Files?</title>
      <link>https://community.checkpoint.com/t5/OpenTelemetry-Skyline/Where-to-Store-Custom-Metric-Files/m-p/275107#M745</link>
      <description>&lt;P&gt;Can we put the script directly into&amp;nbsp;&lt;SPAN&gt;/var/log/CPotlpAgent/backup/scripts/ from the start? I understand simply having the script there isn't enough, but is it safe to add them from there? It so, that would make deployment a little easier. Just rsync the custom metrics from some repository to there, and run the command to add them. If the system already has the custom metrics, it now has the latest version. If it didn't, they get added.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Is it safe to add a cache directory under there? For example, I want to add a metric for the installed jumbo. That's relatively expensive to get, and it changes infrequently, so I want to cache it and return the cached value. I can just throw it in /tmp or something, but it would be nice for clarity to be able to keep the cache with the scripts.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 08 Apr 2026 14:33:46 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/OpenTelemetry-Skyline/Where-to-Store-Custom-Metric-Files/m-p/275107#M745</guid>
      <dc:creator>Bob_Zimmerman</dc:creator>
      <dc:date>2026-04-08T14:33:46Z</dc:date>
    </item>
  </channel>
</rss>

