From 3c8c0978477501e77f280a6d895157b0c7116af0 Mon Sep 17 00:00:00 2001 From: Patrice Chalin Date: Wed, 8 May 2024 06:31:55 -0400 Subject: [PATCH 1/5] [zh] Add zh version of homepage --- content/zh/_index.md | 88 ++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 88 insertions(+) create mode 100644 content/zh/_index.md diff --git a/content/zh/_index.md b/content/zh/_index.md new file mode 100644 index 000000000000..8ad18e302cb1 --- /dev/null +++ b/content/zh/_index.md @@ -0,0 +1,88 @@ +--- +title: OpenTelemetry +description: >- + 高质量、普遍适用和可移植的遥测助你实现有效的可观测 +show_banner: true +developer_note: + 下文所用的 blocks/cover 短代码将使用文件名中包含 "background" + 的图像文件作为背景图。 +--- + +
+ +{{< blocks/cover image_anchor="top" height="max" color="primary" >}} + + +![OpenTelemetry](/img/logos/opentelemetry-horizontal-color.svg) +{.otel-logo} + + +{{% param description %}} +{.display-6} + +
+ +- [了解更多](/docs/what-is-opentelemetry/) +- [尝试演示](/docs/demo/) +- [探索集成组件](/ecosystem/integrations) + +
+ +
+为各种角色定制的入门指南 +
+
+ +- [开发人员](/docs/getting-started/dev/) +- [运维人员](/docs/getting-started/ops/) + +
+{{< /blocks/cover >}} + +{{% blocks/lead color="white" %}} + +OpenTelemetry 是各类 API、SDK 和工具形成的集合。可用于仪表化、生成、采集和导出遥 +测数据(链路、指标和日志),帮助你分析软件的性能和行为。 + +> OpenTelemetry 在[多种编程语言](/docs/languages/)均达到 **GA** 级别,普适性很高 +> 。 + +{{% /blocks/lead %}} + +{{% blocks/section color="dark" type="row" %}} + +{{% blocks/feature icon="fas fa-chart-line" title="链路、指标、日志" %}} + +从你的服务和软件中创建并采集遥测数据,然后将其转发给各种分析工具 +。{{% /blocks/feature %}} + +{{% blocks/feature icon="fas fa-magic" title="即插即用仪表" %}} + +OpenTelemetry 与流行的库和框架集成,例如 [Spring](https://spring.io)、 +[ASP.NET Core](https://docs.microsoft.com/aspnet/core)、 +[Express](https://expressjs.com)、 [Quarkus](https://quarkus.io) 等等! +安装和集成可能只需要几行代码。 + +{{% /blocks/feature %}} + +{{% blocks/feature icon="fab fa-github" title="开源、厂商中立" %}} + +OpenTelemetry 是 100% 免费和开源的, +得到了可观测性领域[众多行业领导者](/ecosystem/vendors/)的采用和支持。 + +{{% /blocks/feature %}} + +{{% /blocks/section %}} + +{{% blocks/section color="secondary" type="cncf" %}} + +**OpenTelemetry 是一个 [CNCF][] [Incubating][] 项目**。
这个项目是在合并 +OpenTracing 和 OpenCensus 项目之后成型的。 + +[![CNCF logo][]][cncf] + +[cncf]: https://cncf.io +[cncf logo]: /img/logos/cncf-white.svg +[incubating]: https://www.cncf.io/projects/ + +{{% /blocks/section %}} From 86fe35c92f43f346265e8c7ce4b3aa21483a0721 Mon Sep 17 00:00:00 2001 From: Patrice Chalin Date: Fri, 10 May 2024 06:44:05 -0400 Subject: [PATCH 2/5] Enable zh, but mark all pages as draft --- content/zh/_index.md | 2 ++ hugo.yaml | 1 - 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/content/zh/_index.md b/content/zh/_index.md index 8ad18e302cb1..6391f4729154 100644 --- a/content/zh/_index.md +++ b/content/zh/_index.md @@ -6,6 +6,8 @@ show_banner: true developer_note: 下文所用的 blocks/cover 短代码将使用文件名中包含 "background" 的图像文件作为背景图。 +cascade: + draft: true ---
diff --git a/hugo.yaml b/hugo.yaml index d5a54c99300a..a8e2d3b89471 100644 --- a/hugo.yaml +++ b/hugo.yaml @@ -16,7 +16,6 @@ languages: params: description: The OpenTelemetry Project Site zh: - disabled: true languageName: 中文 (Chinese) params: description: OpenTelemetry 项目网站 From 0fd52e78068521e2fa1d5914f84a831118d85d2b Mon Sep 17 00:00:00 2001 From: Patrice Chalin Date: Fri, 10 May 2024 07:11:22 -0400 Subject: [PATCH 3/5] Quiet link checker temporarily --- .htmltest.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.htmltest.yml b/.htmltest.yml index f2e0ae2e3e70..10ed33141869 100644 --- a/.htmltest.yml +++ b/.htmltest.yml @@ -3,6 +3,7 @@ DirectoryPath: public IgnoreDirectoryMissingTrailingSlash: true IgnoreAltMissing: true IgnoreCanonicalBrokenLinks: false +IgnoreInternalEmptyHash: true # TODO: remove after resolution of https://github.com/google/docsy/issues/1995 CheckMailto: false TestFilesConcurrently: true IgnoreDirs: From 4252e0197cd74d137b192b94acd1d56a1ef4da58 Mon Sep 17 00:00:00 2001 From: Patrice Chalin Date: Fri, 10 May 2024 07:19:59 -0400 Subject: [PATCH 4/5] Update content/zh/_index.md --- content/zh/_index.md | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/content/zh/_index.md b/content/zh/_index.md index 6391f4729154..a2c883a6f75b 100644 --- a/content/zh/_index.md +++ b/content/zh/_index.md @@ -46,8 +46,7 @@ cascade: OpenTelemetry 是各类 API、SDK 和工具形成的集合。可用于仪表化、生成、采集和导出遥 测数据(链路、指标和日志),帮助你分析软件的性能和行为。 -> OpenTelemetry 在[多种编程语言](/docs/languages/)均达到 **GA** 级别,普适性很高 -> 。 +> OpenTelemetry 在[多种编程语言](/docs/languages/)均达到 **GA** 级别,普适性很高。 {{% /blocks/lead %}} From 111383d6413eedaa9cc0c877a208ebabf5e00fd9 Mon Sep 17 00:00:00 2001 From: Patrice Chalin Date: Fri, 10 May 2024 07:20:07 -0400 Subject: [PATCH 5/5] Update content/zh/_index.md --- content/zh/_index.md | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/content/zh/_index.md b/content/zh/_index.md index a2c883a6f75b..10e64bf0c331 100644 --- a/content/zh/_index.md +++ b/content/zh/_index.md @@ -54,8 +54,9 @@ OpenTelemetry 是各类 API、SDK 和工具形成的集合。可用于仪表化 {{% blocks/feature icon="fas fa-chart-line" title="链路、指标、日志" %}} -从你的服务和软件中创建并采集遥测数据,然后将其转发给各种分析工具 -。{{% /blocks/feature %}} +从你的服务和软件中创建并采集遥测数据,然后将其转发给各种分析工具。 + +{{% /blocks/feature %}} {{% blocks/feature icon="fas fa-magic" title="即插即用仪表" %}}