kezhenxu94 commented on code in PR #9575:
URL: https://github.com/apache/skywalking/pull/9575#discussion_r968538853


##########
docs/en/concepts-and-designs/lal.md:
##########
@@ -43,6 +43,38 @@ filter {
 Note that when you put `regexp` in an `if` statement, you need to surround the 
expression with `()`
 like `regexp(<the expression>)`, instead of `regexp <the expression>`.
 
+- `tag`
+
+`tag` function provide a convenient way to get the data of tags.

Review Comment:
   What about
   
   ```suggestion
   `tag` function provide a convenient way to get the value of a tag key.
   ```
   



##########
docs/en/concepts-and-designs/lal.md:
##########
@@ -43,6 +43,38 @@ filter {
 Note that when you put `regexp` in an `if` statement, you need to surround the 
expression with `()`
 like `regexp(<the expression>)`, instead of `regexp <the expression>`.
 
+- `tag`
+
+`tag` function provide a convenient way to get the data of tags.
+
+We can add tags like following:
+``` JSON
+[
+   {
+      "tags":{
+         "data":[
+            {
+               "key":"TEST_KEY",
+               "value":"TEST_VALUE"
+            }
+         ]
+      },
+      "body":{
+         ...
+      }
+      ...
+   }
+]
+``` 
+And we can use this method to get the data of tags.

Review Comment:
   ```suggestion
   And we can use this method to get the value of the tag key `TEST_KEY`.
   ```
   



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to