Skip to content

Commit

Permalink
Fix link
Browse files Browse the repository at this point in the history
  • Loading branch information
AlbumenJ committed Sep 10, 2024
1 parent 1c71556 commit 606a503
Show file tree
Hide file tree
Showing 20 changed files with 26 additions and 26 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ weight: 6
description: "Store the environment information required in the current calling process through the context"
---
## Feature description
The context stores the environment information needed in the current calling process. All configuration information will be converted to URL parameters, see the **corresponding URL parameters** column in [schema configuration reference manual](../../../reference-manual/config/properties/).
The context stores the environment information needed in the current calling process. All configuration information will be converted to URL parameters, see the **corresponding URL parameters** column in [schema configuration reference manual](/zh-cn/overview/mannual/java-sdk/reference-manual/config/properties//).

RpcContext is a temporary state recorder for ThreadLocal. When RPC requests are received or RPC requests are initiated, the state of RpcContext will change. For example: A tunes B, B then tunes C, then on machine B, before B tunes C, RpcContext records the information of A's tune to B, after B tunes C, RpcContext records the information of B's tune to C.

Expand Down Expand Up @@ -46,4 +46,4 @@ public class XxxServiceImpl implements XxxService {
boolean isProviderSide = RpcContext.getServiceContext().isProviderSide();
}
}
```
```
4 changes: 2 additions & 2 deletions content/en/docs3-v2/java-sdk/faq/0/13.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,6 @@ An error occurred during the push process of the indicator data, the pushed serv

### Troubleshooting and resolution steps

