You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
***Android**support (experimental) with **iOS**and **Web**coming next
13
+
***Web**, **Android** (experimental) support with **iOS** coming soon
14
14
15
15
## Installation
16
16
17
17
```sh
18
18
npm install react-native-open-telemetry
19
19
```
20
20
21
-
## Usage
21
+
## Usage
22
22
23
-
### 1. Start the native SDK
23
+
### 1. Start the JS SDK
24
+
25
+
See OpenTelemetry's JS documentation on [Traces](https://opentelemetry.io/docs/languages/js/instrumentation/#acquiring-a-tracer) and [Metrics](https://opentelemetry.io/docs/languages/js/instrumentation/#acquiring-a-meter) for more information on available APIs.
@@ -41,9 +73,9 @@ class MainApplication : Application(), ReactApplication {
41
73
version ="1.0.0"
42
74
environment ="production"
43
75
}
44
-
76
+
45
77
// ..
46
-
78
+
47
79
// Use available APIs
48
80
val sdk =OpenTelemetry.get()
49
81
val meter = sdk.getMeter("native-scope-name")
@@ -53,32 +85,6 @@ class MainApplication : Application(), ReactApplication {
53
85
}
54
86
```
55
87
56
-
### 2. Start the JS SDK
57
-
58
-
See OpenTelemetry's JS documentation on [Traces](https://opentelemetry.io/docs/languages/js/instrumentation/#acquiring-a-tracer) and [Metrics](https://opentelemetry.io/docs/languages/js/instrumentation/#acquiring-a-meter) for more information on available APIs.
0 commit comments