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

wusheng pushed a commit to branch wu-sheng-patch-1
in repository https://gitbox.apache.org/repos/asf/skywalking.git

commit 0fd9a45e5324d9f390acae904e99d5e2f5710234
Author: 吴晟 Wu Sheng <wu.sh...@foxmail.com>
AuthorDate: Tue Mar 26 09:04:43 2024 +0800

    Add required attributed in log-otlp.md
---
 docs/en/setup/backend/log-otlp.md | 6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)

diff --git a/docs/en/setup/backend/log-otlp.md 
b/docs/en/setup/backend/log-otlp.md
index 059c2862cb..20ee8d2e0b 100644
--- a/docs/en/setup/backend/log-otlp.md
+++ b/docs/en/setup/backend/log-otlp.md
@@ -46,5 +46,7 @@ Also, because most of the language SDKs of OpenTelemetry do 
not support logging
 experimental, it's your responsibility to make sure the reported log data 
contains the following attributes, otherwise
 SkyWalking is not able to consume them:
 
-- `service.name`: the name of the service that generates the log data, 
OpenTelemetry Java SDK (experimental) has this
-  attribute set, if you're using other SDK or agent, please check the 
corresponding doc.
+- `service.name`: the name of the service that generates the log data.
+- `service.layer`: the layer of the service that generates the logs.
+
+Note, that these attributes should be set manually through OpenTelemetry SDK 
or through [attribute#insert in OpenTelemetry 
Collector](https://github.com/open-telemetry/opentelemetry-collector-contrib/blob/main/processor/attributesprocessor/README.md).

Reply via email to