Skip to content

Commit

Permalink
fix punctuation
Browse files Browse the repository at this point in the history
  • Loading branch information
whitewum committed Apr 26, 2022
1 parent 01c1613 commit 8a1b824
Show file tree
Hide file tree
Showing 7 changed files with 13 additions and 13 deletions.
2 changes: 1 addition & 1 deletion docs-2.0/2.quick-start/6.cheatsheet-for-ngql.md
Original file line number Diff line number Diff line change
Expand Up @@ -351,7 +351,7 @@
| [SHOW SNAPSHOTS](../3.ngql-guide/7.general-query-statements/6.show/11.show-snapshots.md) | `SHOW SNAPSHOTS` | `SHOW SNAPSHOTS` | Shows the information of all the snapshots.
| [SHOW SPACES](../3.ngql-guide/7.general-query-statements/6.show/12.show-spaces.md) | `SHOW SPACES` | `SHOW SPACES` | Shows existing graph spaces in Nebula Graph. |
| [SHOW STATS](../3.ngql-guide/7.general-query-statements/6.show/14.show-stats.md) | `SHOW STATS` | `SHOW STATS` | Shows the statistics of the graph space collected by the latest `STATS` job. |
| [SHOW TAGS/EDGES](../3.ngql-guide/7.general-query-statements/6.show/15.show-tags-edges.md) | `SHOW TAGS | EDGES` | `SHOW TAGS``SHOW EDGES` | Shows all the tags in the current graph space. |
| [SHOW TAGS/EDGES](../3.ngql-guide/7.general-query-statements/6.show/15.show-tags-edges.md) | `SHOW TAGS | EDGES` | `SHOW TAGS`,`SHOW EDGES` | Shows all the tags in the current graph space. |
| [SHOW USERS](../3.ngql-guide/7.general-query-statements/6.show/16.show-users.md) | `SHOW USERS` | `SHOW USERS` | Shows the user information. |
| [SHOW SESSIONS](../3.ngql-guide/7.general-query-statements/6.show/17.show-sessions.md) | `SHOW SESSIONS ` | ` SHOW SESSIONS` | Shows the information of all the sessions. |
| [SHOW SESSIONS](../3.ngql-guide/7.general-query-statements/6.show/17.show-sessions.md) | `SHOW SESSION <Session_Id>` | `SHOW SESSION 1623304491050858` | Shows a specified session with its ID. |
Expand Down
10 changes: 5 additions & 5 deletions docs-2.0/5.configurations-and-logs/2.log-management/audit-log.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,11 +12,11 @@ The Nebula Graph audit logs store all operations received by graph service in ca
|:--|:--|:--|
|`login` |-| Logs the information when the client tries to connect to graph service. |
|`exit` |-| Logs the information when the client disconnect from graph service. |
|`ddl` |`CREATE SPACE``DROP SPACE``CREATE TAG``DROP TAG``ALTER TAG``DELETE TAG``CREATE EDGE``DROP EDGE``ALTER EDGE``CREATE INDEX``REBUILD INDEX``DROP INDEX``CREATE FULLTEXT INDEX``REBUILD FULLTEXT INDEX``DROP FULLTEXT INDEX`|Logs the information about DDL statements. |
|`dql` |`MATCH``LOOKUP``GO``FETCH``GET SUBGRAPH``FIND PATH``UNWIND``GROUP BY``ORDER BY``YIELD``LIMIT``RETURN`|Logs the information about DQL statements.|
|`dml` |`INSERT VERTEX``DELETE VERTEX``UPDATE VERTEX``UPSERT VERTEX``INSERT EDGE``DELETE EDGE``UPDATE EDGE``UPSERT EDGE`|Logs the information about DML statements. |
|`dcl`|`CREATE USER``GRANT ROLE``REVOKE ROLE``CHANGE PASSWORD``ALTER USER``DROP USER``CREATE SNAPSHOT``DROP SNAPSHOT``ADD LISTENER``REMOVE LISTENER``BALANCE``SUBMIT JOB``STOP JOB``RECOVER JOB``ADD DRAINER``REMOVE DRAINER`|Logs the information about DCL statements.|
|`util`|`SHOW HOSTS``SHOW USERS``SHOW ROLES``SHOW SNAPSHOTS``SHOW SPACES``SHOW PARTS``SHOW TAGS``SHOW EDGES``SHOW INDEXES``SHOW CREATE SPACE``SHOW CREATE TAG/EDGE``SHOW CREATE INDEX``SHOW INDEX STATUS``SHOW LISTENER``SHOW TEXT SEARCH CLIENTS``SHOW DRAINER CLIENTS``SHOW FULLTEXT INDEXES``SHOW CONFIGS``SHOW CHARSET``SHOW COLLATION``SHOW STATS``SHOW SESSIONS``SHOW META LEADER``SHOW DRAINERS``SHOW QUERIES``SHOW JOB``SHOW JOBS``DESCRIBE INDEX``DESCRIBE EDGE``DESCRIBE TAG``DESCRIBE SPACE``DESCRIBE USER``USE SPACE``SIGN IN TEXT SERVICE``SIGN OUT TEXT SERVICE``SIGN IN DRAINER SERVICE``SIGN OUT DRAINER SERVICE``EXPLAIN``PROFILE``KILL QUERY``DOWNLOAD HDFS``INGEST`|Logs the information about util statements. |
|`ddl` |`CREATE SPACE`,`DROP SPACE`,`CREATE TAG`,`DROP TAG`,`ALTER TAG`,`DELETE TAG`,`CREATE EDGE`,`DROP EDGE`,`ALTER EDGE`,`CREATE INDEX`,`REBUILD INDEX`,`DROP INDEX`,`CREATE FULLTEXT INDEX`,`REBUILD FULLTEXT INDEX`,`DROP FULLTEXT INDEX`|Logs the information about DDL statements. |
|`dql` |`MATCH`,`LOOKUP`,`GO`,`FETCH`,`GET SUBGRAPH`,`FIND PATH`,`UNWIND`,`GROUP BY`,`ORDER BY`,`YIELD`,`LIMIT`,`RETURN`|Logs the information about DQL statements.|
|`dml` |`INSERT VERTEX`,`DELETE VERTEX`,`UPDATE VERTEX`,`UPSERT VERTEX`,`INSERT EDGE`,`DELETE EDGE`,`UPDATE EDGE`,`UPSERT EDGE`|Logs the information about DML statements. |
|`dcl`|`CREATE USER`,`GRANT ROLE`,`REVOKE ROLE`,`CHANGE PASSWORD`,`ALTER USER`,`DROP USER`,`CREATE SNAPSHOT`,`DROP SNAPSHOT`,`ADD LISTENER`,`REMOVE LISTENER`,`BALANCE`,`SUBMIT JOB`,`STOP JOB`,`RECOVER JOB`,`ADD DRAINER`,`REMOVE DRAINER`|Logs the information about DCL statements.|
|`util`|`SHOW HOSTS`,`SHOW USERS`,`SHOW ROLES`,`SHOW SNAPSHOTS`,`SHOW SPACES`,`SHOW PARTS`,`SHOW TAGS`,`SHOW EDGES`,`SHOW INDEXES`,`SHOW CREATE SPACE`,`SHOW CREATE TAG/EDGE`,`SHOW CREATE INDEX`,`SHOW INDEX STATUS`,`SHOW LISTENER`,`SHOW TEXT SEARCH CLIENTS`,`SHOW DRAINER CLIENTS`,`SHOW FULLTEXT INDEXES`,`SHOW CONFIGS`,`SHOW CHARSET`,`SHOW COLLATION`,`SHOW STATS`,`SHOW SESSIONS`,`SHOW META LEADER`,`SHOW DRAINERS`,`SHOW QUERIES`,`SHOW JOB`,`SHOW JOBS`,`DESCRIBE INDEX`,`DESCRIBE EDGE`,`DESCRIBE TAG`,`DESCRIBE SPACE`,`DESCRIBE USER`,`USE SPACE`,`SIGN IN TEXT SERVICE`,`SIGN OUT TEXT SERVICE`,`SIGN IN DRAINER SERVICE`,`SIGN OUT DRAINER SERVICE`,`EXPLAIN`,`PROFILE`,`KILL QUERY`,`DOWNLOAD HDFS`,`INGEST`|Logs the information about util statements. |
|`unknown`|-|Logs the information about unrecognized statements.|

