Instrument your React Native application with the Honeycomb OpenTelemetry React Native SDK, send telemetry to Honeycomb, and measure real device performance in production.
Learn how to collect telemetry from your React Native application and send it to Honeycomb using the Honeycomb OpenTelemetry React Native SDK.Instrumenting your application lets you measure how it behaves on actual devices, detect performance issues, and better understand how users experience your application.
If you don’t already have a Honeycomb account, you can sign up for one.
Signup is free.Honeycomb stores your data in either a US-based or EU-based location, depending on your account region:
For this guide, you’ll need a Honeycomb Ingest API Key with the Can create services/datasets permission.
This lets your application send telemetry to Honeycomb and create a dataset for your service.
When deploying to production, replace this key with a separate key that does not allow dataset creation.
This helps protect your data structure in live environments.
Make note of your API key; for security reasons, you will not be able to see the key again, and you will need it later.
Before you can use Honeycomb’s OpenTelemetry React Native SDK, you need to install it and configure platform-specific dependencies.
Configure Metro to recognize package.json exports. To do this, create a new file, metro.config.js, in your application’s root directory.
Enable package.json exports in your Metro configuration.
Install the necessary dependencies for each mobile platform your application supports.Android dependencies:Add the following dependencies to your application’s build.gradle.
If your application’s minSDK version is lower than 26, add core library desugaring to your android/app/build.gradle.
android { compileOptions { // Enable support for the new language APIs coreLibraryDesugaringEnabled true } dependencies { coreLibraryDesugaring "com.android.tools:desugar_jdk_libs:2.1.5" }}
iOS dependencies:Add the use_frameworks! option to your application’s Podfile.
Initialize the SDK at the start of your React Native application.
This ensures that events such as startup time and early view loads are captured.
import { HoneycombReactNativeSDK } from '@honeycombio/opentelemetry-react-native';import { DiagLogLevel } from '@opentelemetry/api';const sdk = new HoneycombReactNativeSDK({ // Uncomment the line below to send to EU instance. Defaults to US. // endpoint: "https://api.eu1.honeycomb.io:443", apiKey: "YOUR-API-KEY", serviceName: "YOUR-SERVICE-NAME", logLevel: DiagLogLevel.DEBUG,});sdk.start();
In the above example, key configuration options include:endpoint
: URL where your telemetry is sent.
Defaults to https://api.honeycomb.io:443 (the Honeycomb US instance URL).
For EU instances, set this to https://api.eu1.honeycomb.io:443.
If you’re using an OpenTelemetry Collector, use your collector’s URL instead.apiKey
: Your Ingest API Key, which authorizes your application to send telemetry directly to Honeycomb.serviceName
: Name of your application, which Honeycomb will use as your dataset name.
Choose something meaningful and consistent.
If you don’t provide a service name, the dataset name will be inferred from your bundle.
logLevel
: Verbosity of logs printed to the console.
Enabling debug logs is helpful during development.Can be set to either .NONE, .ERROR, .WARN, .INFO, .DEBUG, or .ALL. For more information, visit Enumeration DiagLogLevel.For Android, initialize the SDK at the start of the onCreate() method in your main Application class.
// MainApplication.ktoverride fun onCreate() { val options = HoneycombOpentelemetryReactNativeModule.optionsBuilder(this) // Uncomment the line below to send to EU instance. Defaults to US. // .setApiEndpoint("https://api.eu1.honeycomb.io:443") .setApiKey("YOUR-API-KEY") .setServiceName("YOUR-SERVICE-NAME") HoneycombOpentelemetryReactNativeModule.configure(this, options) super.onCreate()}
For iOS, initialize the SDK at the start of the application() method in your AppDelegate class.
// AppDelegate.swiftoverride func application( _ application: UIApplication, didFinishLaunchingWithOptions launchOptions: [UIApplication.LaunchOptionsKey: Any]? = nil) -> Bool { let options = HoneycombReactNative.optionsBuilder() // Uncomment the line below to send to EU instance. Defaults to US. // .setAPIEndpoint("https://api.eu1.honeycomb.io:443") .setAPIKey("YOUR-API-KEY") .setServiceName("YOUR-SERVICE-NAME") HoneycombReactNative.configure(options)}
You can also explore your data by creating a Board from a pre-configured Board template.
Our specialized template for React Native telemetry includes a curated set of ready-made queries and visualizations based on the fields collected by the Honeycomb OpenTelemetry React Native SDK.This template gives you an immediate, actionable view into common mobile metrics like application start times, crashes, and session flows, without needing to build anything from scratch.
You can use it as-is or customize it to fit your needs.To learn more, visit Use Board Templates.
The Honeycomb OpenTelemetry React Native SDK uses the value passed to apiKey configuration option to send your telemetry data.
This must be set correctly for data to reach Honeycomb.
Check the value passed to serviceName during initialization.
This value determines the name of your dataset in Honeycomb.
If you leave it blank, the default will be inferred from your bundle, which might not be descriptive or consistent across builds.
Unlike JavaScript code, native code does not hot reload on changes. So if you updated your AppDelegate.swift or MainApplication.kt files and are still not getting native telemetry, you’ll need to rebuild your application.Stop metro, the simulator, and restart the build. If this still doesn’t work, try uninstalling the application and reinstalling it.
{"docsConfig":{"theme":"mint","$schema":"https://mintlify.com/docs.json","name":"Honeycomb Docs","colors":{"primary":"#0298ec","light":"#0298ec","dark":"#0160a4"},"logo":{"light":"https://mintcdn.com/honeycomb/TYbxiKcJ1fL3Sm5n/_assets/logos/light.svg?fit=max\u0026auto=format\u0026n=TYbxiKcJ1fL3Sm5n\u0026q=85\u0026s=27a1eaed720bce94471b9408761a57a5","dark":"https://mintcdn.com/honeycomb/TYbxiKcJ1fL3Sm5n/_assets/logos/dark.svg?fit=max\u0026auto=format\u0026n=TYbxiKcJ1fL3Sm5n\u0026q=85\u0026s=37c10aab54c3f49068831ba2b3f72519"},"favicon":"https://mintcdn.com/honeycomb/FS58DPvSVOqwGF9Q/favicon.ico?fit=max\u0026auto=format\u0026n=FS58DPvSVOqwGF9Q\u0026q=85\u0026s=f2dcbbe978265dbef9b3e5c895466dfc","navbar":{"links":[{"href":"https://status.honeycomb.io/","label":"Status"},{"href":"https://support.honeycomb.io/","label":"Support"}],"primary":{"type":"button","label":"Log in to Honeycomb","href":"https://ui.honeycomb.io/"}},"footer":{"socials":{"bluesky":"https://bsky.app/profile/honeycomb.io","github":"https://github.com/honeycombio","linkedin":"https://linkedin.com/company/honeycomb.io","youtube":"https://www.youtube.com/channel/UCty8KGQ3oAP0MQQmLIv7k0Q"}},"fonts":{"heading":{"family":"Roboto","weight":600},"body":{"family":"Roboto","weight":400}},"styling":{"eyebrows":"breadcrumbs","codeblocks":{},"latex":true},"integrations":{"amplitude":{"apiKey":"3b49e4f1b31c8cc751801eb555172ee7"},"ga4":{"measurementId":"G-6GB1G2KSLD"},"plausible":{"domain":"docs.honeycomb.io","server":"stats.honeycomb.io"},"telemetry":{"enabled":true},"cookies":{"key":"honeycomb_docs_consent","value":"yes"}},"contextual":{"options":["copy","view","chatgpt","claude","perplexity","mcp","cursor","vscode"],"display":"header"},"navigation":{"global":{"anchors":[{"anchor":"Docs Home","icon":"home","href":"/"},{"anchor":"Blog","icon":"bullhorn","href":"https://www.honeycomb.io/blog"},{"anchor":"Honeycomb Academy","icon":"book","href":"https://academy.honeycomb.io/"}]},"pages":[]}},"deployment":{"deploymentMetadataValue":{"subdomain":"honeycomb","hasAudioNarration":false,"actualSubdomain":"honeycomb","customDomains":["docs.honeycomb.io"],"gitSource":{"type":"github","owner":"honeycombio","repo":"docs","deployBranch":"main","contentDirectory":"mintlify","isPrivate":true,"mountPath":"","label":""},"feedback":{"thumbs":true,"contextualFeedback":{"allowEmail":false}},"entitlements":{"AI_CHAT":{"status":"ENABLED"},"REMOVE_BRANDING":{"status":"ENABLED"},"CONTEXTUAL_FEEDBACK":{"status":"ENABLED","enabled":"ENABLED"},"CODE_SNIPPET_FEEDBACK":{"status":"ENABLED","enabled":"ENABLED"},"WEB_MCP":{"status":"ENABLED"},"NARRATION":{"status":"ENABLED"}},"buildId":"6af376f6c70a7273c74f1b38","clientVersion":"0.0.4111","searchFilterCounts":[{"language":"default","tag":"Send Data","count":234},{"language":"default","tag":"Manage Pipelines","count":148},{"language":"default","tag":"Honeycomb Telemetry Pipeline","count":145},{"language":"default","tag":"Pipeline Manager","count":142},{"language":"default","tag":"API Reference","count":108},{"language":"default","tag":"Sources","count":93},{"language":"default","tag":"API Endpoints","count":90},{"language":"default","tag":"Investigate","count":72},{"language":"default","tag":"Get Started","count":62},{"language":"default","tag":"Processors","count":41}],"searchSettings":{"maxResults":15}},"assistantConfig":{"enableAskAiButton":false,"enableStarterQuestions":false,"enableAskAiSearchBar":true},"basePath":"","hasChatPermissions":false,"hasWebMcpPermissions":true,"toggles":[{"name":"kill-isr","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"custom-rbac-roles","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-mintlify-slack","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-integrations-settings","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"rbac-expansion","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-pr-grouping","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"custom-prefix","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"analytics-v7","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"user-flows-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"no-publish-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-onboarding","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"llms-txt-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving-live","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"stripTemperatureMiddleware","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"support-platform-pylon-zendesk","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"instant-rollback","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications-server","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-fable","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fixed-ai-action-pricing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automation-resolve-merge-conflict","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"scoped-publishing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"mintql","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"page-level-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-version-history-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"billing-page-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"full-page-search","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workspace-projects","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"assistant-v5","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fork-pr-previews","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"revalidation-jwt","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-sso-scim","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"hobby-abuse-scan","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"dashboard-inbox","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-signup","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-dual-write","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-enabled","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"approve-review-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-metadata","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"sso-setup-deadline-banner","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-serve","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"live-agents","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false}],"googleFontsInlined":true},"customCss":[{"filePath":"_assets/stylesheets/badges.css","content":"[class*=\"hny-badge-\"]{background-color:var(--hny-badge-bg)!important;color:var(--hny-badge-text)!important;border-color:var(--hny-badge-bg)!important;min-width:4rem!important;height:1.75rem!important;justify-content:center!important;align-items:center!important}[class*=\"hny-badge-\"].border{background-color:transparent!important;border-color:var(--hny-badge-text)!important}html.dark [class*=\"hny-badge-\"]{background-color:var(--hny-badge-bg-dark)!important;color:var(--hny-badge-text-dark)!important;border-color:var(--hny-badge-bg-dark)!important}html.dark [class*=\"hny-badge-\"].border{background-color:transparent!important;border-color:var(--hny-badge-text-dark)!important;color:var(--hny-badge-text-dark)!important}@media (prefers-color-scheme: dark){html:not(.light) [class*=\"hny-badge-\"]{background-color:var(--hny-badge-bg-dark)!important;color:var(--hny-badge-text-dark)!important;border-color:var(--hny-badge-bg-dark)!important}html:not(.light) [class*=\"hny-badge-\"].border{background-color:transparent!important;border-color:var(--hny-badge-text-dark)!important;color:var(--hny-badge-text-dark)!important}}.hny-badge-enterprise{--hny-badge-bg: #EAE6F1;--hny-badge-text: #302054;--hny-badge-bg-dark: #60606F;--hny-badge-text-dark: #FFFFFF}.hny-badge-enterprise-addon{--hny-badge-bg: #EAE6F1;--hny-badge-text: #302054;--hny-badge-bg-dark: #60606F;--hny-badge-text-dark: #FFFFFF}.hny-badge-pro{--hny-badge-bg: #E0F2FC;--hny-badge-text: #015B8D;--hny-badge-bg-dark: #163144;--hny-badge-text-dark: #1BA2ED}.hny-badge-beta{--hny-badge-bg: #FEEDE2;--hny-badge-text: #954209;--hny-badge-bg-dark: #3B2A23;--hny-badge-text-dark: #F97C27}.hny-badge-early-access{--hny-badge-bg: #FEEDE2;--hny-badge-text: #954209;--hny-badge-bg-dark: #3B2A23;--hny-badge-text-dark: #F97C27}"},{"filePath":"_assets/stylesheets/icons.css","content":".hny-icon{background-color:var(--hny-icon-color)}"},{"filePath":"_assets/stylesheets/images.css","content":".dark img[src^=\"http\"]:not(.nav-logo){background-color:transparent;border-radius:0;padding:0}[data-rmiz-content] img,[data-rmiz-modal-img]{background-color:transparent;box-sizing:border-box;border-radius:0.4rem}a.card{border-radius:0px!important}a.card img[data-component-part=\"card-image\"]{object-fit:contain!important}.dark .integration-logo-invert{filter:invert(1)}.integration-logo-grayscale{filter:grayscale(1)}.dark .integration-logo-grayscale.integration-logo-invert{filter:grayscale(1) invert(1)}"},{"filePath":"_assets/stylesheets/kapa.css","content":"#kapa-ask-ai-btn{display:inline-flex;align-items:center;gap:0.4rem;flex-shrink:0;height:2.25rem;padding:0 1rem;margin-left:0.5rem;border-radius:0.75rem;border:none;background:transparent;box-shadow:0 0 0 1px rgba(156, 163, 175, 0.3);color:rgb(107, 114, 128);font-size:0.875rem;cursor:pointer;white-space:nowrap;transition:box-shadow 0.15s ease}#kapa-ask-ai-btn:hover{box-shadow:0 0 0 1px rgba(75, 85, 99, 0.3)}.kapa-btn-icon svg{width:16px;height:16px}.kapa-btn-icon svg path{fill:rgb(107, 114, 128)}.dark .kapa-btn-icon svg path{fill:rgba(255, 255, 255, 0.5)}.dark #kapa-ask-ai-btn{color:rgba(255, 255, 255, 0.5);box-shadow:0 0 0 1px rgba(75, 85, 99, 0.3)}.dark #kapa-ask-ai-btn:hover{box-shadow:0 0 0 1px rgba(107, 114, 128, 0.3)}.dark #kapa-ask-ai-btn img{filter:invert(1) opacity(0.5)}"},{"filePath":"_assets/stylesheets/links.css","content":".prose a[href^=\"http\"]:not(.card):not(:has(img))::after{content:\"↗\";font-size:0.75em;vertical-align:baseline;margin-left:2px}"},{"filePath":"_assets/stylesheets/style.css","content":"/* cyrillic-ext */\n@font-face {\n font-family: 'Roboto Mono';\n font-style: normal;\n font-weight: 400;\n font-display: swap;\n src: url(/_mintlify/assets/fonts/google/s/robotomono/v31/L0xuDF4xlVMF-BfR8bXMIhJHg45mwgGEFl0_3vq_SeW4Ep0.woff2) format('woff2');\n unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;\n}\n/* cyrillic */\n@font-face {\n font-family: 'Roboto Mono';\n font-style: normal;\n font-weight: 400;\n font-display: swap;\n src: url(/_mintlify/assets/fonts/google/s/robotomono/v31/L0xuDF4xlVMF-BfR8bXMIhJHg45mwgGEFl0_3vq_QOW4Ep0.woff2) format('woff2');\n unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;\n}\n/* greek */\n@font-face {\n font-family: 'Roboto Mono';\n font-style: normal;\n font-weight: 400;\n font-display: swap;\n src: url(/_mintlify/assets/fonts/google/s/robotomono/v31/L0xuDF4xlVMF-BfR8bXMIhJHg45mwgGEFl0_3vq_R-W4Ep0.woff2) format('woff2');\n unicode-range: U+0370-0377, U+037A-037F, U+0384-038A, U+038C, U+038E-03A1, U+03A3-03FF;\n}\n/* vietnamese */\n@font-face {\n font-family: 'Roboto Mono';\n font-style: normal;\n font-weight: 400;\n font-display: swap;\n src: url(/_mintlify/assets/fonts/google/s/robotomono/v31/L0xuDF4xlVMF-BfR8bXMIhJHg45mwgGEFl0_3vq_S-W4Ep0.woff2) format('woff2');\n unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;\n}\n/* latin-ext */\n@font-face {\n font-family: 'Roboto Mono';\n font-style: normal;\n font-weight: 400;\n font-display: swap;\n src: url(/_mintlify/assets/fonts/google/s/robotomono/v31/L0xuDF4xlVMF-BfR8bXMIhJHg45mwgGEFl0_3vq_SuW4Ep0.woff2) format('woff2');\n unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;\n}\n/* latin */\n@font-face {\n font-family: 'Roboto Mono';\n font-style: normal;\n font-weight: 400;\n font-display: swap;\n src: url(/_mintlify/assets/fonts/google/s/robotomono/v31/L0xuDF4xlVMF-BfR8bXMIhJHg45mwgGEFl0_3vq_ROW4.woff2) format('woff2');\n unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;\n}\n.nav-logo{height:2.5rem!important}.prose,.prose-gray{--tw-prose-body: var(--lat-color-foreground-primary-default);--tw-prose-headings: var(--lat-color-foreground-primary-default);--tw-prose-lead: var(--lat-color-foreground-secondary-default);--tw-prose-links: var(--lat-color-foreground-link-default);--tw-prose-bold: var(--lat-color-foreground-primary-default);--tw-prose-invert-body: var(--lat-color-foreground-inverse-default);--tw-prose-invert-headings: var(--lat-color-foreground-inverse-default);--tw-prose-invert-lead: var(--lat-color-foreground-inverse-secondary);--tw-prose-invert-links: var(--lat-color-foreground-inverse-link-default);--tw-prose-invert-bold: var(--lat-color-foreground-inverse-default)}.prose{color:var(--lat-color-foreground-primary-default)!important;line-height:var(--lat-ref-font-line-height-5)!important}#page-title,.prose :where(h1):not(:where([class~=not-prose],[class~=not-prose] *)){color:var(--lat-color-foreground-primary-default)!important;font-weight:var(--lat-ref-font-weight-500)!important;font-size:var(--lat-ref-font-size-700)!important;line-height:var(--lat-ref-font-line-height-8)!important}.prose :where(h2):not(:where([class~=not-prose],[class~=not-prose] *)){color:var(--lat-color-foreground-primary-default)!important;font-weight:var(--lat-ref-font-weight-600)!important;font-size:var(--lat-ref-font-size-600)!important;line-height:var(--lat-ref-font-line-height-6)!important}.prose :where(h3):not(:where([class~=not-prose],[class~=not-prose] *)){color:var(--lat-color-foreground-primary-default)!important;font-weight:var(--lat-ref-font-weight-600)!important;font-size:var(--lat-ref-font-size-500)!important;line-height:var(--lat-ref-font-line-height-5)!important}.prose :where(h4):not(:where([class~=not-prose],[class~=not-prose] *)){color:var(--lat-color-foreground-primary-default)!important;font-weight:var(--lat-ref-font-weight-400)!important;font-size:var(--lat-ref-font-size-500)!important;line-height:var(--lat-ref-font-line-height-4)!important}.prose :where(strong):not(:where([class~=not-prose],[class~=not-prose] *)){color:var(--lat-color-foreground-primary-default)!important;font-weight:600!important}th{color:var(--lat-color-foreground-primary-default)!important}.prose a.link{border-color:var(--lat-color-foreground-link-default);\u0026:hover{color:var(--lat-color-foreground-link-hover);border-color:var(--lat-color-foreground-link-hover)}}.font-mono{font-family:var(--lat-ref-font-family-roboto-mono)}code,kbd,pre,samp{font-family:var(--lat-ref-font-family-roboto-mono);font-feature-settings:normal;font-variation-settings:normal;font-size:1em}.sidebar-group{margin-top:0.05rem}a.card{border-radius:var(--lat-border-radius-xsmall)!important}"},{"filePath":"_assets/stylesheets/tables.css","content":".schema-table table{font-family:var(--hny-font-mono);font-size:var(--hny-font-mono-size);width:fit-content}.schema-table table{font-family:var(--hny-font-mono);font-size:var(--hny-font-mono-size);width:fit-content;min-width:unset}.permissions-table table,.permissions-table th,.permissions-table td{border:0}.permissions-table table{width:100%}.permissions-table thead tr:nth-child(odd),.permissions-table tbody tr:nth-child(even){background-color:var(--hny-table-stripe)}.permissions-table th{padding:var(--hny-permissions-header-padding-v, 10px) 0.75rem;text-align:center}.permissions-table th:first-child{text-align:left}.permissions-table td{text-align:center;padding-top:var(--hny-permissions-cell-padding-v, 5px);padding-bottom:var(--hny-permissions-cell-padding-v, 5px);padding-left:0.75rem;padding-right:0.75rem}.permissions-table td:first-child{width:var(--hny-permissions-col1-width, 50%);text-align:left}.flex-style-table table{width:100%}"},{"filePath":"_assets/stylesheets/tokens.css","content":":root{--hny-font-mono: ui-monospace, SFMono-Regular, Menlo, Monaco,\n Consolas, \"Liberation Mono\", \"Courier New\",\n monospace;--hny-font-mono-size: 0.8rem;--hny-permissions-col1-width: 50%;--hny-permissions-cell-padding-v: 5px;--hny-permissions-header-padding-v: 10px}html.light{--hny-table-stripe: rgba(107, 114, 128, 0.1);--hny-icon-color: #33383F}html.dark{--hny-table-stripe: #1e2128;--hny-icon-color: #C9CDD2}@media (prefers-color-scheme: dark){html.dark{--hny-table-stripe: #1e2128;--hny-icon-color: #C9CDD2}}"},{"filePath":"_assets/stylesheets/mermaid.css","content":".mermaid .label{font-size:0.875rem!important;padding:1rem .25rem!important}foreignObject>div>span>p{font-size:0.75rem!important;padding:0.25rem!important;text-align:justified!important}"},{"filePath":"_assets/stylesheets/sidebar.css","content":"ul.list-none{padding-bottom:1rem;border-bottom:1px solid rgb(107 114 128 / 0.4)}.nav-anchor{margin-bottom:0.25rem}#navigation-items>ul.sidebar-group{border-top:0.5px solid var(--border-color);padding-top:1rem}div.sidebar-group-header{margin-top:-0.5rem;margin-bottom:0.1rem;text-transform:uppercase;letter-spacing:0.01rem}div.sidebar-group{margin-bottom:1rem;font-size:0.9rem}#sidebar-content li>a{padding-top:0.1rem;padding-bottom:0.1rem;font-size:0.9rem}#sidebar-content li>button{padding-top:0.1rem;padding-bottom:0.1rem;font-size:0.9rem}#sidebar-content li[data-active]>button{padding-top:0.1rem;padding-bottom:0.1rem;font-size:0.9rem}#navigation-items>ul.sidebar-group:last-of-type{margin-top:0!important;padding-top:0!important}#navigation-items>ul.sidebar-group:nth-last-of-type(2){border-top:1px solid var(--border-color);padding-top:1rem;margin-top:1rem!important}.nav-tag-pill{min-width:2rem;text-align:center}.flex-1.flex.min-w-0.flex-wrap{flex-wrap:nowrap}.nav-tag-pill-text{text-transform:uppercase;background:none;padding:0;border-left:1px solid currentColor;border-radius:0;padding-left:0.25rem}#sidebar-content a[href^=\"https://docs.honeycomb.io/\"] svg,#sidebar-content a[href^=\"https://docs.honeycomb.io\"]::after{display:none}"},{"filePath":"_assets/stylesheets/tabs.css","content":".hny-client-tabs>.tabs.tab-container>ul[data-component-part=\"tabs-list\"]{border-bottom:none;flex-wrap:wrap;gap:8px;margin-bottom:0.375rem!important}.hny-client-tabs>.tabs.tab-container>ul[data-component-part=\"tabs-list\"]>li{list-style:none}.hny-client-tabs>.tabs.tab-container>ul[data-component-part=\"tabs-list\"]>li [data-component-part=\"tab-button\"]{border:1px solid #B9C2CC;border-radius:6px;padding:6px 14px!important;margin-bottom:0!important;color:#25303E;font-weight:500}.hny-client-tabs>.tabs.tab-container>ul[data-component-part=\"tabs-list\"]>li [data-component-part=\"tab-button\"][data-active=\"true\"]{background:#0160A4;border-color:#0160A4;color:#FFFFFF}.dark .hny-client-tabs>.tabs.tab-container>ul[data-component-part=\"tabs-list\"]>li [data-component-part=\"tab-button\"]{border-color:#4B5563;color:#E5E7EB}.hny-client-tabs>.tabs.tab-container>div>[data-component-part=\"tab-content\"]{border:1px solid #CBD5E1;border-radius:12px;padding:1.25rem 1.5rem;margin-top:0.75rem}.dark .hny-client-tabs>.tabs.tab-container>div>[data-component-part=\"tab-content\"]{border-color:#475569!important}.hny-client-tabs [data-component-part=\"tab-button\"]:focus-visible{outline:2px solid #0298EC;outline-offset:2px}"},{"filePath":"_assets/stylesheets/_tokens.css","content":":root{--lat-ref-border-radius-0: 0px;--lat-ref-border-radius-50: 2px;--lat-ref-border-radius-75: 3px;--lat-ref-border-radius-100: 4px;--lat-ref-border-radius-200: 8px;--lat-ref-border-radius-300: 12px;--lat-ref-border-radius-400: 16px;--lat-ref-border-radius-2000: 80px;--lat-ref-border-width-0: 0px;--lat-ref-border-width-25: 1px;--lat-ref-border-width-50: 2px;--lat-ref-color-blue-500: #225dbe;--lat-ref-color-blue-600: #1c4c9c;--lat-ref-color-blue-700: #0f3880;--lat-ref-color-blue-800: #002566;--lat-ref-color-blue-900: #00173e;--lat-ref-color-gold-100: #ffeab2;--lat-ref-color-gold-1000: #a94a04;--lat-ref-color-gold-1100: #7a3302;--lat-ref-color-gold-200: #ffdd81;--lat-ref-color-gold-300: #ffd14d;--lat-ref-color-gold-400: #ffc626;--lat-ref-color-gold-50: #fffae1;--lat-ref-color-gold-500: #ffbc04;--lat-ref-color-gold-600: #ffb000;--lat-ref-color-gold-700: #ff9b03;--lat-ref-color-gold-800: #fe8a04;--lat-ref-color-gold-900: #f26905;--lat-ref-color-gray-100: #ebeff4;--lat-ref-color-gray-1000: #1e2023;--lat-ref-color-gray-1050: #1b1d20;--lat-ref-color-gray-1100: #191a1b;--lat-ref-color-gray-200: #dee3ec;--lat-ref-color-gray-300: #c9d1df;--lat-ref-color-gray-400: #b0baca;--lat-ref-color-gray-50: #f5f7fa;--lat-ref-color-gray-500: #8f94a9;--lat-ref-color-gray-600: #717a89;--lat-ref-color-gray-700: #59606d;--lat-ref-color-gray-800: #444a53;--lat-ref-color-gray-850: #3c4149;--lat-ref-color-gray-900: #33383f;--lat-ref-color-gray-950: #272b30;--lat-ref-color-green-100: #d8efc0;--lat-ref-color-green-1000: #005700;--lat-ref-color-green-200: #bde596;--lat-ref-color-green-300: #a1db6a;--lat-ref-color-green-400: #8ad243;--lat-ref-color-green-50: #eff9e6;--lat-ref-color-green-500: #73ca0d;--lat-ref-color-green-600: #64ba00;--lat-ref-color-green-700: #4ca600;--lat-ref-color-green-800: #329200;--lat-ref-color-green-900: #007000;--lat-ref-color-indigo-100: #d3cdf0;--lat-ref-color-indigo-1000: #100e38;--lat-ref-color-indigo-200: #b4ace6;--lat-ref-color-indigo-300: #9186d9;--lat-ref-color-indigo-400: #7165cc;--lat-ref-color-indigo-50: #edeaf8;--lat-ref-color-indigo-500: #5549be;--lat-ref-color-indigo-600: #4538a8;--lat-ref-color-indigo-700: #362c8f;--lat-ref-color-indigo-800: #282275;--lat-ref-color-indigo-900: #1b185a;--lat-ref-color-miscellaneous-charcoal: #191a1b;--lat-ref-color-miscellaneous-white: #ffffff;--lat-ref-color-pink-100: #fad4e9;--lat-ref-color-pink-1000: #3e0827;--lat-ref-color-pink-200: #f5b0d5;--lat-ref-color-pink-300: #ee84bb;--lat-ref-color-pink-400: #e563a5;--lat-ref-color-pink-50: #fdeef6;--lat-ref-color-pink-500: #dc4d90;--lat-ref-color-pink-600: #c23a7c;--lat-ref-color-pink-700: #a22868;--lat-ref-color-pink-800: #821a53;--lat-ref-color-pink-900: #61103d;--lat-ref-color-purple-100: #dfd3eb;--lat-ref-color-purple-1000: #2e1260;--lat-ref-color-purple-200: #cbb8df;--lat-ref-color-purple-300: #b89bce;--lat-ref-color-purple-400: #ac8dc7;--lat-ref-color-purple-50: #f7f3fb;--lat-ref-color-purple-500: #9b77c2;--lat-ref-color-purple-600: #8659b4;--lat-ref-color-purple-700: #6a37a1;--lat-ref-color-purple-800: #54298f;--lat-ref-color-purple-900: #431e80;--lat-ref-color-red-100: #f7d2d7;--lat-ref-color-red-1000: #85322e;--lat-ref-color-red-200: #e4a3a5;--lat-ref-color-red-300: #d78184;--lat-ref-color-red-400: #e16767;--lat-ref-color-red-50: #fbedf0;--lat-ref-color-red-500: #e65b53;--lat-ref-color-red-600: #d75450;--lat-ref-color-red-700: #c54b49;--lat-ref-color-red-800: #b74643;--lat-ref-color-red-900: #a63f3a;--lat-ref-color-sky-100: #b9def8;--lat-ref-color-sky-1000: #002f7a;--lat-ref-color-sky-200: #8dcaf5;--lat-ref-color-sky-300: #60b5f0;--lat-ref-color-sky-400: #3aa5ee;--lat-ref-color-sky-50: #e3f2fc;--lat-ref-color-sky-500: #0296ec;--lat-ref-color-sky-600: #0088df;--lat-ref-color-sky-700: #0077cc;--lat-ref-color-sky-800: #0066ba;--lat-ref-color-sky-900: #00489c;--lat-ref-color-teal-100: #cce8f0;--lat-ref-color-teal-1000: #023040;--lat-ref-color-teal-200: #aad8e6;--lat-ref-color-teal-300: #7ec3d8;--lat-ref-color-teal-400: #50adc8;--lat-ref-color-teal-50: #eaf6f7;--lat-ref-color-teal-500: #2297b6;--lat-ref-color-teal-600: #0d83a0;--lat-ref-color-teal-700: #0a6d87;--lat-ref-color-teal-800: #085870;--lat-ref-color-teal-900: #054558;--lat-ref-size-0: 0px;--lat-ref-size-100: 4px;--lat-ref-size-200: 8px;--lat-ref-size-300: 12px;--lat-ref-size-400: 16px;--lat-ref-size-500: 20px;--lat-ref-size-600: 24px;--lat-ref-size-700: 28px;--lat-ref-size-800: 32px;--lat-ref-size-900: 36px;--lat-ref-size-1000: 40px;--lat-ref-size-1100: 44px;--lat-ref-size-1200: 48px;--lat-ref-size-1300: 52px;--lat-ref-size-1400: 56px;--lat-ref-size-1500: 60px;--lat-ref-size-1600: 64px;--lat-ref-size-2000: 80px;--lat-ref-space-0: 0px;--lat-ref-space-1: 2px;--lat-ref-space-2: 4px;--lat-ref-space-3: 8px;--lat-ref-space-4: 12px;--lat-ref-space-5: 16px;--lat-ref-space-6: 20px;--lat-ref-space-7: 24px;--lat-ref-space-8: 28px;--lat-ref-space-9: 32px;--lat-ref-space-10: 36px;--lat-ref-space-11: 40px;--lat-ref-space-12: 44px;--lat-ref-space-13: 48px;--lat-ref-font-line-height-0: 0rem;--lat-ref-font-line-height-1: 1rem;--lat-ref-font-line-height-2: 1.125rem;--lat-ref-font-line-height-3: 1.25rem;--lat-ref-font-line-height-4: 1.375rem;--lat-ref-font-line-height-5: 1.5rem;--lat-ref-font-line-height-6: 1.875rem;--lat-ref-font-line-height-7: 2.25rem;--lat-ref-font-line-height-8: 2.5rem;--lat-ref-font-size-100: 0.625rem;--lat-ref-font-size-200: 0.75rem;--lat-ref-font-size-300: 0.875rem;--lat-ref-font-size-400: 1rem;--lat-ref-font-size-500: 1.25rem;--lat-ref-font-size-600: 1.5rem;--lat-ref-font-size-700: 2rem;--lat-ref-font-weight-400: 400;--lat-ref-font-weight-500: 500;--lat-ref-font-weight-600: 600;--lat-ref-font-weight-700: 700;--lat-ref-font-family-poppins: 'Poppins', Arial, Helvetica, sans-serif;--lat-ref-font-family-roboto: 'Roboto', Arial, Helvetica, sans-serif;--lat-ref-font-family-roboto-mono: 'Roboto Mono', monospace}:root,.light{--lat-border-radius-zero: 0px;--lat-border-radius-xsmall: 2px;--lat-border-radius-small: 4px;--lat-border-radius-medium: 8px;--lat-border-radius-primary-default: 8px;--lat-border-radius-secondary-default: 12px;--lat-border-radius-container: 8px;--lat-border-radius-control-small: 4px;--lat-border-radius-circle: 80px;--lat-border-width-zero: 0px;--lat-border-width-primary-default: 1px;--lat-border-width-secondary-default: 2px;--lat-color-background-critical-bold: var(--lat-ref-color-red-700);--lat-color-background-critical-bolder: var(--lat-ref-color-red-800);--lat-color-background-critical-boldest: var(--lat-ref-color-red-900);--lat-color-background-critical-default: var(--lat-ref-color-red-100);--lat-color-background-critical-hover: var(--lat-ref-color-red-200);--lat-color-background-critical-subtle: var(--lat-ref-color-red-300);--lat-color-background-informational-default: var(--lat-ref-color-sky-100);--lat-color-background-informational-hover: var(--lat-ref-color-sky-200);--lat-color-background-informational-subtle: var(--lat-ref-color-sky-300);--lat-color-background-interactive-active: var(--lat-ref-color-sky-900);--lat-color-background-interactive-default: var(--lat-ref-color-sky-700);--lat-color-background-interactive-disabled: var(--lat-ref-color-gray-100);--lat-color-background-interactive-hover: var(--lat-ref-color-sky-800);--lat-color-background-inverse-active: var(--lat-ref-color-gray-700);--lat-color-background-inverse-default: var(--lat-ref-color-gray-950);--lat-color-background-inverse-disabled: var(--lat-ref-color-gray-1050);--lat-color-background-inverse-hover: var(--lat-ref-color-gray-900);--lat-color-background-neutral-active: var(--lat-ref-color-sky-50);--lat-color-background-neutral-bold: var(--lat-ref-color-gray-400);--lat-color-background-neutral-bolder: var(--lat-ref-color-gray-600);--lat-color-background-neutral-boldest: var(--lat-ref-color-gray-800);--lat-color-background-neutral-default: var(--lat-ref-color-gray-100);--lat-color-background-neutral-disabled: var(--lat-ref-color-gray-200);--lat-color-background-neutral-hover: var(--lat-ref-color-gray-300);--lat-color-background-neutral-subtle: var(--lat-ref-color-gray-300);--lat-color-background-pink-default: var(--lat-ref-color-pink-100);--lat-color-background-primary-active: var(--lat-ref-color-sky-50);--lat-color-background-primary-default: var(--lat-ref-color-miscellaneous-white);--lat-color-background-primary-disabled: var(--lat-ref-color-gray-100);--lat-color-background-primary-hover: var(--lat-ref-color-gray-50);--lat-color-background-primary-selected: var(--lat-ref-color-gray-200);--lat-color-background-purple-default: var(--lat-ref-color-purple-100);--lat-color-background-secondary-default: var(--lat-ref-color-gray-50);--lat-color-background-secondary-hover: var(--lat-ref-color-gray-200);--lat-color-background-secondary-selected: var(--lat-ref-color-sky-700);--lat-color-background-success-bold: var(--lat-ref-color-green-400);--lat-color-background-success-bolder: var(--lat-ref-color-green-600);--lat-color-background-success-default: var(--lat-ref-color-green-100);--lat-color-background-success-hover: var(--lat-ref-color-green-200);--lat-color-background-success-subtle: var(--lat-ref-color-green-300);--lat-color-background-teal-default: var(--lat-ref-color-teal-100);--lat-color-background-warning-default: var(--lat-ref-color-gold-100);--lat-color-background-warning-hover: var(--lat-ref-color-gold-200);--lat-color-background-warning-subtle: var(--lat-ref-color-gold-300);--lat-color-border-contrast: var(--lat-ref-color-miscellaneous-white);--lat-color-border-contrast-focus: var(--lat-ref-color-miscellaneous-white);--lat-color-border-critical-default: var(--lat-ref-color-red-1000);--lat-color-border-critical-subtle: var(--lat-ref-color-red-1000);--lat-color-border-focus: var(--lat-ref-color-sky-700);--lat-color-border-informational-default: var(--lat-ref-color-sky-800);--lat-color-border-informational-subtle: var(--lat-ref-color-sky-900);--lat-color-border-inverse-active: var(--lat-ref-color-gray-600);--lat-color-border-inverse-default: var(--lat-ref-color-gray-400);--lat-color-border-inverse-disabled: var(--lat-ref-color-gray-700);--lat-color-border-inverse-focus: var(--lat-ref-color-sky-400);--lat-color-border-inverse-hover: var(--lat-ref-color-gray-500);--lat-color-border-neutral-subtle: var(--lat-ref-color-gray-900);--lat-color-border-neutral-subtlest: var(--lat-ref-color-gray-100);--lat-color-border-primary-active: var(--lat-ref-color-gray-700);--lat-color-border-primary-default: var(--lat-ref-color-gray-300);--lat-color-border-primary-disabled: var(--lat-ref-color-gray-200);--lat-color-border-primary-hover: var(--lat-ref-color-gray-700);--lat-color-border-secondary-default: var(--lat-ref-color-gray-600);--lat-color-border-success-default: var(--lat-ref-color-green-900);--lat-color-border-success-subtle: var(--lat-ref-color-green-1000);--lat-color-border-transparent: #ffffff00;--lat-color-border-warning-default: var(--lat-ref-color-gold-1000);--lat-color-border-warning-subtle: var(--lat-ref-color-gold-1100);--lat-color-foreground-critical-default: var(--lat-ref-color-red-1000);--lat-color-foreground-critical-hover: var(--lat-ref-color-red-900);--lat-color-foreground-critical-subtle: var(--lat-ref-color-red-1000);--lat-color-foreground-informational-default: var(--lat-ref-color-sky-900);--lat-color-foreground-informational-subtle: var(--lat-ref-color-sky-900);--lat-color-foreground-inverse-critical-default: var(--lat-ref-color-red-300);--lat-color-foreground-inverse-default: var(--lat-ref-color-miscellaneous-white);--lat-color-foreground-inverse-disabled: var(--lat-ref-color-gray-700);--lat-color-foreground-inverse-link-active: var(--lat-ref-color-sky-300);--lat-color-foreground-inverse-link-default: var(--lat-ref-color-sky-200);--lat-color-foreground-inverse-link-hover: var(--lat-ref-color-sky-300);--lat-color-foreground-inverse-link-visited: var(--lat-ref-color-purple-300);--lat-color-foreground-inverse-secondary: var(--lat-ref-color-gray-300);--lat-color-foreground-inverse-success-default: var(--lat-ref-color-green-500);--lat-color-foreground-inverse-warning-default: var(--lat-ref-color-gold-500);--lat-color-foreground-link-active: var(--lat-ref-color-blue-700);--lat-color-foreground-link-default: var(--lat-ref-color-sky-900);--lat-color-foreground-link-hover: var(--lat-ref-color-blue-700);--lat-color-foreground-link-visited: var(--lat-ref-color-purple-700);--lat-color-foreground-neutral-default: var(--lat-ref-color-gray-700);--lat-color-foreground-neutral-subtle: var(--lat-ref-color-gray-900);--lat-color-foreground-pink-boldest: var(--lat-ref-color-pink-1000);--lat-color-foreground-primary-default: var(--lat-ref-color-gray-900);--lat-color-foreground-primary-disabled: var(--lat-ref-color-gray-600);--lat-color-foreground-purple-boldest: var(--lat-ref-color-purple-1000);--lat-color-foreground-secondary-default: var(--lat-ref-color-gray-700);--lat-color-foreground-secondary-disabled: var(--lat-ref-color-gray-600);--lat-color-foreground-success-boldest: var(--lat-ref-color-green-1000);--lat-color-foreground-success-default: var(--lat-ref-color-green-900);--lat-color-foreground-teal-boldest: var(--lat-ref-color-teal-1000);--lat-color-foreground-warning-boldest: var(--lat-ref-color-gold-1100);--lat-color-foreground-warning-default: var(--lat-ref-color-gold-1000);--lat-color-page-primary: var(--lat-ref-color-miscellaneous-white);--lat-color-page-secondary: var(--lat-ref-color-gray-50);--lat-gradient-rainbow: linear-gradient(90deg, #F96E10, #FFC305, #FFE84F, #78E898, #3EDFFF, #0298EC);--lat-motion-duration-instant: 100ms;--lat-motion-duration-fast: 150ms;--lat-motion-duration-moderate: 200ms;--lat-motion-duration-slow: 300ms;--lat-motion-duration-deliberate: 500ms;--lat-motion-ease-standard: cubic-bezier(0.4, 0, 0.2, 1);--lat-motion-ease-entrance: cubic-bezier(0.16, 1, 0.3, 1);--lat-motion-ease-exit: cubic-bezier(0.4, 0, 1, 1);--lat-motion-spin-fast: 1s;--lat-motion-spin-slow: 2.5s;--lat-motion-pulse-slow: 1.4s;--lat-motion-type-chart: 35ms;--lat-motion-type-erase: 20ms;--lat-motion-type-pause: 1200ms;--lat-shadow-popover: 0 1px 2px rgba(25, 26, 27, 0.06), 0 2px 6px rgba(25, 26, 27, 0.08);--lat-shadow-focus: 0 4px 4px rgba(0, 0, 0, 0.12);--lat-shadow-tooltip: 0 1px 2px rgba(25, 26, 27, 0.06), 0 2px 6px rgba(25, 26, 27, 0.08);--lat-shadow-small: 0 1px 2px rgba(25, 26, 27, 0.06), 0 2px 6px rgba(25, 26, 27, 0.08);--lat-shadow-medium: 0 2px 4px rgba(25, 26, 27, 0.06), 0 6px 16px rgba(25, 26, 27, 0.10);--lat-shadow-large: 0 4px 8px rgba(25, 26, 27, 0.08), 0 12px 28px rgba(25, 26, 27, 0.14);--lat-shadow-overflow-left: -4px 0 8px rgba(25, 26, 27, 0.08);--lat-shadow-overflow-right: 4px 0 8px rgba(25, 26, 27, 0.08);--lat-shadow-overflow-bottom: 0 4px 8px rgba(25, 26, 27, 0.08);--lat-size-x0: 0px;--lat-size-x1: 4px;--lat-size-x2: 8px;--lat-size-x3: 12px;--lat-size-x4: 16px;--lat-size-x5: 20px;--lat-size-x6: 24px;--lat-size-x7: 28px;--lat-size-x8: 32px;--lat-size-x9: 36px;--lat-size-x10: 40px;--lat-size-x11: 44px;--lat-size-x12: 48px;--lat-size-x13: 52px;--lat-size-x14: 56px;--lat-size-x15: 60px;--lat-size-x16: 64px;--lat-size-x20: 80px;--lat-space-inline-text: 4px;--lat-space-text-to-separator-padding: 4px;--lat-space-trigger-to-anchor: 4px;--lat-space-gutter-s: 8px;--lat-space-text-to-text-s: 8px;--lat-space-trigger-s: 8px;--lat-space-card-padding: 12px;--lat-space-form-s: 12px;--lat-space-gutter-m: 12px;--lat-space-text-to-component-s: 12px;--lat-space-text-to-text-m: 12px;--lat-space-trigger-m: 12px;--lat-space-form-m: 16px;--lat-space-section-s: 16px;--lat-space-text-to-component-m: 16px;--lat-space-section-m: 20px;--lat-space-modal-padding: 24px;--lat-space-page-padding: 24px;--lat-space-pane: 24px;--lat-space-x0: 0px;--lat-space-x1: 4px;--lat-space-x2: 8px;--lat-space-x3: 12px;--lat-space-x4: 16px;--lat-space-x5: 20px;--lat-space-x6: 24px;--lat-space-x7: 28px;--lat-space-x8: 32px;--lat-space-x9: 36px;--lat-space-x10: 40px;--lat-space-x11: 44px;--lat-space-x12: 48px;--lat-text-body-default: 400 0.875rem 'Roboto', Arial, Helvetica, sans-serif;--lat-text-body-default-italic: italic 400 0.875rem 'Roboto', Arial, Helvetica, sans-serif;--lat-text-body-default-medium: 500 0.875rem 'Roboto', Arial, Helvetica, sans-serif;--lat-text-body-small: 400 0.75rem 'Roboto', Arial, Helvetica, sans-serif;--lat-text-body-small-medium: 500 0.75rem 'Roboto', Arial, Helvetica, sans-serif;--lat-text-body-large: 400 1rem 'Roboto', Arial, Helvetica, sans-serif;--lat-text-body-large-italic: italic 400 1rem 'Roboto', Arial, Helvetica, sans-serif;--lat-text-body-large-medium: 500 1rem 'Roboto', Arial, Helvetica, sans-serif;--lat-text-code-small: 400 0.75rem 'Roboto Mono', monospace;--lat-text-code-medium: 400 0.875rem 'Roboto Mono', monospace;--lat-text-heading-1: 600 2rem 'Roboto', Arial, Helvetica, sans-serif;--lat-text-heading-2: 600 1.5rem 'Roboto', Arial, Helvetica, sans-serif;--lat-text-heading-3: 600 1.25rem 'Roboto', Arial, Helvetica, sans-serif;--lat-text-heading-4: 600 1rem 'Roboto', Arial, Helvetica, sans-serif;--lat-text-heading-5: 600 0.875rem 'Roboto', Arial, Helvetica, sans-serif;--lat-text-heading-6: 600 0.75rem 'Roboto', Arial, Helvetica, sans-serif;--lat-z-base: 0;--lat-z-sticky: 50;--lat-z-chrome: 100;--lat-z-overlay: 500;--lat-z-modal: 600;--lat-z-popover: 1000;--lat-z-toast: 1500;--lat-z-tooltip: 2000;--lat-comp-badge-background-critical-bold: var(--lat-color-background-critical-bold);--lat-comp-badge-background-critical-default: #d781844d;--lat-comp-badge-background-informational-default: #60b5f04d;--lat-comp-badge-background-neutral-default: #c9d1df4d;--lat-comp-badge-background-success-default: #a1db6a4d;--lat-comp-badge-background-warning-default: #ffd14d4d;--lat-comp-badge-border-contrast-default: var(--lat-color-border-contrast);--lat-comp-badge-foreground-critical-default: var(--lat-color-foreground-critical-subtle);--lat-comp-badge-foreground-informational-default: var(--lat-color-foreground-informational-subtle);--lat-comp-badge-foreground-inverse-default: var(--lat-color-foreground-inverse-default);--lat-comp-badge-foreground-neutral-default: var(--lat-color-foreground-neutral-subtle);--lat-comp-badge-foreground-success-default: var(--lat-color-foreground-success-boldest);--lat-comp-badge-foreground-warning-default: var(--lat-color-foreground-warning-boldest);--lat-comp-banner-background-critical-default: #d781844d;--lat-comp-banner-background-critical-hover: var(--lat-color-background-critical-hover);--lat-comp-banner-background-informational-default: #60b5f04d;--lat-comp-banner-background-informational-hover: var(--lat-color-background-informational-hover);--lat-comp-banner-background-neutral-default: #c9d1df4d;--lat-comp-banner-background-neutral-hover: var(--lat-color-background-neutral-hover);--lat-comp-banner-background-success-default: #a1db6a4d;--lat-comp-banner-background-success-hover: var(--lat-color-background-success-hover);--lat-comp-banner-background-warning-default: #ffd14d4d;--lat-comp-banner-background-warning-hover: var(--lat-color-background-warning-hover);--lat-comp-banner-border-critical-default: var(--lat-color-border-critical-subtle);--lat-comp-banner-border-informational-default: var(--lat-color-border-informational-subtle);--lat-comp-banner-border-neutral-default: var(--lat-color-border-neutral-subtle);--lat-comp-banner-border-success-default: var(--lat-color-border-success-subtle);--lat-comp-banner-border-warning-default: var(--lat-color-border-warning-subtle);--lat-comp-banner-foreground-critical-default: var(--lat-color-foreground-critical-subtle);--lat-comp-banner-foreground-informational-default: var(--lat-color-foreground-informational-subtle);--lat-comp-banner-foreground-neutral-default: var(--lat-color-foreground-neutral-subtle);--lat-comp-banner-foreground-success-default: var(--lat-color-foreground-success-boldest);--lat-comp-banner-foreground-warning-default: var(--lat-color-foreground-warning-boldest);--lat-comp-toast-background-primary-default: var(--lat-color-background-inverse-default);--lat-comp-toast-background-primary-hover: var(--lat-color-background-inverse-hover);--lat-comp-toast-foreground-critical-default: var(--lat-color-foreground-inverse-critical-default);--lat-comp-toast-foreground-link-active: var(--lat-color-foreground-inverse-link-active);--lat-comp-toast-foreground-link-default: var(--lat-color-foreground-inverse-link-default);--lat-comp-toast-foreground-link-hover: var(--lat-color-foreground-inverse-link-hover);--lat-comp-toast-foreground-link-visited: var(--lat-color-foreground-inverse-link-visited);--lat-comp-toast-foreground-primary-default: var(--lat-color-foreground-inverse-default);--lat-comp-toast-foreground-success-default: var(--lat-color-foreground-inverse-success-default);--lat-comp-tooltip-background-primary-default: var(--lat-color-background-inverse-default);--lat-comp-tooltip-foreground-primary-default: var(--lat-color-foreground-inverse-default)}.dark{--lat-color-background-critical-bold: var(--lat-ref-color-red-400);--lat-color-background-critical-bolder: var(--lat-ref-color-red-300);--lat-color-background-critical-boldest: var(--lat-ref-color-red-200);--lat-color-background-critical-default: var(--lat-ref-color-red-1000);--lat-color-background-critical-hover: var(--lat-ref-color-red-300);--lat-color-background-critical-subtle: var(--lat-ref-color-red-500);--lat-color-background-informational-default: var(--lat-ref-color-sky-900);--lat-color-background-informational-hover: var(--lat-ref-color-blue-700);--lat-color-background-informational-subtle: var(--lat-ref-color-sky-500);--lat-color-background-interactive-active: var(--lat-ref-color-sky-200);--lat-color-background-interactive-default: var(--lat-ref-color-sky-400);--lat-color-background-interactive-disabled: var(--lat-ref-color-gray-900);--lat-color-background-interactive-hover: var(--lat-ref-color-sky-300);--lat-color-background-inverse-active: var(--lat-ref-color-sky-50);--lat-color-background-inverse-default: var(--lat-ref-color-miscellaneous-white);--lat-color-background-inverse-disabled: var(--lat-ref-color-gray-100);--lat-color-background-inverse-hover: var(--lat-ref-color-gray-50);--lat-color-background-neutral-active: var(--lat-ref-color-gray-700);--lat-color-background-neutral-bold: var(--lat-ref-color-gray-800);--lat-color-background-neutral-bolder: var(--lat-ref-color-gray-600);--lat-color-background-neutral-boldest: var(--lat-ref-color-gray-400);--lat-color-background-neutral-default: var(--lat-ref-color-gray-900);--lat-color-background-neutral-disabled: var(--lat-ref-color-gray-1000);--lat-color-background-neutral-hover: var(--lat-ref-color-gray-800);--lat-color-background-neutral-subtle: var(--lat-ref-color-gray-500);--lat-color-background-pink-default: var(--lat-ref-color-pink-900);--lat-color-background-primary-active: var(--lat-ref-color-gray-700);--lat-color-background-primary-default: var(--lat-ref-color-gray-1000);--lat-color-background-primary-disabled: var(--lat-ref-color-gray-1050);--lat-color-background-primary-hover: var(--lat-ref-color-gray-900);--lat-color-background-primary-selected: var(--lat-ref-color-gray-800);--lat-color-background-purple-default: var(--lat-ref-color-purple-900);--lat-color-background-secondary-default: var(--lat-ref-color-gray-950);--lat-color-background-secondary-hover: var(--lat-ref-color-gray-800);--lat-color-background-secondary-selected: var(--lat-ref-color-sky-700);--lat-color-background-success-bold: var(--lat-ref-color-green-700);--lat-color-background-success-bolder: var(--lat-ref-color-green-400);--lat-color-background-success-default: var(--lat-ref-color-green-1000);--lat-color-background-success-hover: var(--lat-ref-color-green-900);--lat-color-background-success-subtle: var(--lat-ref-color-green-500);--lat-color-background-teal-default: var(--lat-ref-color-teal-900);--lat-color-background-warning-default: var(--lat-ref-color-gold-1000);--lat-color-background-warning-hover: var(--lat-ref-color-gold-1100);--lat-color-background-warning-subtle: var(--lat-ref-color-gold-500);--lat-color-border-contrast: var(--lat-ref-color-miscellaneous-charcoal);--lat-color-border-contrast-focus: var(--lat-ref-color-miscellaneous-white);--lat-color-border-critical-default: var(--lat-ref-color-red-500);--lat-color-border-critical-subtle: var(--lat-ref-color-red-400);--lat-color-border-focus: var(--lat-ref-color-sky-400);--lat-color-border-informational-default: var(--lat-ref-color-sky-500);--lat-color-border-informational-subtle: var(--lat-ref-color-sky-400);--lat-color-border-inverse-active: var(--lat-ref-color-gray-700);--lat-color-border-inverse-default: var(--lat-ref-color-gray-300);--lat-color-border-inverse-disabled: var(--lat-ref-color-gray-200);--lat-color-border-inverse-focus: var(--lat-ref-color-sky-700);--lat-color-border-inverse-hover: var(--lat-ref-color-gray-700);--lat-color-border-neutral-subtle: var(--lat-ref-color-gray-400);--lat-color-border-neutral-subtlest: var(--lat-ref-color-gray-900);--lat-color-border-primary-active: var(--lat-ref-color-gray-500);--lat-color-border-primary-default: var(--lat-ref-color-gray-900);--lat-color-border-primary-disabled: var(--lat-ref-color-gray-700);--lat-color-border-primary-hover: var(--lat-ref-color-gray-500);--lat-color-border-secondary-default: var(--lat-ref-color-gray-600);--lat-color-border-success-default: var(--lat-ref-color-green-400);--lat-color-border-success-subtle: var(--lat-ref-color-green-400);--lat-color-border-transparent: #ffffff00;--lat-color-border-warning-default: var(--lat-ref-color-gold-600);--lat-color-border-warning-subtle: var(--lat-ref-color-gold-400);--lat-color-foreground-critical-default: var(--lat-ref-color-red-300);--lat-color-foreground-critical-hover: var(--lat-ref-color-red-200);--lat-color-foreground-critical-subtle: var(--lat-ref-color-red-100);--lat-color-foreground-informational-default: var(--lat-ref-color-sky-500);--lat-color-foreground-informational-subtle: var(--lat-ref-color-sky-100);--lat-color-foreground-inverse-critical-default: var(--lat-ref-color-red-1000);--lat-color-foreground-inverse-default: var(--lat-ref-color-gray-1050);--lat-color-foreground-inverse-disabled: var(--lat-ref-color-gray-500);--lat-color-foreground-inverse-link-active: var(--lat-ref-color-blue-700);--lat-color-foreground-inverse-link-default: var(--lat-ref-color-sky-900);--lat-color-foreground-inverse-link-hover: var(--lat-ref-color-blue-700);--lat-color-foreground-inverse-link-visited: var(--lat-ref-color-purple-700);--lat-color-foreground-inverse-secondary: var(--lat-ref-color-gray-700);--lat-color-foreground-inverse-success-default: var(--lat-ref-color-green-900);--lat-color-foreground-inverse-warning-default: var(--lat-ref-color-gold-1000);--lat-color-foreground-link-active: var(--lat-ref-color-sky-300);--lat-color-foreground-link-default: var(--lat-ref-color-sky-200);--lat-color-foreground-link-hover: var(--lat-ref-color-sky-300);--lat-color-foreground-link-visited: var(--lat-ref-color-purple-300);--lat-color-foreground-neutral-default: var(--lat-ref-color-gray-100);--lat-color-foreground-neutral-subtle: var(--lat-ref-color-gray-100);--lat-color-foreground-pink-boldest: var(--lat-ref-color-pink-100);--lat-color-foreground-primary-default: var(--lat-ref-color-gray-50);--lat-color-foreground-primary-disabled: var(--lat-ref-color-gray-700);--lat-color-foreground-purple-boldest: var(--lat-ref-color-purple-100);--lat-color-foreground-secondary-default: var(--lat-ref-color-gray-300);--lat-color-foreground-secondary-disabled: var(--lat-ref-color-gray-600);--lat-color-foreground-success-boldest: var(--lat-ref-color-green-100);--lat-color-foreground-success-default: var(--lat-ref-color-green-500);--lat-color-foreground-teal-boldest: var(--lat-ref-color-teal-100);--lat-color-foreground-warning-boldest: var(--lat-ref-color-gold-100);--lat-color-foreground-warning-default: var(--lat-ref-color-gold-500);--lat-color-page-primary: var(--lat-ref-color-gray-1050);--lat-color-page-secondary: var(--lat-ref-color-gray-1100);--lat-gradient-rainbow: linear-gradient(90deg, #F96E10, #FFC305, #FFE84F, #78E898, #3EDFFF, #0298EC);--lat-shadow-popover: 0 0 0 1px rgba(255, 255, 255, 0.06), 0 2px 6px rgba(0, 0, 0, 0.35);--lat-shadow-focus: 0 4px 8px rgba(0, 0, 0, 0.20);--lat-shadow-tooltip: 0 0 0 1px rgba(255, 255, 255, 0.06), 0 2px 6px rgba(0, 0, 0, 0.35);--lat-shadow-small: 0 0 0 1px rgba(255, 255, 255, 0.06), 0 2px 6px rgba(0, 0, 0, 0.35);--lat-shadow-medium: 0 0 0 1px rgba(255, 255, 255, 0.06), 0 6px 16px rgba(0, 0, 0, 0.40);--lat-shadow-large: 0 0 0 1px rgba(255, 255, 255, 0.05), 0 12px 28px rgba(0, 0, 0, 0.45);--lat-shadow-overflow-left: -4px 0 8px rgba(0, 0, 0, 0.35);--lat-shadow-overflow-right: 4px 0 8px rgba(0, 0, 0, 0.35);--lat-shadow-overflow-bottom: 0 4px 8px rgba(0, 0, 0, 0.35);--lat-comp-badge-background-critical-bold: var(--lat-color-background-critical-bold);--lat-comp-badge-background-critical-default: #e65b534d;--lat-comp-badge-background-informational-default: #0296ec4d;--lat-comp-badge-background-neutral-default: #8f94a94d;--lat-comp-badge-background-success-default: #73ca0d4d;--lat-comp-badge-background-warning-default: #ffbc044d;--lat-comp-badge-border-contrast-default: var(--lat-color-border-contrast);--lat-comp-badge-foreground-critical-default: var(--lat-color-foreground-critical-subtle);--lat-comp-badge-foreground-informational-default: var(--lat-color-foreground-informational-subtle);--lat-comp-badge-foreground-inverse-default: var(--lat-color-foreground-inverse-default);--lat-comp-badge-foreground-neutral-default: var(--lat-color-foreground-neutral-subtle);--lat-comp-badge-foreground-success-default: var(--lat-color-foreground-success-boldest);--lat-comp-badge-foreground-warning-default: var(--lat-color-foreground-warning-boldest);--lat-comp-banner-background-critical-default: #e65b534d;--lat-comp-banner-background-critical-hover: var(--lat-color-background-critical-hover);--lat-comp-banner-background-informational-default: #0296ec4d;--lat-comp-banner-background-informational-hover: var(--lat-color-background-informational-hover);--lat-comp-banner-background-neutral-default: #8f94a94d;--lat-comp-banner-background-neutral-hover: var(--lat-color-background-neutral-hover);--lat-comp-banner-background-success-default: #73ca0d4d;--lat-comp-banner-background-success-hover: var(--lat-color-background-success-hover);--lat-comp-banner-background-warning-default: #ffbc044d;--lat-comp-banner-background-warning-hover: var(--lat-color-background-warning-hover);--lat-comp-banner-border-critical-default: var(--lat-color-border-critical-subtle);--lat-comp-banner-border-informational-default: var(--lat-color-border-informational-subtle);--lat-comp-banner-border-neutral-default: var(--lat-color-border-neutral-subtle);--lat-comp-banner-border-success-default: var(--lat-color-border-success-subtle);--lat-comp-banner-border-warning-default: var(--lat-color-border-warning-subtle);--lat-comp-banner-foreground-critical-default: var(--lat-color-foreground-critical-subtle);--lat-comp-banner-foreground-informational-default: var(--lat-color-foreground-informational-subtle);--lat-comp-banner-foreground-neutral-default: var(--lat-color-foreground-neutral-subtle);--lat-comp-banner-foreground-success-default: var(--lat-color-foreground-success-boldest);--lat-comp-banner-foreground-warning-default: var(--lat-color-foreground-warning-boldest);--lat-comp-toast-background-primary-default: var(--lat-color-background-neutral-default);--lat-comp-toast-background-primary-hover: var(--lat-color-background-neutral-hover);--lat-comp-toast-foreground-critical-default: var(--lat-color-foreground-critical-default);--lat-comp-toast-foreground-link-active: var(--lat-color-foreground-link-active);--lat-comp-toast-foreground-link-default: var(--lat-color-foreground-link-default);--lat-comp-toast-foreground-link-hover: var(--lat-color-foreground-link-hover);--lat-comp-toast-foreground-link-visited: var(--lat-color-foreground-link-visited);--lat-comp-toast-foreground-primary-default: var(--lat-color-foreground-primary-default);--lat-comp-toast-foreground-success-default: var(--lat-color-foreground-success-default);--lat-comp-tooltip-background-primary-default: var(--lat-color-background-neutral-default);--lat-comp-tooltip-foreground-primary-default: var(--lat-color-foreground-primary-default)}#navbar-transition{background-color:var(--lat-color-background-secondary-default)}"}],"page":{"pagePath":"get-started/start-building/application/react-native","slug":"/get-started/start-building/application/react-native","pageMetadata":{"title":"Get Started with Honeycomb for React Native","description":"Instrument your React Native application with the Honeycomb OpenTelemetry React Native SDK, send telemetry to Honeycomb, and measure real device performance in production.","sidebarTitle":"Frontend Observability for React Native","href":"/get-started/start-building/application/react-native"},"description":{"compiledSource":"\"use strict\";\nconst {jsx: _jsx} = arguments[0];\nconst {useMDXComponents: _provideComponents} = arguments[0];\nfunction _createMdxContent(props) {\n const _components = {\n p: \"p\",\n ..._provideComponents(),\n ...props.components\n };\n return _jsx(_components.p, {\n children: \"Instrument your React Native application with the Honeycomb OpenTelemetry React Native SDK, send telemetry to Honeycomb, and measure real device performance in production.\"\n });\n}\nfunction MDXContent(props = {}) {\n const {wrapper: MDXLayout} = {\n ..._provideComponents(),\n ...props.components\n };\n return MDXLayout ? _jsx(MDXLayout, {\n ...props,\n children: _jsx(_createMdxContent, {\n ...props\n })\n }) : _createMdxContent(props);\n}\nreturn {\n default: MDXContent\n};\n","frontmatter":{},"scope":{}},"pageType":"default","mdx":{"mdxSource":{"compiledSource":"\"use strict\";const{Fragment:_Fragment,jsx:_jsx,jsxs:_jsxs}=arguments[0];const{useMDXComponents:_provideComponents}=arguments[0];function _createMdxContent(props){const _components={a:`a`,code:`code`,li:`li`,ol:`ol`,p:`p`,pre:`pre`,span:`span`,strong:`strong`,ul:`ul`,..._provideComponents(),...props.components},{CodeBlock,Heading,Tip}=_components;if(!CodeBlock)_missingMdxReference(`CodeBlock`,true);if(!Heading)_missingMdxReference(`Heading`,true);if(!Tip)_missingMdxReference(`Tip`,true);return _jsxs(_Fragment,{children:[_jsxs(_components.p,{children:[`Learn how to collect telemetry from your React Native application and send it to Honeycomb using the `,_jsx(_components.a,{href:`https://github.com/honeycombio/honeycomb-opentelemetry-react-native`,children:`Honeycomb OpenTelemetry React Native SDK`}),`.`]}),`\n`,_jsx(_components.p,{children:`Instrumenting your application lets you measure how it behaves on actual devices, detect performance issues, and better understand how users experience your application.`}),`\n`,_jsx(Heading,{level:`2`,id:`before-you-begin`,children:`Before you begin`}),`\n`,_jsx(_components.p,{children:`Before you run the code, you’ll need to do a few things.`}),`\n`,_jsx(Heading,{level:`3`,id:`sign-up-for-honeycomb`,children:`Sign up for Honeycomb`}),`\n`,_jsx(_components.p,{children:`If you don’t already have a Honeycomb account, you can sign up for one.\nSignup is free.`}),`\n`,_jsx(_components.p,{children:`Honeycomb stores your data in either a US-based or EU-based location, depending on your account region:`}),`\n`,_jsxs(_components.ul,{children:[`\n`,_jsx(_components.li,{children:_jsx(_components.a,{href:`https://ui.honeycomb.io/signup`,children:`Create a US account`})}),`\n`,_jsx(_components.li,{children:_jsx(_components.a,{href:`https://ui.eu1.honeycomb.io/signup`,children:`Create an EU account`})}),`\n`]}),`\n`,_jsx(Heading,{level:`3`,id:`get-an-api-key`,children:`Get an API key`}),`\n`,_jsxs(_components.p,{children:[`For this guide, you’ll need a `,_jsx(_components.a,{href:`/configure/environments/manage-api-keys/#create-api-key`,children:`Honeycomb Ingest API Key`}),` with the `,_jsx(_components.strong,{children:`Can create services/datasets`}),` permission.\nThis lets your application send telemetry to Honeycomb and create a dataset for your service.`]}),`\n`,_jsx(Tip,{children:_jsx(_components.p,{children:`When deploying to production, replace this key with a separate key that does not allow dataset creation.\nThis helps protect your data structure in live environments.`})}),`\n`,_jsx(_components.p,{children:`Make note of your API key; for security reasons, you will not be able to see the key again, and you will need it later.`}),`\n`,_jsx(Heading,{level:`2`,id:`install-the-sdk`,children:`Install the SDK`}),`\n`,_jsx(_components.p,{children:`Before you can use Honeycomb’s OpenTelemetry React Native SDK, you need to install it and configure platform-specific dependencies.`}),`\n`,_jsxs(_components.ol,{children:[`\n`,_jsxs(_components.li,{children:[`\n`,_jsxs(_components.p,{children:[`Configure Metro to recognize `,_jsx(_components.code,{children:`package.json`}),` exports. To do this, create a new file, `,_jsx(_components.code,{children:`metro.config.js`}),`, in your application’s root directory.\n`,_jsxs(_components.a,{href:`https://reactnative.dev/blog/2023/06/21/package-exports-support`,children:[`Enable `,_jsx(_components.code,{children:`package.json`}),` exports`]}),` in your Metro configuration.`]}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`1`,language:`javascript`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`javascript`,children:_jsxs(_components.code,{language:`javascript`,numberOfLines:`1`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`config`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`.`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`resolver`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`.`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`unstable_enablePackageExports`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:` =`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` true`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`;`})]}),`\n`]})})}),`\n`,_jsxs(_components.p,{children:[`Here’s an `,_jsx(_components.a,{href:`https://github.com/honeycombio/honeycomb-opentelemetry-react-native/blob/main/example/metro.config.js`,children:`example Metro configuration`}),`:`]}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`17`,language:`javascript`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`javascript`,children:_jsxs(_components.code,{language:`javascript`,numberOfLines:`17`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:`const`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#4FC1FF`},children:` path`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:` =`}),_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:` require`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`(`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`'path'`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`);`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:`const`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` { `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#4FC1FF`},children:`getDefaultConfig`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` } `}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:` require`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`(`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`'@react-native/metro-config'`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`);`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:`const`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` { `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#4FC1FF`},children:`getConfig`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` } `}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:` require`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`(`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`'react-native-builder-bob/metro-config'`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`);`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:`const`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#4FC1FF`},children:` pkg`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:` =`}),_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:` require`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`(`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`'../package.json'`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`);`})]}),`\n`,_jsx(_components.span,{className:`line`}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:`const`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#4FC1FF`},children:` root`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:` =`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` path`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`.`}),_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:`resolve`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`(`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`__dirname`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`'..'`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`);`})]}),`\n`,_jsx(_components.span,{className:`line`}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:`const`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#4FC1FF`},children:` config`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:` =`}),_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:` getConfig`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`(`}),_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:`getDefaultConfig`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`(`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`__dirname`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`), {`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` root`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` pkg`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` project:`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` __dirname`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`});`})}),`\n`,_jsx(_components.span,{className:`line`}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#6E7781`,\"--shiki-dark\":`#6A9955`},children:`// Required to use @opentelemetry package.json \"exports\" field`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`config`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`.`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`resolver`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`.`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`unstable_enablePackageExports`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:` =`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` true`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`;`})]}),`\n`,_jsx(_components.span,{className:`line`}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#4EC9B0`},children:`module`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`.`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#4EC9B0`},children:`exports`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:` =`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` config`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`;`})]}),`\n`]})})}),`\n`,_jsx(Tip,{children:_jsxs(_components.p,{children:[`To learn more about Metro configuration, visit `,_jsx(_components.a,{href:`https://metrobundler.dev/docs/configuration/`,children:`Configuring Metro`}),`.`]})}),`\n`]}),`\n`,_jsxs(_components.li,{children:[`\n`,_jsx(_components.p,{children:`Install Honeycomb’s OpenTelemetry React Native SDK in your application’s root directory using your preferred package manager.`}),`\n`,_jsx(_components.p,{children:_jsxs(_components.strong,{children:[`Install with `,_jsx(_components.code,{children:`yarn`}),`:`]})}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`1`,language:`shellscript`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`shellscript`,children:_jsxs(_components.code,{language:`shellscript`,numberOfLines:`1`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`yarn`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` add`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` @honeycombio/opentelemetry-react-native`})]}),`\n`]})})}),`\n`,_jsx(_components.p,{children:_jsxs(_components.strong,{children:[`Install with `,_jsx(_components.code,{children:`npm`}),`:`]})}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`1`,language:`shellscript`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`shellscript`,children:_jsxs(_components.code,{language:`shellscript`,numberOfLines:`1`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`npm`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` install`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` @honeycombio/opentelemetry-react-native`})]}),`\n`]})})}),`\n`]}),`\n`,_jsxs(_components.li,{children:[`\n`,_jsx(_components.p,{children:`Install the necessary dependencies for each mobile platform your application supports.`}),`\n`,_jsx(_components.p,{children:_jsx(_components.strong,{children:`Android dependencies:`})}),`\n`,_jsxs(_components.p,{children:[`Add the following dependencies to your application’s `,_jsx(_components.code,{children:`build.gradle`}),`.`]}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`6`,language:`text`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`text`,children:_jsxs(_components.code,{language:`text`,numberOfLines:`6`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`dependencies {`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` //...`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` implementation \"io.honeycomb.android:honeycomb-opentelemetry-android:0.0.16\"`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` implementation \"io.opentelemetry.android:android-agent:0.11.0-alpha\"`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`}`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{})})]})})}),`\n`,_jsxs(_components.p,{children:[`If your application’s `,_jsx(_components.code,{children:`minSDK`}),` version is lower than 26, add `,_jsx(_components.a,{href:`https://developer.android.com/studio/write/java8-support#library-desugaring`,children:`core library desugaring`}),` to your `,_jsx(_components.code,{children:`android/app/build.gradle`}),`.`]}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`10`,language:`text`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`text`,children:_jsxs(_components.code,{language:`text`,numberOfLines:`10`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`android {`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` compileOptions {`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` // Enable support for the new language APIs`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` coreLibraryDesugaringEnabled true`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` }`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` dependencies {`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` coreLibraryDesugaring \"com.android.tools:desugar_jdk_libs:2.1.5\"`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` }`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`}`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{})})]})})}),`\n`,_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`iOS dependencies`}),`:`]}),`\n`,_jsxs(_components.p,{children:[`Add the `,_jsx(_components.code,{children:`use_frameworks!`}),` option to your application’s `,_jsx(_components.code,{children:`Podfile`}),`.`]}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`4`,language:`text`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`text`,children:_jsxs(_components.code,{language:`text`,numberOfLines:`4`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`platform :ios, min_ios_version_supported`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`prepare_react_native_project!`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`use_frameworks!`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{})})]})})}),`\n`,_jsxs(_components.p,{children:[`From the `,_jsx(_components.code,{children:`ios`}),` directory, run `,_jsx(_components.code,{children:`pod install`}),` to install the required dependencies.`]}),`\n`]}),`\n`]}),`\n`,_jsx(Heading,{level:`2`,id:`initialize`,children:`Initialize`}),`\n`,_jsx(_components.p,{children:`Initialize the SDK at the start of your React Native application.\nThis ensures that events such as startup time and early view loads are captured.`}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`12`,language:`typescript`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`typescript`,children:_jsxs(_components.code,{language:`typescript`,numberOfLines:`12`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#C586C0`},children:`import`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` { `}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`HoneycombReactNativeSDK`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` } `}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#C586C0`},children:`from`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` '@honeycombio/opentelemetry-react-native'`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`;`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#C586C0`},children:`import`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` { `}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`DiagLogLevel`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` } `}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#C586C0`},children:`from`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` '@opentelemetry/api'`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`;`})]}),`\n`,_jsx(_components.span,{className:`line`}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:`const`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#4FC1FF`},children:` sdk`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:` =`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:` new`}),_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:` HoneycombReactNativeSDK`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`({`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#6E7781`,\"--shiki-dark\":`#6A9955`},children:` // Uncomment the line below to send to EU instance. Defaults to US.`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#6E7781`,\"--shiki-dark\":`#6A9955`},children:` // endpoint: \"https://api.eu1.honeycomb.io:443\",`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` apiKey:`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"YOUR-API-KEY\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` serviceName:`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"YOUR-SERVICE-NAME\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` logLevel:`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` DiagLogLevel`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`.`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#4FC1FF`},children:`DEBUG`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`});`})}),`\n`,_jsx(_components.span,{className:`line`}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`sdk`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`.`}),_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:`start`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`();`})]}),`\n`]})})}),`\n`,_jsx(_components.p,{children:`In the above example, key configuration options include:`}),`\n`,_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`endpoint`}),`\n: URL where your telemetry is sent.\nDefaults to `,_jsx(_components.code,{children:`https://api.honeycomb.io:443`}),` (the Honeycomb US instance URL).\nFor EU instances, set this to `,_jsx(_components.code,{children:`https://api.eu1.honeycomb.io:443`}),`.\nIf you’re using an OpenTelemetry Collector, use your collector’s URL instead.`]}),`\n`,_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`apiKey`}),`\n: Your `,_jsx(_components.a,{href:`/configure/environments/manage-api-keys/#create-api-key`,children:`Ingest API Key`}),`, which authorizes your application to send telemetry directly to Honeycomb.`]}),`\n`,_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`serviceName`}),`\n: Name of your application, which Honeycomb will use as your dataset name.\nChoose something meaningful and consistent.`]}),`\n`,_jsx(Tip,{children:_jsx(_components.p,{children:`If you don’t provide a service name, the dataset name will be inferred from your bundle.`})}),`\n`,_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`logLevel`}),`\n: Verbosity of logs printed to the console.\nEnabling debug logs is helpful during development.`]}),`\n`,_jsxs(_components.p,{children:[`Can be set to either `,_jsx(_components.code,{children:`.NONE`}),`, `,_jsx(_components.code,{children:`.ERROR`}),`, `,_jsx(_components.code,{children:`.WARN`}),`, `,_jsx(_components.code,{children:`.INFO`}),`, `,_jsx(_components.code,{children:`.DEBUG`}),`, or `,_jsx(_components.code,{children:`.ALL`}),`. For more information, visit `,_jsx(_components.a,{href:`https://open-telemetry.github.io/opentelemetry-js/enums/_opentelemetry_api._opentelemetry_api.DiagLogLevel.html`,children:`Enumeration DiagLogLevel`}),`.`]}),`\n`,_jsxs(_components.p,{children:[`For Android, initialize the SDK at the start of the `,_jsx(_components.code,{children:`onCreate()`}),` method in your main `,_jsx(_components.code,{children:`Application`}),` class.`]}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`11`,language:`kotlin`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`kotlin`,children:_jsxs(_components.code,{language:`kotlin`,numberOfLines:`11`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#6E7781`,\"--shiki-dark\":`#6A9955`},children:`// MainApplication.kt`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:`override`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:` fun`}),_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:` onCreate`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`() {`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:` val`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` options `}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` HoneycombOpentelemetryReactNativeModule.`}),_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:`optionsBuilder`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`(`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:`this`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`)`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#6E7781`,\"--shiki-dark\":`#6A9955`},children:` // Uncomment the line below to send to EU instance. Defaults to US.`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#6E7781`,\"--shiki-dark\":`#6A9955`},children:` // .setApiEndpoint(\"https://api.eu1.honeycomb.io:443\")`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` .`}),_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:`setApiKey`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`(`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"YOUR-API-KEY\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`)`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` .`}),_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:`setServiceName`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`(`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"YOUR-SERVICE-NAME\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`)`})]}),`\n`,_jsx(_components.span,{className:`line`}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` HoneycombOpentelemetryReactNativeModule.`}),_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:`configure`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`(`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:`this`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, options)`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` super`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`.`}),_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:`onCreate`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`()`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`}`})}),`\n`]})})}),`\n`,_jsxs(_components.p,{children:[`For iOS, initialize the SDK at the start of the `,_jsx(_components.code,{children:`application()`}),` method in your `,_jsx(_components.code,{children:`AppDelegate`}),` class.`]}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`13`,language:`swift`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`swift`,children:_jsxs(_components.code,{language:`swift`,numberOfLines:`13`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#6E7781`,\"--shiki-dark\":`#6A9955`},children:`// AppDelegate.swift`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:`override`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:` func`}),_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:` application`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`(`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:` _`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` application`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: UIApplication,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:` didFinishLaunchingWithOptions`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` launchOptions`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: [UIApplication.LaunchOptionsKey: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#4EC9B0`},children:`Any`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`]`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`?`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:` =`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` nil`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`) `}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`->`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#4EC9B0`},children:` Bool`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` {`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:` let`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` options `}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` HoneycombReactNative.`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#DCDCAA`},children:`optionsBuilder`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`()`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#6E7781`,\"--shiki-dark\":`#6A9955`},children:` // Uncomment the line below to send to EU instance. Defaults to US.`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#6E7781`,\"--shiki-dark\":`#6A9955`},children:` // .setAPIEndpoint(\"https://api.eu1.honeycomb.io:443\")`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` .`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#DCDCAA`},children:`setAPIKey`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`(`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"YOUR-API-KEY\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`)`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` .`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#DCDCAA`},children:`setServiceName`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`(`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"YOUR-SERVICE-NAME\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`)`})]}),`\n`,_jsx(_components.span,{className:`line`}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` HoneycombReactNative.`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#DCDCAA`},children:`configure`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`(options)`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`}`})}),`\n`]})})}),`\n`,_jsx(Heading,{level:`2`,id:`enable-automatic-instrumentation`,children:`Enable automatic instrumentation`}),`\n`,_jsx(_components.p,{children:`The Honeycomb OpenTelemetry React Native SDK includes auto-instrumentation libraries for:`}),`\n`,_jsxs(_components.ul,{children:[`\n`,_jsx(_components.li,{children:`Application startup time, measured from when the native SDKs start to when the JavaScript SDK finishes initializing.`}),`\n`,_jsx(_components.li,{children:`Errors or uncaught exceptions.`}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.a,{href:`https://developer.mozilla.org/en-US/docs/Web/API/Window/fetch`,children:`Fetch`}),` instrumentation, using the `,_jsx(_components.a,{href:`https://github.com/open-telemetry/opentelemetry-js/tree/main/experimental/packages/opentelemetry-instrumentation-fetch`,children:`opentelemetry-instrumentation-fetch`}),` package.`]}),`\n`,_jsx(_components.li,{children:`Slow event loop detection.`}),`\n`]}),`\n`,_jsx(_components.p,{children:`Automatic instrumentation is enabled by default.\nYou can enable or disable individual auto-instrumentation libraries in your configuration.`}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`29`,language:`typescript`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`typescript`,children:_jsxs(_components.code,{language:`typescript`,numberOfLines:`29`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#C586C0`},children:`import`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` { `}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`HoneycombReactNativeSDK`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` } `}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#C586C0`},children:`from`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` '@honeycombio/opentelemetry-react-native'`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`;`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#C586C0`},children:`import`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` { `}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`DiagLogLevel`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` } `}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#C586C0`},children:`from`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` '@opentelemetry/api'`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`;`})]}),`\n`,_jsx(_components.span,{className:`line`}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:`const`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#4FC1FF`},children:` sdk`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:` =`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:` new`}),_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:` HoneycombReactNativeSDK`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`({`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#6E7781`,\"--shiki-dark\":`#6A9955`},children:` // Uncomment the line below to send to EU instance. Defaults to US.`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#6E7781`,\"--shiki-dark\":`#6A9955`},children:` // endpoint: \"https://api.eu1.honeycomb.io:443\",`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` apiKey:`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"YOUR-API-KEY\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` serviceName:`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"YOUR-SERVICE-NAME\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` logLevel:`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` DiagLogLevel`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`.`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#4FC1FF`},children:`DEBUG`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsx(_components.span,{className:`line`}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#6E7781`,\"--shiki-dark\":`#6A9955`},children:` // auto-instrumentation options`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` reactNativeStartupInstrumentationConfig:`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` {`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` enabled:`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` true`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` },`})}),`\n`,_jsx(_components.span,{className:`line`}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` uncaughtExceptionInstrumentationConfig:`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` {`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` enabled:`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` true`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` },`})}),`\n`,_jsx(_components.span,{className:`line`}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` fetchInstrumentationConfig:`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` {`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` enabled:`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` true`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` },`})}),`\n`,_jsx(_components.span,{className:`line`}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` slowEventLoopInstrumentationConfig:`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` {`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` enabled:`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` true`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` },`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`});`})}),`\n`,_jsx(_components.span,{className:`line`}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`sdk`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`.`}),_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:`start`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`();`})]}),`\n`]})})}),`\n`,_jsx(Heading,{level:`2`,id:`verify-data-is-being-sent`,children:`Verify data is being sent`}),`\n`,_jsx(_components.p,{children:`Once your application is instrumented, check that telemetry data is reaching Honeycomb:`}),`\n`,_jsxs(_components.ol,{children:[`\n`,_jsxs(_components.li,{children:[`\n`,_jsxs(_components.p,{children:[`Confirm that debug logging is enabled by setting `,_jsx(_components.code,{children:`logLevel: DiagLogLevel.DEBUG`}),` in your SDK configuration.`]}),`\n`]}),`\n`,_jsxs(_components.li,{children:[`\n`,_jsx(_components.p,{children:`Build and run your application.`}),`\n`]}),`\n`,_jsxs(_components.li,{children:[`\n`,_jsx(_components.p,{children:`Open your debugger and check for logs with output like this:`}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`4`,language:`text`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`text`,children:_jsxs(_components.code,{language:`text`,numberOfLines:`4`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`🐝 Honeycomb SDK Debug Mode Enabled 🐝`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`Honeycomb options: HoneycombOptions(...)`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`Not sampling, emitting all spans`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{})})]})})}),`\n`]}),`\n`,_jsxs(_components.li,{children:[`\n`,_jsxs(_components.p,{children:[`Log in to Honeycomb, and open your environment.\nYou should see a new dataset named after your `,_jsx(_components.code,{children:`serviceName`}),` value.`]}),`\n`]}),`\n`]}),`\n`,_jsxs(_components.p,{children:[`If you don’t see any data, visit `,_jsx(_components.a,{href:`#troubleshooting`,children:`Troubleshooting`}),`.`]}),`\n`,_jsx(Heading,{level:`2`,id:`explore-your-data`,children:`Explore your data`}),`\n`,_jsx(_components.p,{children:`Take a look at the data that you have generated using automatic instrumentation through the React Native Launchpad or a custom Board.`}),`\n`,_jsx(Heading,{level:`3`,id:`explore-with-the-react-native-launchpad`,children:`Explore with the React Native Launchpad`}),`\n`,_jsxs(_components.p,{children:[`If you’re using `,_jsx(_components.a,{href:`https://www.honeycomb.io/frontend-observability/`,children:`Honeycomb for Frontend Observability`}),`, the `,_jsx(_components.a,{href:`/observe/react-native-launchpad/`,children:`React Native Launchpad`}),` provides a starting point for monitoring and analyzing telemetry from your React Native application.\nThe Launchpad helps you:`]}),`\n`,_jsxs(_components.ul,{children:[`\n`,_jsx(_components.li,{children:`Find slow event loops`}),`\n`,_jsx(_components.li,{children:`Detect performance slow downs and crashes`}),`\n`,_jsx(_components.li,{children:`Monitor how users interact with your application`}),`\n`]}),`\n`,_jsx(_components.p,{children:`It’s a great place to start exploring how your application behaves in real-world conditions.`}),`\n`,_jsx(Heading,{level:`3`,id:`explore-using-boards`,children:`Explore using Boards`}),`\n`,_jsxs(_components.p,{children:[`You can also explore your data by creating a `,_jsx(_components.a,{href:`/observe/boards/`,children:`Board`}),` from a `,_jsx(_components.a,{href:`/observe/boards/templates/`,children:`pre-configured Board template`}),`.\nOur specialized template for React Native telemetry includes a curated set of ready-made queries and visualizations based on the fields collected by the Honeycomb OpenTelemetry React Native SDK.`]}),`\n`,_jsx(_components.p,{children:`This template gives you an immediate, actionable view into common mobile metrics like application start times, crashes, and session flows, without needing to build anything from scratch.\nYou can use it as-is or customize it to fit your needs.`}),`\n`,_jsxs(_components.p,{children:[`To learn more, visit `,_jsx(_components.a,{href:`/observe/boards/templates/`,children:`Use Board Templates`}),`.`]}),`\n`,_jsx(Heading,{level:`2`,id:`troubleshooting`,children:`Troubleshooting`}),`\n`,_jsx(_components.p,{children:`Running into issues? Here are some common problems and ways to fix them.`}),`\n`,_jsx(Tip,{children:_jsxs(_components.p,{children:[`Still stuck?\nCheck out our `,_jsx(_components.a,{href:`/troubleshoot/customer-support/`,children:`Support Knowledge Base`}),` or post a question in our `,_jsx(_components.a,{href:`/troubleshoot/community/`,children:`Pollinators Community`}),`.`]})}),`\n`,_jsx(Heading,{level:`3`,id:`dataset-isn’t-showing-up-in-honeycomb`,children:`Dataset isn’t showing up in Honeycomb`}),`\n`,_jsx(_components.p,{children:`Make sure that you:`}),`\n`,_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[`Replaced `,_jsx(_components.code,{children:`\"YOUR-API-KEY\"`}),` with a valid `,_jsx(_components.a,{href:`/configure/environments/manage-api-keys/#create-api-key`,children:`Ingest API Key`}),`.`]}),`\n`,_jsxs(_components.li,{children:[`Gave the key `,_jsx(_components.strong,{children:`Can create datasets`}),` permission.`]}),`\n`]}),`\n`,_jsxs(_components.p,{children:[`The Honeycomb OpenTelemetry React Native SDK uses the value passed to `,_jsx(_components.code,{children:`apiKey`}),` configuration option to send your telemetry data.\nThis must be set correctly for data to reach Honeycomb.`]}),`\n`,_jsx(Heading,{level:`3`,id:`dataset-name-looks-wrong`,children:`Dataset name looks wrong`}),`\n`,_jsxs(_components.p,{children:[`Check the value passed to `,_jsx(_components.code,{children:`serviceName`}),` during initialization.\nThis value determines the name of your dataset in Honeycomb.\nIf you leave it blank, the default will be inferred from your bundle, which might not be descriptive or consistent across builds.`]}),`\n`,_jsx(Heading,{level:`3`,id:`file-not-found-error-on-ios`,children:`File not found error on iOS`}),`\n`,_jsx(_components.p,{children:`If you see an error like this when running your application on iOS:`}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`2`,language:`text`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`text`,children:_jsxs(_components.code,{language:`text`,numberOfLines:`2`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`'HoneycombOpentelemetryReactNative/HoneycombOpentelemetryReactNative-Swift.h' file not found when trying to run for iOS`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{})})]})})}),`\n`,_jsxs(_components.p,{children:[`It usually means your application’s `,_jsx(_components.code,{children:`Podfile`}),` is missing the `,_jsx(_components.code,{children:`use_frameworks!`}),` line.`]}),`\n`,_jsx(_components.p,{children:`To resolve this error:`}),`\n`,_jsxs(_components.ol,{children:[`\n`,_jsxs(_components.li,{children:[`\n`,_jsxs(_components.p,{children:[`Add `,_jsx(_components.code,{children:`use_frameworks!`}),` immediately below `,_jsx(_components.code,{children:`prepare_react_native_project!`}),` in your `,_jsx(_components.code,{children:`Podfile`}),`:`]}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`2`,language:`swift`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`swift`,children:_jsxs(_components.code,{language:`swift`,numberOfLines:`2`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`prepare_react_native_project`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`!`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`use_frameworks`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`!`})]}),`\n`]})})}),`\n`]}),`\n`,_jsxs(_components.li,{children:[`\n`,_jsxs(_components.p,{children:[`Install the iOS dependencies by navigating to your `,_jsx(_components.code,{children:`ios`}),` directory and running `,_jsx(_components.code,{children:`pod install`}),`:`]}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`2`,language:`shellscript`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`shellscript`,children:_jsxs(_components.code,{language:`shellscript`,numberOfLines:`2`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#DCDCAA`},children:`cd`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` ios`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`pod`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` install`})]}),`\n`]})})}),`\n`]}),`\n`]}),`\n`,_jsx(Heading,{level:`3`,id:`not-receiving-native-telemetry-data`,children:`Not receiving native telemetry data`}),`\n`,_jsxs(_components.p,{children:[`Unlike JavaScript code, native code does not hot reload on changes. So if you updated your `,_jsx(_components.code,{children:`AppDelegate.swift`}),` or `,_jsx(_components.code,{children:`MainApplication.kt`}),` files and are still not getting native telemetry, you’ll need to rebuild your application.`]}),`\n`,_jsx(_components.p,{children:`Stop metro, the simulator, and restart the build. If this still doesn’t work, try uninstalling the application and reinstalling it.`})]})}function MDXContent(props={}){const{wrapper:MDXLayout}={..._provideComponents(),...props.components};return MDXLayout?_jsx(MDXLayout,{...props,children:_jsx(_createMdxContent,{...props})}):_createMdxContent(props)}return{default:MDXContent};function _missingMdxReference(id,component){throw new Error(`Expected `+(component?`component`:`object`)+\" `\"+id+\"` to be defined: you likely forgot to import, pass, or provide it.\")}","frontmatter":{},"scope":{"codeStyling":{},"config":{},"pageMetadata":{"title":"Get Started with Honeycomb for React Native","description":"Instrument your React Native application with the Honeycomb OpenTelemetry React Native SDK, send telemetry to Honeycomb, and measure real device performance in production.","sidebarTitle":"Frontend Observability for React Native","href":"/get-started/start-building/application/react-native"}}},"mdxSourceWithNoJs":null},"mdxExtracts":{"tableOfContents":[{"title":"Before you begin","slug":"before-you-begin","depth":2,"children":[{"title":"Sign up for Honeycomb","slug":"sign-up-for-honeycomb","depth":3,"children":[]},{"title":"Get an API key","slug":"get-an-api-key","depth":3,"children":[]}]},{"title":"Install the SDK","slug":"install-the-sdk","depth":2,"children":[]},{"title":"Initialize","slug":"initialize","depth":2,"children":[]},{"title":"Enable automatic instrumentation","slug":"enable-automatic-instrumentation","depth":2,"children":[]},{"title":"Verify data is being sent","slug":"verify-data-is-being-sent","depth":2,"children":[]},{"title":"Explore your data","slug":"explore-your-data","depth":2,"children":[{"title":"Explore with the React Native Launchpad","slug":"explore-with-the-react-native-launchpad","depth":3,"children":[]},{"title":"Explore using Boards","slug":"explore-using-boards","depth":3,"children":[]}]},{"title":"Troubleshooting","slug":"troubleshooting","depth":2,"children":[{"title":"Dataset isn’t showing up in Honeycomb","slug":"dataset-isn’t-showing-up-in-honeycomb","depth":3,"children":[]},{"title":"Dataset name looks wrong","slug":"dataset-name-looks-wrong","depth":3,"children":[]},{"title":"File not found error on iOS","slug":"file-not-found-error-on-ios","depth":3,"children":[]},{"title":"Not receiving native telemetry data","slug":"not-receiving-native-telemetry-data","depth":3,"children":[]}]}],"codeExamples":{}},"jsLinks":["/_mintlify/custom/honeycomb/b94dfbf0ae869e30/_assets/scripts/kapa.js","/_mintlify/custom/honeycomb/0eb253641253d1ce/main.js","/_mintlify/custom/honeycomb/a0f1d373bf4aece9/tracing.js"],"subdomain":"honeycomb","siteName":"Honeycomb Docs","title":"Get Started with Honeycomb for React Native - Honeycomb Docs","navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{}},"lastModified":"2026-03-11T06:51:31.540Z","originalFileLocation":"get-started/start-building/application/react-native.mdx"},"headHtml":"\u003cscript data-mint-head>(function(){var d=document.documentElement,p=null;if(!p){try{p=localStorage.getItem(\"isDarkMode\")}catch(e){}if(p==='true')p='dark';else if(p==='false')p='light';if(p!=='light'\u0026\u0026p!=='dark'\u0026\u0026p!=='system')p=\"system\"}var r=p==='system'?(matchMedia(\"(prefers-color-scheme: dark)\").matches?'dark':'light'):p;d.classList.remove(r==='dark'?'light':'dark');d.classList.add(r);d.setAttribute(\"data-theme-preference\",p)})();\u003c/script>\u003cmeta data-mint-head name=\"description\" content=\"Instrument your React Native application with the Honeycomb OpenTelemetry React Native SDK, send telemetry to Honeycomb, and measure real device performance in production.\">\u003cmeta data-mint-head name=\"application-name\" content=\"Honeycomb Docs\">\u003cmeta data-mint-head name=\"generator\" content=\"Mintlify\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/honeycomb/7YUY9epdPvOVWjv6/_generated/favicon/android-chrome-192x192.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"apple-touch-icon\" type=\"image/png\" sizes=\"180x180\" href=\"/mintlify-assets/_mintlify/favicons/honeycomb/7YUY9epdPvOVWjv6/_generated/favicon/apple-touch-icon.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/honeycomb/7YUY9epdPvOVWjv6/_generated/favicon/favicon-16x16.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/mintlify-assets/_mintlify/favicons/honeycomb/7YUY9epdPvOVWjv6/_generated/favicon/favicon-32x32.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/mintlify-assets/_mintlify/favicons/honeycomb/7YUY9epdPvOVWjv6/_generated/favicon/favicon.ico\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/honeycomb/7YUY9epdPvOVWjv6/_generated/favicon-dark/android-chrome-192x192.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/honeycomb/7YUY9epdPvOVWjv6/_generated/favicon-dark/favicon-16x16.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/mintlify-assets/_mintlify/favicons/honeycomb/7YUY9epdPvOVWjv6/_generated/favicon-dark/favicon-32x32.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/mintlify-assets/_mintlify/favicons/honeycomb/7YUY9epdPvOVWjv6/_generated/favicon-dark/favicon.ico\" media=\"(prefers-color-scheme: dark)\">\u003cmeta data-mint-head property=\"og:title\" content=\"Get Started with Honeycomb for React Native - Honeycomb Docs\">\u003cmeta data-mint-head property=\"og:description\" content=\"Instrument your React Native application with the Honeycomb OpenTelemetry React Native SDK, send telemetry to Honeycomb, and measure real device performance in production.\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"Honeycomb Docs\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://docs.honeycomb.io/get-started/start-building/application/react-native\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://honeycomb.mintlify.site/_mintlify/api/og/v2?division=Frontend+Observability\u0026amp;title=Get+Started+with+Honeycomb+for+React+Native\u0026amp;description=Instrument+your+React+Native+application+with+the+Honeycomb+OpenTelemetry+React+Native+SDK%2C+send+telemetry+to+Honeycomb%2C+and+measure+real+device+performance+in+\u0026amp;theme=7a2953e59b04d0249f8de909\u0026amp;signature=993bd2e47b7b4f9f31fb58b545b1a4c564f4b7e1d934da1052a15ecac816658d\">\u003cmeta data-mint-head property=\"og:image:width\" content=\"1200\">\u003cmeta data-mint-head property=\"og:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"twitter:card\" content=\"summary_large_image\">\u003cmeta data-mint-head name=\"twitter:title\" content=\"Get Started with Honeycomb for React Native - Honeycomb Docs\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"Instrument your React Native application with the Honeycomb OpenTelemetry React Native SDK, send telemetry to Honeycomb, and measure real device performance in production.\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://honeycomb.mintlify.site/_mintlify/api/og/v2?division=Frontend+Observability\u0026amp;title=Get+Started+with+Honeycomb+for+React+Native\u0026amp;description=Instrument+your+React+Native+application+with+the+Honeycomb+OpenTelemetry+React+Native+SDK%2C+send+telemetry+to+Honeycomb%2C+and+measure+real+device+performance+in+\u0026amp;theme=7a2953e59b04d0249f8de909\u0026amp;signature=993bd2e47b7b4f9f31fb58b545b1a4c564f4b7e1d934da1052a15ecac816658d\">\u003cmeta data-mint-head name=\"twitter:image:width\" content=\"1200\">\u003cmeta data-mint-head name=\"twitter:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"msapplication-config\" content=\"/mintlify-assets/_mintlify/favicons/honeycomb/7YUY9epdPvOVWjv6/_generated/favicon/browserconfig.xml\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"Honeycomb Docs\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#0298ec\">\u003clink data-mint-head rel=\"canonical\" href=\"https://docs.honeycomb.io/get-started/start-building/application/react-native\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/get-started/start-building/application/react-native.md\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://docs.honeycomb.io/#organization\",\"name\":\"Honeycomb Docs\",\"url\":\"https://docs.honeycomb.io\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https://mintcdn.com/honeycomb/TYbxiKcJ1fL3Sm5n/_assets/logos/light.svg?fit=max\u0026auto=format\u0026n=TYbxiKcJ1fL3Sm5n\u0026q=85\u0026s=27a1eaed720bce94471b9408761a57a5\"}},{\"@type\":\"WebSite\",\"@id\":\"https://docs.honeycomb.io#website\",\"name\":\"Honeycomb Docs\",\"url\":\"https://docs.honeycomb.io\",\"publisher\":{\"@id\":\"https://docs.honeycomb.io/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://docs.honeycomb.io/get-started/start-building/application/react-native#webpage\",\"url\":\"https://docs.honeycomb.io/get-started/start-building/application/react-native\",\"name\":\"Get Started with Honeycomb for React Native\",\"description\":\"Instrument your React Native application with the Honeycomb OpenTelemetry React Native SDK, send telemetry to Honeycomb, and measure real device performance in production.\",\"dateModified\":\"2026-03-11T06:51:31.540Z\",\"isPartOf\":{\"@id\":\"https://docs.honeycomb.io#website\"},\"breadcrumb\":{\"@id\":\"https://docs.honeycomb.io/get-started/start-building/application/react-native#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://docs.honeycomb.io/get-started/start-building/application/react-native#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Start Building\",\"item\":\"https://docs.honeycomb.io/get-started/start-building/application/unstructured-events\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Honeycomb for Applications\",\"item\":\"https://docs.honeycomb.io/get-started/start-building/application\"},{\"@type\":\"ListItem\",\"position\":3,\"name\":\"Frontend Observability\",\"item\":\"https://docs.honeycomb.io/get-started/start-building/application/web\"},{\"@type\":\"ListItem\",\"position\":4,\"name\":\"Get Started with Honeycomb for React Native\",\"item\":\"https://docs.honeycomb.io/get-started/start-building/application/react-native\"}]},{\"@type\":[\"Article\",\"TechArticle\"],\"@id\":\"https://docs.honeycomb.io/get-started/start-building/application/react-native#article\",\"headline\":\"Get Started with Honeycomb for React Native\",\"name\":\"Get Started with Honeycomb for React Native\",\"description\":\"Instrument your React Native application with the Honeycomb OpenTelemetry React Native SDK, send telemetry to Honeycomb, and measure real device performance in production.\",\"url\":\"https://docs.honeycomb.io/get-started/start-building/application/react-native\",\"mainEntityOfPage\":{\"@id\":\"https://docs.honeycomb.io/get-started/start-building/application/react-native#webpage\"},\"dateModified\":\"2026-03-11T06:51:31.540Z\",\"publisher\":{\"@id\":\"https://docs.honeycomb.io/#organization\"},\"isPartOf\":{\"@id\":\"https://docs.honeycomb.io#website\"}}]}\u003c/script>","agentPointerHref":"/get-started/start-building/application/react-native.md","siteName":"Honeycomb Docs","nav":{"global":{"anchors":[{"anchor":"Docs Home","icon":"home","href":"/"},{"anchor":"Blog","icon":"bullhorn","href":"https://www.honeycomb.io/blog"},{"anchor":"Honeycomb Academy","icon":"book","href":"https://academy.honeycomb.io/"}]},"tabs":[{"tab":"Get Started","pages":[{"title":"Get Started: Overview","sidebarTitle":"Overview","icon":"location-pin","mode":"wide","href":"/get-started"},{"title":"Sign Up for Honeycomb","sidebarTitle":"Create Account","href":"/get-started/create-account"},{"group":"Start Building","public":true,"expanded":true,"pages":[{"group":"Honeycomb for Applications","public":true,"root":{"title":"Get Started with Honeycomb for Applications","sidebarTitle":"Applications","href":"/get-started/start-building/application"},"pages":[{"title":"Get Started with Unstructured Logs","sidebarTitle":"Unstructured Logs","href":"/get-started/start-building/application/unstructured-events"},{"title":"Get Started with Structured Logs","sidebarTitle":"Structured Logs","href":"/get-started/start-building/application/structured-events"},{"title":"Get Started with Traces and Wide Events","sidebarTitle":"Traces \u0026 Wide Events","href":"/get-started/start-building/application/traces"},{"group":"Frontend Observability","public":true,"pages":[{"title":"Get Started with Honeycomb for Web","sidebarTitle":"Frontend Observability for Web","href":"/get-started/start-building/application/web"},{"title":"Get Started with Honeycomb for Android","sidebarTitle":"Frontend Observability for Android","href":"/get-started/start-building/application/android"},{"title":"Get Started with Honeycomb for iOS","description":"Instrument your iOS application with the Honeycomb OpenTelemetry Swift SDK, send telemetry to Honeycomb, and measure real device performance in production.","sidebarTitle":"Frontend Observability for iOS","href":"/get-started/start-building/application/ios"},{"title":"Get Started with Honeycomb for React Native","sidebarTitle":"Frontend Observability for React Native","href":"/get-started/start-building/application/react-native"}]}]},{"title":"Get Started with Honeycomb for Kubernetes","description":"Add observability to your Kubernetes cluster and send telemetry to Honeycomb using OpenTelemetry, the Collector, or the OpenTelemetry Operator.","sidebarTitle":"Kubernetes","href":"/get-started/start-building/kubernetes"},{"title":"Sandbox","url":"https://play.honeycomb.io/sandbox/tours","href":"/get-started/start-building/sandbox"},{"title":"Example Applications","sidebarTitle":"Example Apps","href":"/get-started/start-building/example-applications"}]},{"group":"Observability Fundamentals","public":true,"expanded":true,"pages":[{"title":"Introduction to Observability","sidebarTitle":"Introduction to Observability","href":"/get-started/observability/introduction"},{"group":"Concepts","public":true,"root":{"title":"Observability Concepts","sidebarTitle":"Concepts","mode":"wide","href":"/get-started/observability/concepts"},"pages":[{"title":"What is OpenTelemetry?","sidebarTitle":"OpenTelemetry","href":"/get-started/observability/concepts/opentelemetry"},{"title":"Services","sidebarTitle":"Services","href":"/get-started/observability/concepts/services"},{"title":"Distributed Tracing","sidebarTitle":"Distributed Tracing","href":"/get-started/observability/concepts/distributed-tracing"},{"title":"High Cardinality","sidebarTitle":"High Cardinality","href":"/get-started/observability/concepts/high-cardinality"},{"title":"Instrumentation","href":"/get-started/observability/concepts/instrumentation"},{"title":"eBPF","sidebarTitle":"eBPF","href":"/get-started/observability/concepts/ebpf"}]}]},{"group":"Honeycomb Basics","public":true,"expanded":true,"pages":[{"title":"Introduction to Honeycomb","href":"/get-started/honeycomb/introduction"},{"title":"Traces, Metrics, and Logs","href":"/get-started/honeycomb/traces-metrics-logs"},{"title":"Logs in Honeycomb","href":"/get-started/honeycomb/logs-in-honeycomb"},{"title":"Metrics in Honeycomb","sidebarTitle":"Metrics in Honeycomb","href":"/get-started/honeycomb/metrics-in-honeycomb"},{"title":"Honeycomb Intelligence","sidebarTitle":"Honeycomb Intelligence","href":"/get-started/honeycomb/honeycomb-intelligence"},{"title":"Core Analysis Loop","href":"/get-started/honeycomb/core-analysis-loop"},{"group":"Getting Around Honeycomb","public":true,"pages":[{"title":"Honeycomb Resource Structure","sidebarTitle":"Resource Structure","href":"/get-started/honeycomb/resource-structure"},{"title":"Log in with SAML SSO","sidebarTitle":"Log in with SAML SSO","tag":"Pro","href":"/get-started/honeycomb/log-in-with-saml-sso"},{"title":"Keyboard Shortcuts","sidebarTitle":"Keyboard Shortcuts","href":"/get-started/honeycomb/keyboard-shortcuts"},{"title":"2026 UI Refresh","href":"/get-started/honeycomb/2026-ui-refresh"},{"group":"UI Reference","public":true,"root":{"title":"UI Reference","sidebarTitle":"UI Reference","href":"/reference/honeycomb-ui"},"pages":[{"group":"Environment","public":true,"root":{"title":"Environment","sidebarTitle":"Environment in the UI","href":"/reference/honeycomb-ui/environment"},"pages":[{"title":"Environment Settings","sidebarTitle":"Environment Settings","href":"/reference/honeycomb-ui/environment/environment-settings"},{"title":"Manage Environment","sidebarTitle":"Manage Environments","href":"/reference/honeycomb-ui/environment/manage-environments"}]},{"title":"Home UI","sidebarTitle":"Home UI","href":"/reference/honeycomb-ui/home"},{"group":"Query","public":true,"root":{"title":"Query","sidebarTitle":"Query","href":"/reference/honeycomb-ui/query"},"pages":[{"title":"Query Results","sidebarTitle":"Query Results","href":"/reference/honeycomb-ui/query/query-results"},{"title":"Trace Waterfall","sidebarTitle":"Trace Waterfall","href":"/reference/honeycomb-ui/query/trace-waterfall"}]},{"group":"Boards","public":true,"root":{"title":"Boards","sidebarTitle":"Boards","href":"/reference/honeycomb-ui/boards"},"pages":[{"title":"Board Listing","sidebarTitle":"Board Listing","href":"/reference/honeycomb-ui/boards/board-listing"},{"title":"Board Detail","sidebarTitle":"Board Detail","href":"/reference/honeycomb-ui/boards/board-detail"},{"title":"Board Template Listing","sidebarTitle":"Board Template Listing","href":"/reference/honeycomb-ui/boards/board-template-listing"},{"title":"Board Template Detail","sidebarTitle":"Board Template Detail","href":"/reference/honeycomb-ui/boards/board-template-detail"}]},{"title":"Triggers","sidebarTitle":"Triggers","href":"/reference/honeycomb-ui/triggers"},{"group":"SLOs","public":true,"root":{"title":"SLOs","sidebarTitle":"SLOs","tag":"Pro","href":"/reference/honeycomb-ui/slos"},"pages":[{"group":"SLO Detail View","public":true,"root":{"title":"SLO Detail View","sidebarTitle":"SLO Detail View","tag":"Pro","href":"/reference/honeycomb-ui/slos/slo-detail-view"},"pages":[{"title":"Burn alerts for slo","href":"/reference/honeycomb-ui/slos/slo-detail-view/burn-alerts-for-slo"}]}]},{"title":"Service Map","sidebarTitle":"Service Map","tag":"Ent","href":"/reference/honeycomb-ui/service-map"},{"title":"History","sidebarTitle":"History","href":"/reference/honeycomb-ui/history"},{"group":"Manage Data","public":true,"root":{"title":"Manage Data","sidebarTitle":"Manage Data","href":"/reference/honeycomb-ui/manage-data"},"pages":[{"group":"Datasets","public":true,"root":{"title":"Datasets","sidebarTitle":"Datasets","href":"/reference/honeycomb-ui/manage-data/datasets"},"pages":[{"title":"Dataset Settings","sidebarTitle":"Dataset Settings","href":"/reference/honeycomb-ui/manage-data/datasets/dataset-settings"}]},{"title":"Manage Environments","sidebarTitle":"Environments","href":"/reference/honeycomb-ui/manage-data/environments"},{"title":"Send Data","sidebarTitle":"Send Data","href":"/reference/honeycomb-ui/manage-data/send-data"}]},{"title":"Usage","sidebarTitle":"Usage","href":"/reference/honeycomb-ui/usage"},{"group":"Account","public":true,"root":{"title":"Account","sidebarTitle":"Account","href":"/reference/honeycomb-ui/account"},"pages":[{"title":"Team Settings","sidebarTitle":"Team Settings","href":"/reference/honeycomb-ui/account/team-settings"}]}]}]},{"group":"Honeycomb Private Cloud","public":true,"root":{"title":"Honeycomb Private Cloud","sidebarTitle":"Honeycomb Private Cloud","href":"/get-started/honeycomb/private-cloud"},"pages":[{"title":"Honeycomb Private Cloud Deployment Models","sidebarTitle":"Deployment Models","href":"/get-started/honeycomb/private-cloud/deployment-models"},{"title":"Honeycomb Private Cloud Tenancy Options","sidebarTitle":"Tenancy Options","href":"/get-started/honeycomb/private-cloud/tenancy-options"},{"title":"Honeycomb Private Cloud Architecture","sidebarTitle":"Architecture","href":"/get-started/honeycomb/private-cloud/architecture"}]},{"group":"Security \u0026 Compliance","public":true,"root":{"title":"Security \u0026 Compliance: Overview","sidebarTitle":"Overview","icon":"location-pin","mode":"wide","href":"/security-compliance"},"pages":[{"title":"Security \u0026 Data Protection","sidebarTitle":"Security \u0026 Data Protection","href":"/security-compliance/security-data-protection"},{"title":"Bug Bounty \u0026 Vulnerability Research Program","sidebarTitle":"Bug Bounty Program","href":"/security-compliance/bug-bounty-program"},{"title":"Compliance \u0026 Data Privacy","sidebarTitle":"Compliance \u0026 Data Privacy","href":"/security-compliance/compliance-data-privacy"},{"title":"Honeycomb AI Policies","sidebarTitle":"AI Policies","href":"/security-compliance/ai-policies"}]},{"title":"Pricing Plans","url":"https://www.honeycomb.io/pricing","href":"/get-started/honeycomb/pricing"},{"title":"2026 Pro Plan Changes","sidebarTitle":"2026 Pro Plan Changes","href":"/get-started/honeycomb/2026-pro-plan-changes"}]},{"group":"Plan + Design","public":true,"expanded":true,"pages":[{"group":"Best Practices","public":true,"root":{"title":"Best Practices","sidebarTitle":"Best Practices","mode":"wide","href":"/get-started/best-practices"},"pages":[{"title":"Best Practices for Organizing Data","sidebarTitle":"Organizing Data","href":"/get-started/best-practices/organizing-data"},{"title":"Best Practices for API Keys","sidebarTitle":"API Keys","href":"/get-started/best-practices/api-keys"},{"title":"Observability and Working with Micro Frontends","sidebarTitle":"Observability and Working with Micro Frontends","href":"/get-started/best-practices/micro-frontends"},{"title":"Best Practices for Querying using Relational Fields","sidebarTitle":"Querying using Relational Fields","href":"/get-started/best-practices/relational-fields"},{"title":"Best Practices for Service Level Objectives (SLOs)","sidebarTitle":"SLOs","tag":"Pro","href":"/get-started/best-practices/slos"},{"title":"Best Practices for Alerts","sidebarTitle":"Alerts","href":"/get-started/best-practices/alerts"}]},{"group":"Manage Costs","public":true,"root":{"title":"Manage Costs","sidebarTitle":"Manage Costs","href":"/get-started/manage-costs"},"pages":[{"title":"How Honeycomb Calculates Usage","sidebarTitle":"How Honeycomb Calculates Usage","href":"/get-started/manage-costs/how-honeycomb-calculates-usage"}]}]},{"title":"UI Changelog","url":"https://changelog.honeycomb.io/","icon":"clock","href":"/ui-changelog"},{"title":"API Changelog","url":"https://api-changelog.honeycomb.io/","icon":"code","href":"/api-changelog"}]},{"tab":"Send Data","pages":[{"title":"Send Data","href":"/send-data"}]},{"tab":"Investigate","pages":[{"title":"Investigate","href":"/investigate"}]},{"tab":"Notify \u0026 Alert","pages":[{"title":"Notify \u0026 Alert","href":"/notify"}]},{"tab":"Configure","pages":[{"title":"Configure","href":"/configure"}]},{"tab":"Troubleshoot","pages":[{"title":"Troubleshoot","href":"/troubleshoot"}]},{"tab":"Integrations","pages":[{"title":"Integrations","href":"/integrations"}]},{"tab":"API Reference","pages":[{"title":"API Reference","href":"/api/introduction"}]}]},"basePath":"","title":"Get Started with Honeycomb for React Native - Honeycomb Docs","buildId":"dpl_DqYu5MPb49gWBBbUGgpHQUmCHY3P","deploymentId":"dpl_DqYu5MPb49gWBBbUGgpHQUmCHY3P","dynamics":[],"chunks":[]}