Class TelemetryClient

    • Method Detail

      • create

        public static TelemetryClient create​(TelemetryConfig config)
        Create a telemetry client for the provided configuration.
        Parameters:
        config - telemetry runtime configuration
        Returns:
        telemetry client
      • track

        public void track​(String feature)
        Queue a feature usage event for asynchronous delivery.
        Parameters:
        feature - feature name provided by the caller
      • close

        public void close()
        Stop the sender thread and wait for any queued events to be flushed before returning.
        Specified by:
        close in interface AutoCloseable