fix some errors in docs (#269)
diff --git a/docs/concept/data-model.md b/docs/concept/data-model.md
index 9e2634d..f565231 100644
--- a/docs/concept/data-model.md
+++ b/docs/concept/data-model.md
@@ -169,7 +169,7 @@
`Property` is a standard key-value store. Users could store their metadata or items on a property and get a [sequential consistency](https://en.wikipedia.org/wiki/Consistency_model#Sequential_consistency) guarantee. BanyanDB's motivation for introducing such a particular structure is to support most APM scenarios that need to store critical data, especially for a distributed database cluster.
-We should create group before creating a property.
+We should create a group before creating a property.
Creating group.
diff --git a/docs/crud/group.md b/docs/crud/group.md
index 130f11a..237fc17 100644
--- a/docs/crud/group.md
+++ b/docs/crud/group.md
@@ -42,7 +42,7 @@
### Examples of getting
```shell
-$ bydbctl get -g sw_metric
+$ bydbctl group get -g sw_metric
```
## Update operation
@@ -79,7 +79,7 @@
### Examples of deleting
```shell
-$ bydbctl delete -g sw_metric
+$ bydbctl group delete -g sw_metric
```
## List operation
diff --git a/docs/crud/index_rule.md b/docs/crud/index_rule.md
index bc81225..5e8c294 100644
--- a/docs/crud/index_rule.md
+++ b/docs/crud/index_rule.md
@@ -64,7 +64,7 @@
### Examples of getting
```shell
-$ bydbctl get -g sw_stream -n trace_id
+$ bydbctl indexRule get -g sw_stream -n trace_id
```
## Update operation
@@ -95,7 +95,7 @@
### Examples of deleting
```shell
-$ bydbctl indexRuleBind delete -g sw_stream -n trace_id
+$ bydbctl indexRule delete -g sw_stream -n trace_id
```
## List operation
@@ -110,4 +110,4 @@
## API Reference
-[indexRuleService v1](../../api-reference.md#IndexRuleRegistryService)
\ No newline at end of file
+[indexRuleService v1](../../api-reference.md#IndexRuleRegistryService)
diff --git a/docs/crud/measure/schema.md b/docs/crud/measure/schema.md
index 0bfce2c..f13aa7d 100644
--- a/docs/crud/measure/schema.md
+++ b/docs/crud/measure/schema.md
@@ -76,7 +76,7 @@
### Examples of getting
```shell
-$ bydbctl get -g sw_metric -n service_cpm_minute
+$ bydbctl measure get -g sw_metric -n service_cpm_minute
```
## Update operation
@@ -95,6 +95,9 @@
tags:
- name: trace_id
type: TAG_TYPE_STRING
+entity:
+ tag_names:
+ - entity_id
EOF
```
@@ -105,7 +108,7 @@
### Examples of deleting
```shell
-$ bydbctl delete -g sw_metric -n service_cpm_minute
+$ bydbctl measure delete -g sw_metric -n service_cpm_minute
```
## List operation
diff --git a/docs/crud/stream/schema.md b/docs/crud/stream/schema.md
index bc8a351..8a066f6 100644
--- a/docs/crud/stream/schema.md
+++ b/docs/crud/stream/schema.md
@@ -50,6 +50,9 @@
tags:
- name: trace_id
type: TAG_TYPE_STRING
+entity:
+ tagNames:
+ - stream_id
EOF
```
@@ -60,7 +63,7 @@
### Examples of getting
```shell
-$ bydbctl get -g default -n sw
+$ bydbctl stream get -g default -n sw
```
## Update operation
@@ -80,6 +83,9 @@
tags:
- name: trace_id
type: TAG_TYPE_STRING
+entity:
+ tagNames:
+ - stream_id
EOF
```
@@ -92,7 +98,7 @@
`bydbctl` is the command line tool to delete a stream in this example.
```shell
-$ bydbctl delete -g default -n sw
+$ bydbctl stream delete -g default -n sw
```
## List operation