Interface CSTelemetryServiceType

All Superinterfaces:
com.io7m.repetoir.core.RPServiceType
All Known Implementing Classes:
CSTelemetryNoOp, CSTelemetryService

public interface CSTelemetryServiceType extends com.io7m.repetoir.core.RPServiceType
The type of server telemetry services.
  • Method Summary

    Modifier and Type
    Method
    Description
    io.opentelemetry.api.logs.Logger
     
    io.opentelemetry.api.metrics.Meter
     
    static void
    Record an exception to the current span, and mark the span as having an error status.
    io.opentelemetry.api.trace.Tracer
     

    Methods inherited from interface com.io7m.repetoir.core.RPServiceType

    description
  • Method Details

    • tracer

      io.opentelemetry.api.trace.Tracer tracer()
      Returns:
      The main tracer
    • meter

      io.opentelemetry.api.metrics.Meter meter()
      Returns:
      The main meter
    • logger

      io.opentelemetry.api.logs.Logger logger()
      Returns:
      The main logger
    • recordExceptionAndSetError

      static void recordExceptionAndSetError(Throwable e)
      Record an exception to the current span, and mark the span as having an error status.
      Parameters:
      e - The exception