# Class CSTelemetryServices

java.lang.Object
com.io7m.certusine.vanilla.CSTelemetryServices

All Implemented Interfaces:
  `CSTelemetryServiceFactoryType`

public final class CSTelemetryServices extends Object implements CSTelemetryServiceFactoryType
An OpenTelemetry service factory.

- ## Constructor Summary

  Constructors
  Constructor
  Description
  `CSTelemetryServices()`
  An OpenTelemetry service factory.

- ## Method Summary

  Modifier and Type
  Method
  Description
  `CSTelemetryServiceType`
  `create(CSOpenTelemetryConfiguration telemetryConfiguration)`
  Create a telemetry service.
  `static CSTelemetryServiceType`
  `createOptional(Optional<CSOpenTelemetryConfiguration> configuration)`
  Create a telemetry service.

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

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

  ### Methods inherited from interface com.io7m.certusine.api.CSTelemetryServiceFactoryType

  `create`

- ## Constructor Details

  - ### CSTelemetryServices

    public CSTelemetryServices()
    An OpenTelemetry service factory.

- ## Method Details

  - ### createOptional

    public static CSTelemetryServiceType createOptional(Optional<CSOpenTelemetryConfiguration> configuration)
    Create a telemetry service.
    Parameters:
      `configuration` - The optional configuration
    Returns:
      The service

  - ### create

    public CSTelemetryServiceType create(CSOpenTelemetryConfiguration telemetryConfiguration)
    Create a telemetry service.
    Specified by:
      `create` in interface `CSTelemetryServiceFactoryType`
    Parameters:
      `telemetryConfiguration` - The server configuration
    Returns:
      The service