Skip to content

Commit 470e94c

Browse files
authored
chore(zh): add new tab with external link (#1268)
1 parent a55b2df commit 470e94c

3 files changed

Lines changed: 21 additions & 3 deletions

File tree

config.toml

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -81,6 +81,18 @@ url = "https://space.bilibili.com/3494360534485730/channel/collectiondetail?sid=
8181
weight = 60
8282
parent = "社区"
8383

84+
[[languages.zh.menu.main]]
85+
name = "[new]企业级解决方案"
86+
identifier = "business_solution"
87+
weight = 45
88+
89+
[[languages.zh.menu.main]]
90+
name = "可观测解决方案"
91+
url = "https://www.volcengine.com/docs/6431/1469323"
92+
weight = 10
93+
parent = "business_solution"
94+
params = { target = "_blank", rel = "noopener noreferrer" }
95+
8496
[languages.zh.params]
8597
description = "A leading practice for building enterprise cloud native middleware!"
8698

content/en/docs/hertz/tutorials/third-party/open-telemetry.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -178,7 +178,10 @@ func main() {
178178
For a full usage: [example](https://github.com/cloudwego/hertz-examples/tree/main/opentelemetry)
179179

180180
## More
181+
181182
### Compile-time instrumentation
183+
182184
If you don't want to use open-telemetry through sdk, you can also use open-telemetry's official recommended compile-time instrumentation, which allows users to automatically use open-telemetry without modifying the source code, related links:
185+
183186
1. [open-telemetry official project link](https://github.com/open-telemetry/opentelemetry-go-compile-instrumentation)
184187
2. [open-telemetry official technical blog](https://opentelemetry.io/blog/2025/go-compile-time-instrumentation)

content/zh/docs/hertz/tutorials/third-party/open-telemetry.md

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -174,7 +174,10 @@ func main() {
174174
完整的使用示例详见 [example](https://github.com/cloudwego/hertz-examples/tree/main/opentelemetry)
175175

176176
## 更多
177+
177178
### 编译时注入
178-
如果您不想通过sdk的方式接入open-telemetry,您还可以使用open-telemetry官方推荐的编译时注入方案,该方案可以使得用户在不修改源代码的前提下自动接入open-telemetry,相关链接:
179-
1. [open-telemetry官方项目链接](https://github.com/open-telemetry/opentelemetry-go-compile-instrumentation)
180-
2. [open-telemetry官方技术博客](https://opentelemetry.io/blog/2025/go-compile-time-instrumentation)
179+
180+
如果您不想通过 sdk 的方式接入 open-telemetry,您还可以使用 open-telemetry 官方推荐的编译时注入方案,该方案可以使得用户在不修改源代码的前提下自动接入 open-telemetry,相关链接:
181+
182+
1. [open-telemetry 官方项目链接](https://github.com/open-telemetry/opentelemetry-go-compile-instrumentation)
183+
2. [open-telemetry 官方技术博客](https://opentelemetry.io/blog/2025/go-compile-time-instrumentation)

0 commit comments

Comments
 (0)