Skip to content

Commit

Permalink
misc(coordinator): move kamon.init() to top
Browse files Browse the repository at this point in the history
  • Loading branch information
Szymon Matejczyk committed Sep 12, 2020
1 parent fd58c8b commit d0232bc
Showing 1 changed file with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -242,6 +242,7 @@ final class FilodbCluster(val system: ExtendedActorSystem, overrideConfig: Confi
* Used by all `ClusterRole` nodes starting an ActorSystem and FiloDB Cluster nodes.
*/
private[filodb] trait FilodbClusterNode extends NodeConfiguration with StrictLogging {
Kamon.init()

def role: ClusterRole

Expand All @@ -262,8 +263,6 @@ private[filodb] trait FilodbClusterNode extends NodeConfiguration with StrictLog
ActorSystem(role.systemName, allConfig)
}

Kamon.init()

lazy val cluster = FilodbCluster(system)

implicit lazy val ec = cluster.ec
Expand Down

0 comments on commit d0232bc

Please sign in to comment.