From 250a1d943fab9967a746e7e054398868b0d42a7b Mon Sep 17 00:00:00 2001 From: Jared Nance Date: Wed, 10 Jun 2020 16:12:26 -0700 Subject: [PATCH] Remove EnvironmentOverride configuration doc --- README.md | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/README.md b/README.md index c49bb73..d368ef6 100644 --- a/README.md +++ b/README.md @@ -283,7 +283,7 @@ Configuration.agentEndpoint = "udp://127.0.0.1:1000"; AWS_EMF_AGENT_ENDPOINT="udp://127.0.0.1:1000" ``` -**EnvironmentOverride**: Short circuit auto-environment detection by explicitly defining how events should be sent. +**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). Valid values include: @@ -295,11 +295,6 @@ Valid values include: Example: ```js -// in process -const { Configuration } = require("aws-embedded-metrics"); -Configuration.environmentOverride = "Local"; - -// environment AWS_EMF_ENVIRONMENT=Local ```