## Configure audit logs
Expand Down
2 changes: 1 addition & 1 deletion docs-2.0/7.data-security/1.authentication/3.role-list.md
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ The privileges of roles and the nGQL statements that each role can use are liste
|Read data|Y|Y|Y|Y|Y|`GO`, `SET`, `PIPE`, `MATCH`, `ASSIGNMENT`, `LOOKUP`, `YIELD`, `ORDER BY`, `FETCH VERTICES`, `Find`, `FETCH EDGES`, `FIND PATH`, `LIMIT`, `GROUP BY`, `RETURN`|
|Write data|Y|Y|Y|Y||`INSERT VERTEX`, `UPDATE VERTEX`, `INSERT EDGE`, `UPDATE EDGE`, `DELETE VERTEX`, `DELETE EDGES`, `DELETE TAG`|
|Show operations|Y|Y|Y|Y|Y|`SHOW`, `CHANGE PASSWORD`|
|Job|Y|Y|Y|Y||`SUBMIT JOB COMPACT`, `SUBMIT JOB FLUSH`, `SUBMIT JOB STATS`, `STOP JOB`, `RECOVER JOB`, `BUILD TAG INDEX`, `BUILD EDGE INDEX``INGEST`, `DOWNLOAD`|
|Job|Y|Y|Y|Y||`SUBMIT JOB COMPACT`, `SUBMIT JOB FLUSH`, `SUBMIT JOB STATS`, `STOP JOB`, `RECOVER JOB`, `BUILD TAG INDEX`, `BUILD EDGE INDEX`,`INGEST`, `DOWNLOAD`|
|Write space|Y|||||`CREATE SPACE`, `DROP SPACE`, `CREATE SNAPSHOT`, `DROP SNAPSHOT`, `BALANCE`, `ADMIN`, `CONFIG`|
<!-- balance-3.1
|Write space|Y|||||`CREATE SPACE`, `DROP SPACE`, `CREATE SNAPSHOT`, `DROP SNAPSHOT`, `BALANCE ZONE`, `BALANCE LEADER`, `ADMIN`, `CONFIG`, `INGEST`, `DOWNLOAD`|
Expand Down
2 changes: 1 addition & 1 deletion docs-2.0/backup-and-restore/nebula-br/1.what-is-br.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ The BR has the following features. It supports:
- Backing up and restoring data in a one-click operation.
- Restoring data in the following backup file types:
- Local Disk (SSD or HDD). It is recommend to use local disk in test environment only.
- Amazon S3 compatible interface, such as Alibaba Cloud OSS, MinIOCeph RGW, etc.
- Amazon S3 compatible interface, such as Alibaba Cloud OSS, MinIO,Ceph RGW, etc.
- Backing up and restoring the entire Nebula Graph cluster.
- Backing up data of specified graph spaces (experimental).

