This is an automated email from the ASF dual-hosted git repository.
zhaoqingran pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/hertzbeat.git
The following commit(s) were added to refs/heads/master by this push:
new 1a5b722994 [doc] add japanese i18n in app-openai.yml and
app-opengauss.yml (#3617)
1a5b722994 is described below
commit 1a5b7229941d2c15445bc18c35aa6171ddfd1307
Author: Calvin <[email protected]>
AuthorDate: Fri Aug 8 20:56:45 2025 +0800
[doc] add japanese i18n in app-openai.yml and app-opengauss.yml (#3617)
Co-authored-by: aias00 <[email protected]>
---
.../src/main/resources/define/app-openai.yml | 38 ++++++++++++++++++++++
.../src/main/resources/define/app-opengauss.yml | 29 +++++++++++++++--
2 files changed, 64 insertions(+), 3 deletions(-)
diff --git a/hertzbeat-manager/src/main/resources/define/app-openai.yml
b/hertzbeat-manager/src/main/resources/define/app-openai.yml
index e4b281dfa7..ccf52bc1d8 100644
--- a/hertzbeat-manager/src/main/resources/define/app-openai.yml
+++ b/hertzbeat-manager/src/main/resources/define/app-openai.yml
@@ -21,11 +21,13 @@ app: openai
name:
zh-CN: OpenAI 监控
en-US: OpenAI
+ ja-JP: OpenAI
# The description and help of this monitoring type
help:
zh-CN: HertzBeat 将调用 OpenAI API 接口,监测账户、账单、大模型 API
使用情况等数据。会话密钥获取请见使用指南。<br>您可以先点击“新增 OpenAI API”按钮并进行配置,或在“更多操作”中导入已有配置。
en-US: HertzBeat will call the OpenAI API interface to monitor account,
billing, and usage data of LLM API, etc. Please refer to the user guide for
session key acquisition.<br>You can click the "Add OpenAI API" button to
configure it first, or import existing configurations in the "More Actions"
section.
zh-TW: HertzBeat 將調用 OpenAI API 接口,監測帳戶、帳單、大模型 API
使用情況等數據。請參閱使用指南以獲取會話密鑰。<br>您可以先點擊“新增 OpenAI API”按鈕並進行配置,或在“更多操作”中導入已有配置。
+ ja-JP: Hertzbeatは、OpenAI APIを呼び出してメトリクスを監視します。<br>「<i>新規 OpenAI
API</i>」をクリックして設定した後、新規することができます。
helpLink:
zh-CN: https://hertzbeat.apache.org/zh-cn/docs/help/openai
en-US: https://hertzbeat.apache.org/docs/help/openai
@@ -37,6 +39,7 @@ params:
name:
zh-CN: 会话密钥
en-US: Session Key
+ ja-JP: セッションキー
# type-param field type(most mapping the html input type)
type: text
# required-true or false
@@ -49,6 +52,7 @@ metrics:
i18n:
zh-CN: 信用额度授予
en-US: Credit Grants
+ ja-JP: 与信枠
# metrics scheduling priority(0->127)->(high->low), metrics with the same
priority will be scheduled in parallel
# priority 0's metrics is availability metrics, it will be scheduled
first, only availability metrics collect success will the scheduling continue
priority: 0
@@ -60,24 +64,28 @@ metrics:
i18n:
zh-CN: 总授予额度
en-US: Total Granted
+ ja-JP: 与信額合計
unit: $
- field: total_used
type: 0
i18n:
zh-CN: 总使用额度
en-US: Total Used
+ ja-JP: 使用した与信額
unit: $
- field: total_available
type: 0
i18n:
zh-CN: 总可用额度
en-US: Total Available
+ ja-JP: 使用可能な与信額
unit: $
- field: total_paid_available
type: 0
i18n:
zh-CN: 总付费可用额度
en-US: Total Paid Available
+ ja-JP: 使用可能な与信額合計
unit: $
# the protocol used for monitoring, eg: sql, ssh, http, telnet, wmi, snmp,
sdk
protocol: http
@@ -107,6 +115,7 @@ metrics:
i18n:
zh-CN: 模型花费
en-US: Model Cost
+ ja-JP: モデルコスト
# metrics scheduling priority(0->127)->(high->low), metrics with the same
priority will be scheduled in parallel
# priority 0's metrics is availability metrics, it will be scheduled
first, only availability metrics collect success will the scheduling continue
priority: 1
@@ -118,12 +127,14 @@ metrics:
i18n:
zh-CN: 模型名称
en-US: Model Name
+ ja-JP: モデル名
label: true
- field: cost
type: 0
i18n:
zh-CN: 花费
en-US: Cost
+ ja-JP: コスト
unit: $
# the protocol used for monitoring, eg: sql, ssh, http, telnet, wmi, snmp,
sdk
protocol: http
@@ -156,6 +167,7 @@ metrics:
i18n:
zh-CN: 订阅计费
en-US: Billing Subscription
+ ja-JP: 課金購読
# metrics scheduling priority(0->127)->(high->low), metrics with the same
priority will be scheduled in parallel
# priority 0's metrics is availability metrics, it will be scheduled
first, only availability metrics collect success will the scheduling continue
priority: 2
@@ -167,138 +179,164 @@ metrics:
i18n:
zh-CN: 是否有支付方式
en-US: Has Payment Method
+ ja-JP: 支払い方法の有無
- field: canceled
type: 1
i18n:
zh-CN: 订阅是否已取消
en-US: Canceled
+ ja-JP: 購読がキャンセルされた
- field: canceled_at
type: 1
i18n:
zh-CN: 订阅取消时间
en-US: Canceled At
+ ja-JP: 購読キャンセル時間
- field: delinquent
type: 1
i18n:
zh-CN: 订阅是否拖欠
en-US: Delinquent
+ ja-JP: 購読料滞納の有無
- field: soft_limit
type: 0
i18n:
zh-CN: 一定时间内最大使用量限制
en-US: Soft Limit
+ ja-JP: 一定期間の最大使用量制限
- field: hard_limit
type: 0
i18n:
zh-CN: 最大使用量限制
en-US: Hard Limit
+ ja-JP: 最大使用量制限
- field: system_hard_limit
type: 0
i18n:
zh-CN: 系统硬限制使用量
en-US: System Hard Limit
+ ja-JP: システムの最大使用量制限
- field: soft_limit_usd
type: 0
i18n:
zh-CN: 软限制费用
en-US: Soft Limit USD
+ ja-JP: 一定期間の最大使用量制限の費用
unit: $
- field: hard_limit_usd
type: 0
i18n:
zh-CN: 硬限制费用
en-US: Hard Limit USD
+ ja-JP: 最大使用量制限の費用
unit: $
- field: system_hard_limit_usd
type: 0
i18n:
zh-CN: 系统硬限制费用
en-US: System Hard Limit USD
+ ja-JP: システムの最大使用量制限の費用
unit: $
- field: plan
type: 1
i18n:
zh-CN: 订阅计划
en-US: Plan
+ ja-JP: 購読プラン
- field: primary
type: 1
i18n:
zh-CN: 是否是主要订阅
en-US: Primary
+ ja-JP: プライマリー購読
unit: $
- field: billing_mechanism
type: 1
i18n:
zh-CN: 结算机制
en-US: Billing Mechanism
+ ja-JP: 課金仕組み
- field: is_arrears_eligible
type: 1
i18n:
zh-CN: 是否符合拖欠资格
en-US: Is Arrears Eligible
+ ja-JP: 延滞の対象
- field: max_balance
type: 0
i18n:
zh-CN: 最大余额
en-US: Max Balance
+ ja-JP: 最大バランス
unit: $
- field: auto_recharge_eligible
type: 1
i18n:
zh-CN: 是否符合自动充值资格
en-US: Auto Recharge Eligible
+ ja-JP: オートリチャージ対象
- field: auto_recharge_enabled
type: 1
i18n:
zh-CN: 是否启用自动充值
en-US: Auto Recharge Enabled
+ ja-JP: オートリチャージ有効
- field: auto_recharge_threshold
type: 0
i18n:
zh-CN: 自动充值阈值
en-US: Auto Recharge Threshold
+ ja-JP: オートリチャージしきい値
unit: $
- field: auto_recharge_to_balance
type: 0
i18n:
zh-CN: 自动充值金额
en-US: Auto Recharge To Balance
+ ja-JP: オートリチャージ金額
unit: $
- field: trust_tier
type: 1
i18n:
zh-CN: 信用等级
en-US: Trust Tier
+ ja-JP: 信託層
- field: account_name
type: 1
i18n:
zh-CN: 账户名称
en-US: Account Name
+ ja-JP: アカウント名
- field: po_number
type: 1
i18n:
zh-CN: 采购号
en-US: Po Number
+ ja-JP: 購入番号
- field: billing_email
type: 1
i18n:
zh-CN: 账单邮箱
en-US: Billing Email
+ ja-JP: 請求先メール
- field: tax_ids
type: 1
i18n:
zh-CN: 税务ID
en-US: Tax IDs
+ ja-JP: 納税者番号
- field: billing_address
type: 1
i18n:
zh-CN: 结算地址
en-US: Billing Address
+ ja-JP: 請求先住所
- field: business_address
type: 1
i18n:
zh-CN: 业务地址
en-US: Business Address
+ ja-JP: ビジネスアドレス
# the protocol used for monitoring, eg: sql, ssh, http, telnet, wmi, snmp,
sdk
protocol: http
# the config content when protocol is http
diff --git a/hertzbeat-manager/src/main/resources/define/app-opengauss.yml
b/hertzbeat-manager/src/main/resources/define/app-opengauss.yml
index d52cb9fb36..407e0ec684 100644
--- a/hertzbeat-manager/src/main/resources/define/app-opengauss.yml
+++ b/hertzbeat-manager/src/main/resources/define/app-opengauss.yml
@@ -18,11 +18,13 @@ app: opengauss
name:
zh-CN: OpenGauss数据库
en-US: OpenGauss DB
+ ja-JP: OpenGauss データベース
# The description and help of this monitoring type
help:
zh-CN: HertzBeat 使用 <a class='help_module_content'
href='https://hertzbeat.apache.org/docs/advanced/extend-jdbc'> JDBC 协议</a> 通过配置
SQL 对 OpenGauss 数据库的通用性能指标 (basic、state、activity etc) 进行采集监控,支持版本为
PostgreSQL10+。<br>您可以点击“<i>新建 OpenGauss 数据库</i>”并进行配置,或者选择“<i>更多操作</i>”,导入已有配置。
en-US: HertzBeat uses <a class='help_module_content'
href='https://hertzbeat.apache.org/docs/advanced/extend-jdbc'> JDBC
Protocol</a> to configure SQL for collecting general metrics of OpenGauss
database (basic、state、activity etc). Supported version is PostgreSQL10+.
<br>You can click "<i>New OpenGauss Database</i>" and configure it, or select
"<i>More Action</i>" to import the existing configuration.
zh-TW: HertzBeat 使用 <a class='help_module_content'
href='https://hertzbeat.apache.org/docs/advanced/extend-jdbc'> JDBC 協議</a> 通過配置
SQL 對 OpenGauss 數據庫的通用性能指標 (basic、state、activity etc)進行采集監控,支持版本爲
PostgreSQL10+。<br>您可以點擊“<i>新建 OpenGauss 數據庫</i>”並進行配置,或者選擇“<i>更多操作</i>”,導入已有配置。
+ ja-JP: Hertzbeat は <a class='help_module_content'
href='https://hertzbeat.apache.org/docs/advanced/extend-jdbc'>
JDBCプロトコルを介して</a> OpenGauss データベースの一般的なパフォーマンスのメトリクスを監視します。<br>「<i>新規 OpenGauss
データベース</i>」をクリックしてパラメタを設定した後、新規することができます。
helpLink:
zh-CN: https://hertzbeat.apache.org/zh-cn/docs/help/opengauss
en-US: https://hertzbeat.apache.org/docs/help/opengauss
@@ -31,12 +33,14 @@ params:
name:
zh-CN: 目标Host
en-US: Target Host
+ ja-JP: 目標ホスト
type: host
required: true
- field: port
name:
zh-CN: 端口
en-US: Port
+ ja-JP: ポート
type: number
range: '[0,65535]'
required: true
@@ -45,9 +49,9 @@ params:
name:
zh-CN: 查询超时时间(ms)
en-US: Query Timeout(ms)
+ ja-JP: クエリタイムアウト(ms)
type: number
# when type is number, range is required
- # 当type为number时,用range表示范围
range: '[400,200000]'
required: false
hide: true
@@ -56,6 +60,7 @@ params:
name:
zh-CN: 数据库名称
en-US: Database Name
+ ja-JP: データベース名
type: text
defaultValue: postgres
required: false
@@ -63,6 +68,7 @@ params:
name:
zh-CN: 用户名
en-US: Username
+ ja-JP: ユーザー名
type: text
limit: 50
required: false
@@ -70,12 +76,14 @@ params:
name:
zh-CN: 密码
en-US: Password
+ ja-JP: パスワード
type: password
required: false
- field: url
name:
zh-CN: URL
en-US: URL
+ ja-JP: URL
type: text
required: false
hide: true
@@ -83,11 +91,10 @@ metrics:
- name: basic
# metrics scheduling priority(0->127)->(high->low), metrics with the same
priority will be scheduled in parallel
# priority 0's metrics is availability metrics, it will be scheduled
first, only availability metrics collect success will the scheduling continue
- # 指标调度优先级(0-127)越小优先级越高,优先级低的指标会等优先级高的指标采集完成后才会被调度,相同优先级的指标会并行调度采集
- # 优先级为0的指标为可用性指标,即它会被首先调度,采集成功才会继续调度其它指标,采集失败则中断调度
i18n:
zh-CN: 基本信息
en-US: Basic Info
+ ja-JP: 基礎情報
priority: 0
# monitor metrics list
fields:
@@ -96,27 +103,32 @@ metrics:
i18n:
zh-CN: 数据库版本
en-US: Server Version
+ ja-JP: バージョン
type: 1
label: true
- field: port
i18n:
zh-CN: 端口号
en-US: Port
+ ja-JP: ポート
type: 1
- field: server_encoding
i18n:
zh-CN: 数据库编码格式
en-US: Encoding
+ ja-JP: エンコード
type: 1
- field: data_directory
i18n:
zh-CN: 数据存储目录
en-US: Data Directory
+ ja-JP: データディレクトリ
type: 1
- field: max_connections
i18n:
zh-CN: 最大连接数
en-US: Max Connection
+ ja-JP: 最大接続数
type: 0
unit: sbc
protocol: jdbc
@@ -140,6 +152,7 @@ metrics:
i18n:
zh-CN: 状态
en-US: Status
+ ja-JP: 状態情報
priority: 1
fields:
# metric information includes field name, type field type: 0-number,
1-string, label-whether it is a metric label field, unit-metric unit
@@ -147,47 +160,55 @@ metrics:
i18n:
zh-CN: 名称
en-US: Name
+ ja-JP: 名前
type: 1
- field: conflicts
i18n:
zh-CN: 冲突次数
en-US: Conflicts
+ ja-JP: コンフリクト回数
type: 0
unit: times
- field: deadlocks
i18n:
zh-CN: 死锁次数
en-US: Deadlocks
+ ja-JP: デッドロック回数
type: 0
unit: times
- field: blks_read
i18n:
zh-CN: 块读取数
en-US: Blocks Read
+ ja-JP: 読み取られたブロック
type: 0
unit: blocks per second
- field: blks_hit
i18n:
zh-CN: 块命中数
en-US: Blocks Hit
+ ja-JP: ヒットブロック
type: 0
unit: blocks per second
- field: blk_read_time
i18n:
zh-CN: 块读取时间
en-US: Block Read Time
+ ja-JP: 読み取られタイム
type: 0
unit: ms
- field: blk_write_time
i18n:
zh-CN: 块写入时间
en-US: Block Write
+ ja-JP: 書き込まれ時間
type: 0
unit: ms
- field: stats_reset
i18n:
zh-CN: 统计信息重置时间
en-US: States Reset
+ ja-JP: 統計リセット
type: 1
protocol: jdbc
jdbc:
@@ -210,6 +231,7 @@ metrics:
i18n:
zh-CN: 活跃进程
en-US: Activity
+ ja-JP: 活動情報
priority: 2
fields:
# metric information includes field name, type field type: 0-number,
1-string, label-whether it is a metric label field, unit-metric unit
@@ -217,6 +239,7 @@ metrics:
i18n:
zh-CN: 运行中进程数
en-US: Running
+ ja-JP: 実行中
type: 0
unit: sbc
protocol: jdbc
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]