This is an automated email from the ASF dual-hosted git repository.

wusheng pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/skywalking-nginx-lua.git


The following commit(s) were added to refs/heads/master by this push:
     new 3961377  Change the example a little (#60)
3961377 is described below

commit 396137769bc930f4105752a0f94de4545012ed96
Author: 吴晟 Wu Sheng <[email protected]>
AuthorDate: Tue Jan 12 16:19:08 2021 +0800

    Change the example a little (#60)
---
 README.md           | 2 +-
 examples/nginx.conf | 3 ++-
 2 files changed, 3 insertions(+), 2 deletions(-)

diff --git a/README.md b/README.md
index 91cfd17..7edf1da 100644
--- a/README.md
+++ b/README.md
@@ -32,7 +32,7 @@ http {
         -- Instance means the number of Nginx deployment, does not mean the 
worker instances
         metadata_buffer:set('serviceInstanceName', 'User Service Instance 
Name')
         -- type 'boolean', mark the entrySpan include host/domain
-        metadata_buffer:set('includeHostInEntrySpan', 'Whether the endpoint 
name include host/domain')
+        metadata_buffer:set('includeHostInEntrySpan', false)
         
         -- set random seed
         require("skywalking.util").set_randomseed()
diff --git a/examples/nginx.conf b/examples/nginx.conf
index 9e4b495..c3a7d41 100644
--- a/examples/nginx.conf
+++ b/examples/nginx.conf
@@ -37,7 +37,8 @@ http {
         metadata_buffer:set('serviceName', 'User Service Name')
         -- Instance means the number of Nginx deloyment, does not mean the 
worker instances
         metadata_buffer:set('serviceInstanceName', 'User Service Instance 
Name')
-        metadata_buffer:set('includeHostInEntrySpan', 'Whether the endpoint 
name include HOST/domain')
+        -- type 'boolean', mark the entrySpan include host/domain
+        metadata_buffer:set('includeHostInEntrySpan', false)
 
         require("skywalking.util").set_randomseed()
         require("skywalking.client"):startBackendTimer("http://127.0.0.1:8080";)

Reply via email to