From 9583ad12e81c174ce39e08d71b005ca379a68565 Mon Sep 17 00:00:00 2001 From: Stas Date: Mon, 23 Dec 2024 11:14:12 +0100 Subject: [PATCH] fix: start PromEx after Registries --- VERSION | 2 +- lib/supavisor/application.ex | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/VERSION b/VERSION index a3b08623..ccc2150f 100644 --- a/VERSION +++ b/VERSION @@ -1 +1 @@ -1.1.69 +1.1.70 diff --git a/lib/supavisor/application.ex b/lib/supavisor/application.ex index d5124e65..2d48b9d2 100644 --- a/lib/supavisor/application.ex +++ b/lib/supavisor/application.ex @@ -58,7 +58,6 @@ defmodule Supavisor.Application do children = [ Supavisor.ErlSysMon, - PromEx, {Registry, keys: :unique, name: Supavisor.Registry.Tenants}, {Registry, keys: :unique, name: Supavisor.Registry.ManagerTables}, {Registry, keys: :unique, name: Supavisor.Registry.PoolPids}, @@ -67,6 +66,7 @@ defmodule Supavisor.Application do keys: :duplicate, name: Supavisor.Registry.TenantClients, partitions: System.schedulers_online()}, + PromEx, {Cluster.Supervisor, [topologies, [name: Supavisor.ClusterSupervisor]]}, Supavisor.Repo, # Start the Telemetry supervisor