Expand Down
6 changes: 3 additions & 3 deletions docs-2.0/nebula-algorithm.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,8 @@ The correspondence between the Nebula Algorithm release and the Nebula Graph cor
|3.0-SNAPSHOT | nightly |
|{{algorithm.release}}| {{nebula.release}} |
| 2.6.x | 2.6.x |
| 2.5.0 | 2.5.02.5.1 |
| 2.1.0 | 2.0.02.0.1 |
| 2.5.0 | 2.5.0,2.5.1 |
| 2.1.0 | 2.0.0,2.0.1 |

## Prerequisites

Expand Down Expand Up @@ -196,7 +196,7 @@ The `lib` repository provides 10 common graph algorithms.
# StronglyConnectedComponent: scc
# LabelPropagation: lpa
# ShortestPath: shortestpath
# DegreeStatic: degreeinDegreeoutDegree
# DegreeStatic: degree,inDegree,outDegree
# KCore: kcore
# TriangleCount: tranglecpunt
# BetweennessCentrality: betweennedss
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ At the top navigation bar of the Dashboard Enterprise Edition page, click **Clus
| ------------ | ------------------------------------------------------------ |
| Upper middle area | 1. The health degree of your cluster. The system scores the health of your cluster. For more information, see the following note. <br>2. The information and number of running nodes, the number of running services and abnormal services in the cluster. <br/>3. CPU and memory usage of the node at the current time.<br/>4. Alert notifications. The system displays the 5 most recently triggered alert messages based on their severity level (emergency>critical>warning). For more information, [Monitoring alerts](../9.alerts.md). |
| Lower middle area | Monitoring information of 4 Graph service metrics at different periods. The 4 metrics are: <br/>1. num_active_sessions<br/>2. num_slow_queries<br/>3. num_active_queries<br/>4. num_query_errors |
| Left side of the area | 1. QPS (Query Per Second) of your cluster.<br/>2. The monitoring information of 2 Storage service metrics at different periods. The two metrics are: add_edges_latency_usadd_vertices_latency_us. |
| Left side of the area | 1. QPS (Query Per Second) of your cluster.<br/>2. The monitoring information of 2 Storage service metrics at different periods. The two metrics are: add_edges_latency_us,add_vertices_latency_us. |
| Right side of the area | The node-related metrics information at different periods. Metrics include: <br/>1. cpu_utilization<br/>2. memory_utilization<br/>3. load_1m<br/>4. disk_readbytes<br/>5. disk_writebytes |


Expand Down
2 changes: 1 addition & 1 deletion docs-2.0/nebula-dashboard-ent/9.alerts.md
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ Follow the below steps to create a custom rule.

| Parameter | Description |
| -------- | ------------------------------------------------------------ |
| Metric Type | Set a metric type. Metric type includes the node metric type and the service type (graphdstoragedmetad). |
| Metric Type | Set a metric type. Metric type includes the node metric type and the service type (graphd,storaged,metad). |
| Metric Rule | Set metric rules for a node or a service. For more information, see [Monitoring metrics](7.monitor-parameter.md).|
| Alert duration | Set how long an alert lasts before the alert message is triggered. Unit: Minute (Min). |

Expand Down

0 comments on commit 8a1b824

Please sign in to comment.