Skip to content

Commit

Permalink
bumped telemetry to 1.2.1
Browse files Browse the repository at this point in the history
Signed-off-by: Andre Dietisheim <[email protected]>
  • Loading branch information
adietish committed Aug 20, 2024
1 parent cc6a65b commit d654a38
Showing 1 changed file with 4 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@
******************************************************************************/
package com.redhat.devtools.intellij.quarkus;

import com.intellij.ide.plugins.PluginManager;
import com.redhat.devtools.intellij.telemetry.core.service.TelemetryMessageBuilder;
import com.redhat.devtools.intellij.telemetry.core.util.Lazy;

Expand All @@ -24,7 +25,9 @@ public class TelemetryService {

private static final TelemetryService INSTANCE = new TelemetryService();

private final Lazy<TelemetryMessageBuilder> builder = new Lazy<>(() -> new TelemetryMessageBuilder(TelemetryService.class.getClassLoader()));
private final Lazy<TelemetryMessageBuilder> builder = new Lazy<>(() ->
new TelemetryMessageBuilder(PluginManager.getPluginByClass(this.getClass()))
);

public static TelemetryMessageBuilder instance() {
return INSTANCE.builder.get();
Expand Down

0 comments on commit d654a38

Please sign in to comment.