Skip to content

Commit 5ae16c3

Browse files
committed
fix: initialize otel sooner
1 parent 5d8f1d7 commit 5ae16c3

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/main/java/io/supertokens/Main.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -167,6 +167,8 @@ private void init() throws IOException, StorageQueryException {
167167

168168
Logging.info(this, TenantIdentifier.BASE_TENANT, "Completed config.yaml loading.", true);
169169

170+
TelemetryProvider.initialize(this);
171+
170172
// loading storage layer
171173
try {
172174
StorageLayer.initPrimary(this, CLIOptions.get(this).getInstallationPath() + "plugin/",
@@ -175,8 +177,6 @@ private void init() throws IOException, StorageQueryException {
175177
throw new QuitProgramException(e);
176178
}
177179

178-
TelemetryProvider.initialize(this);
179-
180180
// init file logging
181181
Logging.initFileLogging(this);
182182

0 commit comments

Comments
 (0)