Skip to content

Commit d7c2ed6

Browse files
committed
Minor doc updates
1 parent 9a6191f commit d7c2ed6

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

README.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
**Disclaimer: This SDK is currently in early access and still work in progress.**
1+
**Disclaimer: This SDK is currently in early access and still work in progress and requires OneAgent version 1.137 or higher.**
22

33
# Node.js SDK for Dynatrace OneAgent
44

@@ -270,9 +270,9 @@ The values of constant `DatabaseVendor` may be used as input for `traceSQLDataba
270270

271271
The method `getCurrentState()` returns the current status of SDK. Valid values are available via constant object `SDK.SDKState`:
272272

273-
- `ACTIVE` SDK is connected to agent and capturing data.
274-
- `TEMPORARILY_INACTIVE` SDK is connected to agent, but capturing is disabled. In this state, SDK user can skip creating SDK transactions and save CPU time. SDK state should be checked regularly as it may change at every point of time.
275-
- `PERMANENTLY_INACTIVE` SDK isn't connected to agent. So it will never capture data. This SDK state will never change in current JVM life time. It is good practice to never call any SDK api and safe CPU time therefore.
273+
- `ACTIVE` SDK is connected to OneAgent and capturing data.
274+
- `TEMPORARILY_INACTIVE` SDK is connected to OneAgent, but capturing is disabled. It is good practice to skip creating SDK transactions to save resources. The SDK state should be checked regularly as it may change at every point in time.
275+
- `PERMANENTLY_INACTIVE` SDK isn't connected to OneAgent, so it will never capture data. This SDK state will never change during the lifetime of the process. It is good practice to never call any SDK API to save resources.
276276

277277
#### Set callbacks for logging
278278

@@ -309,7 +309,7 @@ some.asyncFunction(someParam, Api.passContext(function(err, result) {
309309
### Please Note
310310

311311
- Make sure that this module is required after Dynatrace OneAgent
312-
- Using this module will not cause any errors if no agent is present (e.g. in testing)
312+
- Using this module will not cause any errors if no OneAgent is present (e.g. in testing)
313313
- The wrapping via `passContext()` needs to happen call time of the corresponding sync call
314314

315315
```js

0 commit comments

Comments
 (0)