Please refer to the configuration item reference manual[configuration item reference manual](/en/docs3-v2/java-sdk/reference-manual/config/properties/#metrics).
Please refer to the configuration item reference manual[configuration item reference manual](/en/docs3-v2/java-sdk/reference-manual/config/properties/).

<p style="margin-top: 3rem;"> </p>
<p style="margin-top: 3rem;"> </p>
4 changes: 2 additions & 2 deletions content/en/docs3-v2/java-sdk/faq/0/2.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,6 @@ weight: 2
This hint means that the value configured by the user does not match the data type required by the attribute itself. For example, the `dubbo.comsumer.threads` attribute can only accept numeric attributes, but the value entered by the user is mixed with letters.

### Troubleshooting and resolution steps
According to the [Configuration Item Reference Manual](../../../reference-manual/config/properties), find the wrong configuration item, check the type specified by the item, and check whether there is a type inconsistency.
According to the [Configuration Item Reference Manual](/zh-cn/overview/mannual/java-sdk/reference-manual/config/properties/), find the wrong configuration item, check the type specified by the item, and check whether there is a type inconsistency.

<p style="margin-top: 3rem;"> </p>
<p style="margin-top: 3rem;"> </p>
2 changes: 1 addition & 1 deletion content/en/docs3-v2/java-sdk/faq/1/12.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,4 +12,4 @@ During the process of destroying the `unexport` of `Registryprotocol`, the `getR

### Troubleshooting and resolution steps
> see also
[Configuration item reference manual](../../../reference-manual/config/properties)
[Configuration item reference manual](/zh-cn/overview/mannual/java-sdk/reference-manual/config/properties/)
2 changes: 1 addition & 1 deletion content/en/docs3-v2/java-sdk/faq/1/14.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,4 +12,4 @@ Please check whether the content or format of the dynamic configuration file is


### See also
> [Configuration Reference Manual](../../../reference-manual/config/properties)
> [Configuration Reference Manual](/zh-cn/overview/mannual/java-sdk/reference-manual/config/properties/)
4 changes: 2 additions & 2 deletions content/en/docs3-v2/java-sdk/faq/1/17.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,6 @@ It may be that there is a problem with the parameter configuration of metadata,
2. Check whether the `metadataServicePort` port number conflicts. If the ports configured by Provider and Consumer are in conflict at the same time, a 1-17 error will be generated.

## see also
[Configuration item reference manual](../../../reference-manual/config/properties)
[Configuration item reference manual](/zh-cn/overview/mannual/java-sdk/reference-manual/config/properties/)

<p style="margin-top: 3rem;"> </p>
<p style="margin-top: 3rem;"> </p>
4 changes: 2 additions & 2 deletions content/en/docs3-v2/java-sdk/faq/1/18.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,6 @@ It may be that `metadataType` is in local mode, and `metadataServicePort` is con
2. Check whether the configuration of `metadataServicePort` on the Provider side is correct, and pay special attention to whether there is any conflict with other application ports.

## see also
[Configuration item reference manual](../../../reference-manual/config/properties)
[Configuration item reference manual](/zh-cn/overview/mannual/java-sdk/reference-manual/config/properties/)

<p style="margin-top: 3rem;"> </p>
<p style="margin-top: 3rem;"> </p>
2 changes: 1 addition & 1 deletion content/en/docs3-v2/java-sdk/faq/1/3.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,4 +10,4 @@ When `FrameworkExecutorRepository` is destroyed, calling `CacheableFailbackRegis

### Troubleshooting and resolution steps

> See also the [Configuration Items Reference Manual](../../../reference-manual/config/properties)
> See also the [Configuration Items Reference Manual](/zh-cn/overview/mannual/java-sdk/reference-manual/config/properties/)
2 changes: 1 addition & 1 deletion content/en/docs3-v2/java-sdk/faq/1/4.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,4 +15,4 @@ weight: 4
3. Check whether `enable-empty-protection` of the registration center is true (the default is true).

> see also
[Configuration item reference manual](../../../reference-manual/config/properties)
[Configuration item reference manual](/zh-cn/overview/mannual/java-sdk/reference-manual/config/properties/)
2 changes: 1 addition & 1 deletion content/en/docs3-v2/java-sdk/faq/1/8.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,4 +15,4 @@ weight: 8
3. Check whether the provider’s registry-related parameters such as `registry` `config-center` `metadata-report` are configured correctly.

> see also
[Configuration item reference manual](../../../reference-manual/config/properties)
[Configuration item reference manual](/zh-cn/overview/mannual/java-sdk/reference-manual/config/properties/)
Original file line number Diff line number Diff line change
Expand Up @@ -22,4 +22,4 @@ weight: 13

### 排查和解决步骤

请参考配置项参考手册[配置项参考手册](/zh-cn/overview/mannual/java-sdk/reference-manual/config/properties/#metrics)
请参考配置项参考手册[配置项参考手册](/zh-cn/overview/mannual/java-sdk/reference-manual/config/properties/)
Original file line number Diff line number Diff line change
Expand Up @@ -15,4 +15,4 @@ weight: 2
这个提示是指用户配置的值与属性本身所需的数据类型并不匹配。比如 `dubbo.comsumer.threads` 属性只能接受数值属性,但是用户所输入的值混入了字母。

### 排查和解决步骤
根据[配置项参考手册](../../../reference-manual/config/properties),查找出错的配置项,检查该项指定的类型,检查是否出现类型不一致的情况。
根据[配置项参考手册](/zh-cn/overview/mannual/java-sdk/reference-manual/config/properties/),查找出错的配置项,检查该项指定的类型,检查是否出现类型不一致的情况。
Original file line number Diff line number Diff line change
Expand Up @@ -22,4 +22,4 @@ weight: 12

### 排查和解决步骤
> 另请参阅
[配置项参考手册](../../../reference-manual/config/properties)
[配置项参考手册](/zh-cn/overview/mannual/java-sdk/reference-manual/config/properties/)
Original file line number Diff line number Diff line change
Expand Up @@ -22,4 +22,4 @@ weight: 14


### 另请参阅
> [配置项参考手册](../../../reference-manual/config/properties)
> [配置项参考手册](/zh-cn/overview/mannual/java-sdk/reference-manual/config/properties/)
Original file line number Diff line number Diff line change
Expand Up @@ -23,4 +23,4 @@ weight: 17
2. 排查 `metadataServicePort` 端口号是否存在冲突问题。Provider 和 Consumer 所配置端口同时存在冲突,会产生 metadata Server 失效。

> 另请参阅
[配置项参考手册](../../../reference-manual/config/properties)
[配置项参考手册](/zh-cn/overview/mannual/java-sdk/reference-manual/config/properties/)
Original file line number Diff line number Diff line change
Expand Up @@ -23,4 +23,4 @@ weight: 18
2.检查 Provider 侧的 `metadataServicePort` 配置是否正确,特别注意是否和其他应用端口存在冲突。

> 另请参阅
[配置项参考手册](../../../reference-manual/config/properties)
[配置项参考手册](/zh-cn/overview/mannual/java-sdk/reference-manual/config/properties/)
Original file line number Diff line number Diff line change
Expand Up @@ -20,4 +20,4 @@ weight: 3

### 排查和解决步骤

> 另请参阅 [配置项参考手册](../../../reference-manual/config/properties)
> 另请参阅 [配置项参考手册](/zh-cn/overview/mannual/java-sdk/reference-manual/config/properties/)
Original file line number Diff line number Diff line change
Expand Up @@ -25,4 +25,4 @@ weight: 4
3. 检查注册中心的`enable-empty-protection`是否为true(默认为true)。

> 另请参阅
[配置项参考手册](../../../reference-manual/config/properties)
[配置项参考手册](/zh-cn/overview/mannual/java-sdk/reference-manual/config/properties/)
Original file line number Diff line number Diff line change
Expand Up @@ -25,4 +25,4 @@ weight: 8
3. 排查 provider 的注册中心相关参数比如 `registry` `config-center` `metadata-report`是否配置正确。

> 另请参阅
[配置项参考手册](../../../reference-manual/config/properties)
[配置项参考手册](/zh-cn/overview/mannual/java-sdk/reference-manual/config/properties/)
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ Dubbo Metrics 的总体设计请参考 [可观测性 Metrics Proposal](/zh-cn/ov
```

* 完整示例请参见 <a href="https://github.com/apache/dubbo-samples/tree/master/4-governance/dubbo-samples-metrics-spring-boot" target="_blank">dubbo-samples-metrics-spring-boot</a>
* 完整配置参数请参见 [Metrics 配置项手册](../../../reference-manual/config/properties/#metrics)
* 完整配置参数请参见 [Metrics 配置项手册](/zh-cn/overview/mannual/java-sdk/reference-manual/config/properties//)

## 实现原理解析

Expand Down Expand Up @@ -328,4 +328,4 @@ public class TimeWindowQuantile {

其中,address、port、url 均是可选项,如不配置则 Admin 使用默认约定值。

> 用户直接在Dubbo配置文件中配置Prometheus Pushgateway的地址即可,如<dubbo:metrics protocol="prometheus" mode="push" address="${prometheus.pushgateway-url}" interval="5" />,其中interval代表推送间隔
> 用户直接在Dubbo配置文件中配置Prometheus Pushgateway的地址即可,如<dubbo:metrics protocol="prometheus" mode="push" address="${prometheus.pushgateway-url}" interval="5" />,其中interval代表推送间隔

0 comments on commit 606a503

Please sign in to comment.