sendToKubesense method

void sendToKubesense(
  1. String message,
  2. StackTrace? stack,
  3. String? kind
)

Send a log to the Kubesense org, not to the customer's org. This feature is used mostly to track potential issues in the Kubesense SDK. The rate at which data is sent to Kubesense is set by KubesenseRumConfiguration.telemetrySampleRate

Implementation

void sendToKubesense(String message, StackTrace? stack, String? kind) {
  KubesenseSdkPlatform.instance
      .sendTelemetryError(message, stack?.toString(), kind);
}