Skip to content

Commit 3de4a58

Browse files
authored
Remove EnvironmentOverride configuration doc (#44)
1 parent 4157141 commit 3de4a58

File tree

1 file changed

+1
-6
lines changed

1 file changed

+1
-6
lines changed

README.md

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -283,7 +283,7 @@ Configuration.agentEndpoint = "udp://127.0.0.1:1000";
283283
AWS_EMF_AGENT_ENDPOINT="udp://127.0.0.1:1000"
284284
```
285285

286-
**EnvironmentOverride**: Short circuit auto-environment detection by explicitly defining how events should be sent.
286+
**EnvironmentOverride**: Short circuit auto-environment detection by explicitly defining how events should be sent. This is not supported through programatic access due to [#43](https://github.com/awslabs/aws-embedded-metrics-node/issues/43).
287287

288288
Valid values include:
289289

@@ -295,11 +295,6 @@ Valid values include:
295295
Example:
296296

297297
```js
298-
// in process
299-
const { Configuration } = require("aws-embedded-metrics");
300-
Configuration.environmentOverride = "Local";
301-
302-
// environment
303298
AWS_EMF_ENVIRONMENT=Local
304299
```
305300

0 commit comments

Comments
 (0)