Class OtelEndpoints

java.lang.Object
org.mockserver.telemetry.OtelEndpoints

public final class OtelEndpoints extends Object
Resolves per-signal OTLP HTTP endpoints from the single configured base URL (see mockserver.otelEndpoint). Shared by the metrics and trace exporters so both derive their endpoints consistently.
  • Field Details

  • Method Details

    • metrics

      public static String metrics(String base)
      Resolve the metrics endpoint, or null to use the exporter default.
    • traces

      public static String traces(String base)
      Resolve the traces endpoint, or null to use the exporter default.