Turbo_modules Attributes

4 attributes in this category.4 deprecated

4 attributes

Deprecated Attributes

These attributes are deprecated and should not be used in new code. See each attribute for migration guidance.

turbo_modules.total_call_countDeprecated

integerScrub: ManualVisibility: PublicOTel: False

The number of native module calls in the flushed call aggregate. Only applies to React Native.

Examples42

Use react_native.module.call.count instead.

Replaced by the `react_native.module.*` namespace; the SDK emitted the same values under both a singular `turbo_module.*` and a plural `turbo_modules.*` prefix

Status: backfill

Changelog
v0.24.0#564Added turbo_modules.total_call_count and deprecated it in favor of react_native.module.call.count
Raw JSON
{
  "key": "turbo_modules.total_call_count",
  "brief": "The number of native module calls in the flushed call aggregate. Only applies to React Native.",
  "type": "integer",
  "apply_scrubbing": {
    "key": "manual"
  },
  "is_in_otel": false,
  "visibility": "public",
  "examples": [
    42
  ],
  "deprecation": {
    "replacement": "react_native.module.call.count",
    "reason": "Replaced by the `react_native.module.*` namespace; the SDK emitted the same values under both a singular `turbo_module.*` and a plural `turbo_modules.*` prefix",
    "_status": "backfill"
  },
  "alias": [
    "react_native.module.call.count",
    "turbo_module.total_call_count"
  ],
  "changelog": [
    {
      "version": "0.24.0",
      "prs": [
        564
      ],
      "description": "Added turbo_modules.total_call_count and deprecated it in favor of react_native.module.call.count"
    }
  ]
}

turbo_modules.total_duration_msDeprecated

doubleScrub: ManualVisibility: PublicOTel: False

The combined duration of all native module calls in the flushed call aggregate, in milliseconds. Only applies to React Native.

Examples128.45

Use react_native.module.duration.total instead.

Replaced by the `react_native.module.*` namespace; the SDK emitted the same values under both a singular `turbo_module.*` and a plural `turbo_modules.*` prefix

Status: backfill

Changelog
v0.24.0#564Added turbo_modules.total_duration_ms and deprecated it in favor of react_native.module.duration.total
Raw JSON
{
  "key": "turbo_modules.total_duration_ms",
  "brief": "The combined duration of all native module calls in the flushed call aggregate, in milliseconds. Only applies to React Native.",
  "type": "double",
  "apply_scrubbing": {
    "key": "manual"
  },
  "is_in_otel": false,
  "visibility": "public",
  "examples": [
    128.45
  ],
  "deprecation": {
    "replacement": "react_native.module.duration.total",
    "reason": "Replaced by the `react_native.module.*` namespace; the SDK emitted the same values under both a singular `turbo_module.*` and a plural `turbo_modules.*` prefix",
    "_status": "backfill"
  },
  "alias": [
    "react_native.module.duration.total",
    "turbo_module.total_duration_ms"
  ],
  "changelog": [
    {
      "version": "0.24.0",
      "prs": [
        564
      ],
      "description": "Added turbo_modules.total_duration_ms and deprecated it in favor of react_native.module.duration.total"
    }
  ]
}

turbo_modules.total_error_countDeprecated

integerScrub: ManualVisibility: PublicOTel: False

The number of failed native module calls in the flushed call aggregate. Only applies to React Native.

Examples2

Use react_native.module.error.count instead.

Replaced by the `react_native.module.*` namespace; the SDK emitted the same values under both a singular `turbo_module.*` and a plural `turbo_modules.*` prefix

Status: backfill

Changelog
v0.24.0#564Added turbo_modules.total_error_count and deprecated it in favor of react_native.module.error.count
Raw JSON
{
  "key": "turbo_modules.total_error_count",
  "brief": "The number of failed native module calls in the flushed call aggregate. Only applies to React Native.",
  "type": "integer",
  "apply_scrubbing": {
    "key": "manual"
  },
  "is_in_otel": false,
  "visibility": "public",
  "examples": [
    2
  ],
  "deprecation": {
    "replacement": "react_native.module.error.count",
    "reason": "Replaced by the `react_native.module.*` namespace; the SDK emitted the same values under both a singular `turbo_module.*` and a plural `turbo_modules.*` prefix",
    "_status": "backfill"
  },
  "alias": [
    "react_native.module.error.count",
    "turbo_module.total_error_count"
  ],
  "changelog": [
    {
      "version": "0.24.0",
      "prs": [
        564
      ],
      "description": "Added turbo_modules.total_error_count and deprecated it in favor of react_native.module.error.count"
    }
  ]
}

turbo_modules.unique_methodsDeprecated

integerScrub: ManualVisibility: PublicOTel: False

The number of distinct native module and method pairs in the flushed call aggregate. Only applies to React Native.

Examples7

Use react_native.module.call.distinct_count instead.

Replaced by the `react_native.module.*` namespace; the SDK emitted the same values under both a singular `turbo_module.*` and a plural `turbo_modules.*` prefix

Status: backfill

Changelog
v0.24.0#564Added turbo_modules.unique_methods and deprecated it in favor of react_native.module.call.distinct_count
Raw JSON
{
  "key": "turbo_modules.unique_methods",
  "brief": "The number of distinct native module and method pairs in the flushed call aggregate. Only applies to React Native.",
  "type": "integer",
  "apply_scrubbing": {
    "key": "manual"
  },
  "is_in_otel": false,
  "visibility": "public",
  "examples": [
    7
  ],
  "deprecation": {
    "replacement": "react_native.module.call.distinct_count",
    "reason": "Replaced by the `react_native.module.*` namespace; the SDK emitted the same values under both a singular `turbo_module.*` and a plural `turbo_modules.*` prefix",
    "_status": "backfill"
  },
  "alias": [
    "react_native.module.call.distinct_count",
    "turbo_module.unique_methods"
  ],
  "changelog": [
    {
      "version": "0.24.0",
      "prs": [
        564
      ],
      "description": "Added turbo_modules.unique_methods and deprecated it in favor of react_native.module.call.distinct_count"
    }
  ]
}