This commit is contained in:
2026-07-14 22:50:46 +04:00
parent 27143319e3
commit bd19e0682b
3116 changed files with 467189 additions and 0 deletions

View File

@@ -0,0 +1,18 @@
%% @private
-module(telemetry_poller_sup).
-behaviour(supervisor).
-export([start_link/1]).
-export([init/1]).
-define(SERVER, ?MODULE).
start_link(PollerChildSpec) ->
supervisor:start_link({local, ?SERVER}, ?MODULE, PollerChildSpec).
init(PollerChildSpec) ->
SupFlags = #{strategy => one_for_one,
intensity => 1,
period => 5},
{ok, {SupFlags, PollerChildSpec}}.