Package com.io7m.idstore.server.internal

# Class IdServerTelemetryService

java.lang.Object
com.io7m.idstore.server.internal.IdServerTelemetryService

All Implemented Interfaces:
  `IdServiceType`

public final class IdServerTelemetryService extends Object implements IdServiceType
An OpenTelemetry service.

- ## Method Summary

  Modifier and Type
  Method
  Description
  `static IdServerTelemetryService`
  `create(IdServerConfiguration configuration)`
  Create a telemetry service.
  `String`
  `description()`
  `static IdServerTelemetryService`
  `noop()`
  `io.opentelemetry.api.OpenTelemetry`
  `openTelemetry()`
  `String`
  `toString()`
  `io.opentelemetry.api.trace.Tracer`
  `tracer()`

  ### Methods inherited from class java.lang.Object

  `clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait`

- ## Method Details

  - ### noop

    public static IdServerTelemetryService noop()
    Returns:
      A completely no-op service

  - ### tracer

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

  - ### openTelemetry

    public io.opentelemetry.api.OpenTelemetry openTelemetry()
    Returns:
      The OpenTelemetry instance

  - ### create

    public static IdServerTelemetryService create(IdServerConfiguration configuration)
    Create a telemetry service.
    Parameters:
      `configuration` - The server configuration
    Returns:
      The service

  - ### toString

    public String toString()
    Overrides:
      `toString` in class `Object`

  - ### description

    public String description()
    Specified by:
      `description` in interface `IdServiceType`
    Returns:
      The service description