Class SentryTelemetryService

java.lang.Object
io.sentry.telemetry.SentryTelemetryService

public class SentryTelemetryService extends Object
  • Field Details

  • Method Details

    • getInstance

      @NotNull public static @NotNull SentryTelemetryService getInstance()
    • start

      public void start(@NotNull @NotNull PluginConfig pluginConfig, @NotNull @NotNull org.apache.maven.project.MavenProject mavenProject, @NotNull @NotNull org.apache.maven.execution.MavenSession mavenSession, @NotNull @NotNull org.apache.maven.plugin.BuildPluginManager pluginManager)
    • startTask

      @Nullable public @Nullable io.sentry.ISpan startTask(@NotNull @NotNull String operation)
    • endTask

      public void endTask(@Nullable @Nullable io.sentry.ISpan span)
    • captureError

      public void captureError(@NotNull @NotNull Throwable exception, @NotNull @NotNull String operation)
    • markFailed

      public void markFailed()
    • close

      public void close()
    • traceCli

      @NotNull public @NotNull List<String> traceCli()
    • addTag

      public void addTag(@NotNull @NotNull String key, @NotNull @NotNull String value)