This is an automated email from the ASF dual-hosted git repository.
terrymanu pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/shardingsphere.git
The following commit(s) were added to refs/heads/master by this push:
new c1978128d4a Remove stale LOCK state from proxy_state metric
description (#39079)
c1978128d4a is described below
commit c1978128d4a5ae0b0c4b39a7b88de5e85a1a3bbf
Author: Eunbin Son <[email protected]>
AuthorDate: Mon Jul 13 19:51:56 2026 +0900
Remove stale LOCK state from proxy_state metric description (#39079)
---
.../plugin/metrics/core/exporter/impl/proxy/ProxyStateExporter.java | 2 +-
.../content/user-manual/shardingsphere-proxy/observability/_index.en.md | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git
a/agent/plugins/metrics/core/src/main/java/org/apache/shardingsphere/agent/plugin/metrics/core/exporter/impl/proxy/ProxyStateExporter.java
b/agent/plugins/metrics/core/src/main/java/org/apache/shardingsphere/agent/plugin/metrics/core/exporter/impl/proxy/ProxyStateExporter.java
index 48c34f9a5ad..7efaca4c22a 100644
---
a/agent/plugins/metrics/core/src/main/java/org/apache/shardingsphere/agent/plugin/metrics/core/exporter/impl/proxy/ProxyStateExporter.java
+++
b/agent/plugins/metrics/core/src/main/java/org/apache/shardingsphere/agent/plugin/metrics/core/exporter/impl/proxy/ProxyStateExporter.java
@@ -34,7 +34,7 @@ import java.util.Optional;
public final class ProxyStateExporter implements MetricsExporter {
private final MetricConfiguration config = new
MetricConfiguration("proxy_state",
- MetricCollectorType.GAUGE_METRIC_FAMILY, "State of
ShardingSphere-Proxy. 0 is OK; 1 is CIRCUIT BREAK; 2 is LOCK",
Collections.emptyList(), Collections.emptyMap());
+ MetricCollectorType.GAUGE_METRIC_FAMILY, "State of
ShardingSphere-Proxy. 0 is OK; 1 is CIRCUIT BREAK", Collections.emptyList(),
Collections.emptyMap());
@Override
public Optional<GaugeMetricFamilyMetricsCollector> export(final String
pluginType) {
diff --git
a/docs/document/content/user-manual/shardingsphere-proxy/observability/_index.en.md
b/docs/document/content/user-manual/shardingsphere-proxy/observability/_index.en.md
index 38279eb4d7f..db2e2e706e9 100644
---
a/docs/document/content/user-manual/shardingsphere-proxy/observability/_index.en.md
+++
b/docs/document/content/user-manual/shardingsphere-proxy/observability/_index.en.md
@@ -125,7 +125,7 @@ After startup, you can find the plugin info in the log of
ShardingSphere-Proxy,
| routed_sql_total | COUNTER | Total count of routed by database
and SQL type (INSERT, UPDATE, DELETE, SELECT)
|
| routed_storage_unit_total | COUNTER | Total count of routed by storage
unit of database
|
| routed_table_total | COUNTER | Total count of routed by table of
database
|
-| proxy_state | GAUGE | Status information of
ShardingSphere-Proxy. 0 is OK; 1 is CIRCUIT BREAK; 2 is LOCK
|
+| proxy_state | GAUGE | Status information of
ShardingSphere-Proxy. 0 is OK; 1 is CIRCUIT BREAK
|
| proxy_meta_data_info | GAUGE | Meta data information of
ShardingSphere-Proxy. database_count is logic number of databases;
storage_unit_count is number of storage units |
| proxy_current_connections | GAUGE | Current connections of
ShardingSphere-Proxy
|
| proxy_requests_total | COUNTER | Total requests of
ShardingSphere-Proxy
|