You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/en/setup/backend/log-otlp.md
+7-2
Original file line number
Diff line number
Diff line change
@@ -46,5 +46,10 @@ Also, because most of the language SDKs of OpenTelemetry do not support logging
46
46
experimental, it's your responsibility to make sure the reported log data contains the following attributes, otherwise
47
47
SkyWalking is not able to consume them:
48
48
49
-
- `service.name`: the name of the service that generates the log data, OpenTelemetry Java SDK (experimental) has this
50
-
attribute set, if you're using other SDK or agent, please check the corresponding doc.
49
+
- `service.name`: the name of the service that generates the log data.
50
+
51
+
And several attributes are optional as add-on information for the logs before analyzing.
52
+
- `service.layer`: the layer of the service that generates the logs. The default value is `GENERAL` layer, which is 100% sampled defined by [LAL general rule](https://github.com/apache/skywalking/blob/master/oap-server/server-starter/src/main/resources/lal/default.yaml)
53
+
- `service.instance`: the instance name that generates the logs. The default value is empty.
54
+
55
+
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).
0 commit comments