You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@skywalking.apache.org by GitBox <gi...@apache.org> on 2018/12/26 05:32:13 UTC

[GitHub] IanCao commented on a change in pull request #2089: guides cn md

IanCao commented on a change in pull request #2089: guides cn md
URL: https://github.com/apache/incubator-skywalking/pull/2089#discussion_r243943582
 
 

 ##########
 File path: docs/others/cn/guides/write-oal.md
 ##########
 @@ -0,0 +1,15 @@
+# 编写 OAL(可观测性分析语言) 脚本
+阅读 [OAL 概述](../concepts-and-designs/oal.md) 以了解oal脚本。
+
+## 在源代码中查找oal脚本
+官方official_analysis.oal在[这里](../../../oap-server/generated-analysis/src/main/resources/official_analysis.oal).
+
+## 生成工具
+`oap-server/generate-tool` 模块包含编译工具的源代码。 该工具已经集成在
+maven编译阶段。 所以,除非您想要更改工具源代码,否则无需进行任何设置。
+
+运行 `./mvnw compile` 或 `./mvnw package`, 生成的oal脚本代码位于`oap-server/generate-tool/target/generated-sources/oal/*`.
+
+## 编写并重新编译
+您可以更改`official_analysis.oal脚本, 然后重新编译代码.
 
 Review comment:
   official_analysis.oal has lost the right "`"

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services