GoodData.UI API reference
  • All Products
  • All Products
  • GoodData.UI
  • API Reference
  • University
  • Community
  • Documentation
  • Support
  • 11.43.0
  • Code samples
  • GitHub

logRecord

Home > @gooddata/sdk-pluggable-application-model > IPluggableAppTelemetryCallbacks > logRecord

IPluggableAppTelemetryCallbacks.logRecord property

This API is provided as an alpha preview for developers and may change based on feedback that we receive. Do not use this API in a production environment.

Forward a structured OpenTelemetry log record to the host's page-level OTel logger.

Signature:

logRecord?: (record: IPluggableAppLogRecord) => void;

Remarks

Unlike IPluggableAppTelemetryCallbacks.trackEvent (which routes to the analytics trackers — Matomo / Amplitude), this targets the host's OpenTelemetry logging pipeline (OTLP /v1/logs). It exists because the OTel Logs API cannot be reliably shared across module-federation bundles the way the global tracer is, so module logs are forwarded as plain data and re-emitted by the host. Optional: a host that has no OTel logger configured simply omits it (the call is a no-op).

  • IPluggableAppTelemetryCallbacks.logRecord property
  • Remarks
GoodData resources:
  • Documentation
Follow the community:
  • Community
Copyright © 2007–2026 GoodData Corporation. All Rights Reserved. Code licensed under a dual license - CC BY‑NC 4.0 for trial experience and GoodData.UI EULA for commercial use