wu-sheng commented on a change in pull request #7632:
URL: https://github.com/apache/skywalking/pull/7632#discussion_r699958244



##########
File path: docs/en/setup/backend/dynamic-config-nacos.md
##########
@@ -18,4 +18,64 @@ configuration:
     period: ${SW_CONFIG_NACOS_PERIOD:60}
     # the name of current cluster, set the name if you want to upstream system 
known.
     clusterName: ${SW_CONFIG_NACOS_CLUSTER_NAME:default}
-```
\ No newline at end of file
+```
+
+## Config Storage
+### Single Config
+
+| Data Id | Group | Config Value |
+|-----|-----|-----|
+| configKey | {group} | configValue |
+
+e.g. The config is:
+```
+{agent-analyzer.default.slowDBAccessThreshold}:{default:200,mongodb:50}
+```
+If `group = skywalking` the config in nacos is:
+
+| Data Id | Group | Config Value |
+|-----|-----|-----|
+| agent-analyzer.default.slowDBAccessThreshold | skywalking | 
default:200,mongodb:50 |
+
+### Group Config
+
+| Data Id | Group | Config Value | Config Type |
+|-----|-----|-----|-----|
+| configKey | {group} | subItemkey1</br>subItemkey2</br>... | TEXT |
+| subItemkey1 | {group} | subItemValue1 |
+| subItemkey2 | {group} | subItemValue2 |
+| ... | ... | ... |
+
+Notice: If you add/remove a subItem, you need to add/remove the subItemKey 
from the group which the subItem belongs:
+
+| Data Id | Group | Config Value | Config Type |
+|-----|-----|-----|-----|
+| configKey | {group} | subItemkey1</br>subItemkey2</br>... | TEXT |
+We separate subItemkeys by `\n` or `\r\n`, trim leading and trailing 
whitespace, if you set the config by `Nacos UI` each subItemkey should in a new 
line:

Review comment:
       ```suggestion
   | configKey | {group} | subItemkey1</br>subItemkey2</br>... | TEXT |
   
   We separate subItemkeys by `\n` or `\r\n`, trim leading and trailing 
whitespace, if you set the config by `Nacos UI` each subItemkey should in a new 
line:
   ```
   
   You need an empty line here. Otherwise, GitHub preview looks like this
   
   
![image](https://user-images.githubusercontent.com/5441976/131631466-005763d7-39bb-4f45-9e24-6fd608d341ac.png)
   




-- 
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