Git Product home page Git Product logo

obagent's Introduction

OceanBase Logo

English doc Chinese doc last commit stars building status license

Join Slack Stack Overflow

English | 中文版

OceanBase Database is a distributed relational database. It is developed entirely by Ant Group. The OceanBase Database is built on a common server cluster. Based on the Paxos protocol and its distributed structure, the OceanBase Database provides high availability and linear scalability. The OceanBase Database is not dependent on specific hardware architectures.

Key features

  • Transparent Scalability: 1,500 nodes, PB data and a trillion rows of records in one cluster.
  • Ultra-fast Performance: TPC-C 707 million tmpC and TPC-H 15.26 million QphH @30000GB.
  • Cost Efficiency: saves 70%–90% of storage costs.
  • Real-time Analytics: supports HTAP without additional cost.
  • Continuous Availability: RPO = 0(zero data loss) and RTO < 8s(recovery time)
  • MySQL Compatible: easily migrated from MySQL database.

See also key features for more details.

Quick start

🔥 Start with all-in-one

You can quickly deploy a stand-alone OceanBase Database to experience with the following commands:

Note: Linux Only

# download and install all-in-one package (internet connection is required)
bash -c "$(curl -s https://obbusiness-private.oss-cn-shanghai.aliyuncs.com/download-center/opensource/oceanbase-all-in-one/installer.sh)"
source ~/.oceanbase-all-in-one/bin/env.sh

# quickly deploy OceanBase database
obd demo

🐳 Start with docker

  1. Start an OceanBase Database instance:

    # Deploy a mini standalone instance.
    docker run -p 2881:2881 --name oceanbase-ce -e MODE=mini -d oceanbase/oceanbase-ce
  2. Connect to the OceanBase Database instance:

    docker exec -it oceanbase-ce ob-mysql sys # Connect to the root user of the sys tenant.

See also Quick experience or Quick Start (Simplified Chinese) for more details.

☸️ Start with Kubernetes

You can deploy and manage OceanBase Database instance in kubernetes cluster with ob-operator quickly. Refer to the document Quick Start for ob-operator to see details.

👨‍💻 Start developing

See OceanBase Developer Document to learn how to compile and deploy a manually compiled observer.

Roadmap

For future plans, see Product Iteration Progress. See also OceanBase Roadmap for more details.

Case study

OceanBase has been serving more than 1000 customers and upgraded their database from different industries, including Financial Services, Telecom, Retail, Internet, and more.

See also success stories and Who is using OceanBase for more details.

System architecture

Introduction to system architecture

Contributing

Contributions are highly appreciated. Read the development guide to get started.

License

OceanBase Database is licensed under the Mulan Public License, Version 2. See the LICENSE file for more info.

Community

Join the OceanBase community via:

obagent's People

Contributors

amber1990zhang avatar chris-sun-star avatar frf12 avatar linxiansheng avatar lostime-ck avatar ob-robot avatar wangzelin19961202 avatar whhe avatar xjxjy avatar zhj-luo avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

obagent's Issues

monagent启动报错

  1. admin用户下启动monagent
    $ cd /home/admin/obagent
    $ nohup ./bin/monagent -c conf/monagent.yaml >> ./log/monagent_stdout.log 2>&1 &

  2. 启动monagnet报错,摘要

1 2021-10-14T16:35:10.83633+08:00 INFO [43145,] caller=sdk/sdk_init.go:43:InitSDK: init sdk conf {ConfigPropertiesDir:conf/config_properties ModuleConfigDir:conf/module_config CryptoPath:conf/.config_secret.key CryptoMethod:plain}
 2 2021-10-14T16:35:10.83718+08:00 INFO [43145,] caller=config/config_reader_writer.go:218:loadYamlFilesFromPath: read config files from path /home/admin/obagent/conf/config_properties
 3 2021-10-14T16:35:10.83743+08:00 INFO [43145,] caller=config/config_reader_writer.go:224:loadYamlFilesFromPath: read config from path /home/admin/obagent/conf/config_properties, files length 2
 4 2021-10-14T16:35:10.83752+08:00 DEBUG [43145,] caller=config/config_reader_writer.go:229:loadYamlFilesFromPath: read config from path /home/admin/obagent/conf/config_properties, file monagent_basic_auth.yaml
 5 2021-10-14T16:35:10.8394+08:00 ERROR [43145,] caller=config/config_reader_writer.go:55:InitConfigProperties: decode config properties from path conf/config_properties, err:decode config file /home/admin/obagent/conf/config_properties/monagent_basic_auth.yaml err:dec    ode config properties from config file /home/admin/obagent/conf/config_properties/monagent_basic_auth.yaml, err:parse config key http.server.basic.auth.username, err:assert http.server.basic.auth.username map[http_basic_auth_user:<nil>] (map[string]interface {}) to     string, err:unable to cast map[string]interface {}{"http_basic_auth_user":interface {}(nil)} of type map[string]interface {} to string
 6 github.com/oceanbase/obagent/config.(*ConfigProperty).Parse
 7         /root/rpmbuild/SOURCES/obagent/config/config_property.go:289
 8 github.com/oceanbase/obagent/config.decodeConfigPropertiesGroup
 9         /root/rpmbuild/SOURCES/obagent/config/config_reader_writer.go:115
10 github.com/oceanbase/obagent/config.decodeConfigPropertiesGroups.func1
11         /root/rpmbuild/SOURCES/obagent/config/config_reader_writer.go:93
12 github.com/oceanbase/obagent/config.loadYamlFilesFromPath
13         /root/rpmbuild/SOURCES/obagent/config/config_reader_writer.go:236
14 github.com/oceanbase/obagent/config.decodeConfigPropertiesGroups
15         /root/rpmbuild/SOURCES/obagent/config/config_reader_writer.go:88
16 github.com/oceanbase/obagent/config.InitConfigProperties
17         /root/rpmbuild/SOURCES/obagent/config/config_reader_writer.go:52
18 github.com/oceanbase/obagent/config/sdk.initConfigs
19         /root/rpmbuild/SOURCES/obagent/config/sdk/sdk_init.go:73
20 github.com/oceanbase/obagent/config/sdk.InitSDK
21         /root/rpmbuild/SOURCES/obagent/config/sdk/sdk_init.go:51
22 main.runMonitorAgent
23         /root/rpmbuild/SOURCES/obagent/cmd/monagent/main.go:94

Incompatible with mysql_exporter

Hi, recently I am working on integrating obagent (v1.1.2) with oceanbase-ce 3.1.3.
There were some issues I discovered during the progress. I have them fixed on my fork and created a MR here: #29

Hope you guys can take the time to review it.

1. mysql exporter got error to ping mysql due to invalid lock_wait_timeout param

2022-07-27T14:35:53.46334+07:00 INFO [25422,] caller=logrus/logrus_logger.go:33:Log:  fields: err="Error 1231: Variable 'lock_wait_timeout' can't be set to the value of '0'", fields.level=error, fields.msg="Error pinging mysqld"
2022-07-27T14:35:54.55427+07:00 INFO [25422,] caller=logrus/logrus_logger.go:33:Log:  fields: err="Error 1231: Variable 'lock_wait_timeout' can't be set to the value of '0'", fields.level=error, fields.msg="Error pinging mysqld"
2022-07-27T14:35:54.68906+07:00 INFO [25422,] caller=logrus/logrus_logger.go:33:Log:  fields: err="Error 1231: Variable 'lock_wait_timeout' can't be set to the value of '0'", fields.level=error, fields.msg="Error pinging mysqld"
2022-07-27T14:35:54.94058+07:00 INFO [25422,] caller=logrus/logrus_logger.go:33:Log:  fields: err="Error 1231: Variable 'lock_wait_timeout' can't be set to the value of '0'", fields.level=error, fields.msg="Error pinging mysqld"
2022-07-27T14:35:54.98801+07:00 INFO [25422,] caller=logrus/logrus_logger.go:33:Log:  fields: err="Error 1231: Variable 'lock_wait_timeout' can't be set to the value of '0'", fields.level=error, fields.msg="Error pinging mysqld"
2022-07-27T14:35:55.13362+07:00 INFO [25422,] caller=logrus/logrus_logger.go:33:Log:  fields: err="Error 1231: Variable 'lock_wait_timeout' can't be set to the value of '0'", fields.level=error, fields.msg="Error pinging mysqld"

I find out the reason is because a Parse() on kingpin need to be called before we initialize a mysql collector.
This behavior is quite similar to node exporter: https://github.com/oceanbase/obagent/blob/master/plugins/inputs/nodeexporter/node_exporter.go#L172

2. mysql plugin is enabled but no mysql metric is collected

Turn out mysql exporter validate scrapers' version against MySQL version to make sure they are compatible.
However, in our case, returned version is from Oceanbase, which is not related to MySQL version. Mysql Exporter will just ignore all metrics: https://github.com/prometheus/mysqld_exporter/blob/main/collector/exporter.go#L164
Oceanbase version:

mysql> select version();
+--------------------+
| version()          |
+--------------------+
| 3.1.3-OceanBase CE |
+--------------------+
1 row in set (0.01 sec)

I created a decorator for scraper, which will return Version() as 0.0 to make them pass the validation.

optimize resource usage, monagent process consumes about 100% cpu

Check Before Asking

  • Please check the issue list and confirm this feature is encountered for the first time.
  • Please try full text in English and attach precise description.

Description

monagent process consumes about 100% cpu even for a newly deployed oceanbase cluster.

Other Information

No response

[Question]: 手动构建并部署启动后,无法访问 metrics, 如: /metrics/node/host 或 /metrics/mysql

If the question is concise and probably has a short answer, asking it in community Slack

Question
源码构建并部署后,无法访问模块 metrics,其中

# HELP go_cgo_go_to_c_calls_calls_total Count of calls made from Go to C by the current process.
# TYPE go_cgo_go_to_c_calls_calls_total counter
go_cgo_go_to_c_calls_calls_total{app="HOST",process="db_monagent",svr_ip="127.0.0.1"} 3
# HELP go_cpu_classes_gc_mark_assist_cpu_seconds_total Estimated total CPU time goroutines spent performing GC tasks to assist the GC and prevent it from falling behind the application. This metric is an overestimate, and not directly comparable to system CPU time measurements. Compare only with other /cpu/classes metrics.
# TYPE go_cpu_classes_gc_mark_assist_cpu_seconds_total counter
go_cpu_classes_gc_mark_assist_cpu_seconds_total{app="HOST",process="db_monagent",svr_ip="127.0.0.1"} 0.36639316
# HELP go_cpu_classes_gc_mark_dedicated_cpu_seconds_total Estimated total CPU time spent performing GC tasks on processors (as defined by GOMAXPROCS) dedicated to those tasks. This includes time spent with the world stopped due to the GC. This metric is an overestimate, and not directly comparable to system CPU time measurements. Compare only with other /cpu/classes metrics.
...
    - key: monagent.mysql.monitor.user
      value: mysql_monitor_user
      valueType: string
    - key: monagent.mysql.monitor.password
      value: Chyj1yAfNzVqd3hbq3H1d28BTYooRLtlDahmg8dvmJo=
      valueType: string
      encrypted: true
    - key: monagent.mysql.sql.port
      value: 3306
      valueType: int64
    - key: monagent.mysql.host
      value: 127.0.0.1
      valueType: string
    - key: monagent.alertmanager.address
      value:
      valueType: string
    - key: monagent.pipeline.ob.alertmanager.status
      value: inactive
      valueType: string
    - key: monagent.pipeline.mysql.status
      value: active
      valueType: string

monagent.log 日志如下

2023-08-02T17:19:58.13156+08:00 INFO [886424,5d184ed1ed8112b0] caller=stat/metrics.go:25:RegisterStat: registry with labels: map[app:HOST process:db_monagent svr_ip:127.0.0.1]
2023-08-02T17:19:58.13354+08:00 INFO [886424,5d184ed1ed8112b0] caller=stat/metrics.go:25:RegisterStat: registry with labels: map[app:HOST process:db_monagent svr_ip:127.0.0.1]
2023-08-02T17:19:58.13653+08:00 WARN [886424,5d184ed1ed8112b0] caller=engine/pipeline_module_callback.go:117:InitPipelineModuleCallback: pipeline module config host.log is inactive or invalid, just skip
2023-08-02T17:19:58.13718+08:00 WARN [886424,5d184ed1ed8112b0] caller=engine/pipeline_module_callback.go:117:InitPipelineModuleCallback: pipeline module config monitor.ob.err.log is inactive or invalid, just skip
2023-08-02T17:19:58.13859+08:00 WARN [886424,5d184ed1ed8112b0] caller=engine/pipeline_module_callback.go:117:InitPipelineModuleCallback: pipeline module config ob.log is inactive or invalid, just skip
2023-08-02T17:19:58.14587+08:00 INFO [886424,5d184ed1ed8112b0] caller=engine/pipeline_module_callback.go:31:addPipeline: add pipeline module config event fields: module=monitor.node.host, duration="11.853µs"
2023-08-02T17:19:58.14593+08:00 INFO [886424,5d184ed1ed8112b0] caller=runtime/asm_amd64.s:1598:goexit: receive module config fields:, module=monitor.node.host, eventType=add, duration="3.41µs"
2023-08-02T17:19:58.14597+08:00 WARN [886424,] caller=nodeexporter/node_exporter.go:222:Init: node_exporter collect_interval config is not correct, using default config
2023-08-02T17:19:58.1462+08:00 INFO [886424,] caller=collector/filesystem_common.go:110:NewFilesystemCollector:  fields: fields.msg="Parsed flag --collector.filesystem.mount-points-exclude", flag="^/(dev|proc|sys|var/lib/docker/.+)($|/)", collector=filesys
2023-08-02T17:19:58.14624+08:00 INFO [886424,] caller=collector/filesystem_common.go:112:NewFilesystemCollector:  fields:, collector=filesystem, fields.msg="Parsed flag --collector.filesystem.fs-types-exclude", fields.level=info, flag="^(autofs|binfmt_misc
2023-08-02T17:19:58.14661+08:00 INFO [886424,] caller=aggregate/aggregator.go:69:Init: init aggregateProcessor with config: &{Rules:[0xc00031fdd0] IsRetainNativeMetric:false}
2023-08-02T17:19:58.14678+08:00 INFO [886424,] caller=attr/attribute_operate.go:57:Init: init retagProcessor with config: {Operations:[{Oper:copyTags Condition:{Metric: Fields:map[] Tags:map[]} Tags:map[dev:device mountpoint:mount_point] RemoveItems:[]} {O
2023-08-02T17:19:58.14686+08:00 INFO [886424,] caller=label/mount_label.go:65:Init: init mountLabelProcessor with config: &{LabelTags:map[checkReadonly:/ dataDiskPath:/data/1 installPath:/home/admin/oceanbase logDiskPath:/data/log1] ObStatus:inactive}
2023-08-02T17:19:58.1469+08:00 WARN [886424,] caller=processors/ocp.go:28:func2: check installPath failed
2023-08-02T17:19:58.14692+08:00 WARN [886424,] caller=processors/ocp.go:28:func2: check dataDiskPath failed
2023-08-02T17:19:58.14694+08:00 WARN [886424,] caller=processors/ocp.go:28:func2: check logDiskPath failed
2023-08-02T17:19:58.14696+08:00 WARN [886424,] caller=common/mount.go:15:GetMountPath: check filepath  stat failed, err: stat : no such file or directory
2023-08-02T17:19:58.14698+08:00 WARN [886424,] caller=common/mount.go:15:GetMountPath: check filepath  stat failed, err: stat : no such file or directory
2023-08-02T17:19:58.14701+08:00 WARN [886424,] caller=common/mount.go:15:GetMountPath: check filepath  stat failed, err: stat : no such file or directory
2023-08-02T17:19:58.15619+08:00 WARN [886424,] caller=label/mount_label.go:194:getMountPV: get pv of fileSystem devtmpfs failed, err: lstat devtmpfs: no such file or directory
2023-08-02T17:19:58.15623+08:00 WARN [886424,] caller=label/mount_label.go:194:getMountPV: get pv of fileSystem tmpfs failed, err: lstat tmpfs: no such file or directory
2023-08-02T17:19:58.15625+08:00 WARN [886424,] caller=label/mount_label.go:194:getMountPV: get pv of fileSystem tmpfs failed, err: lstat tmpfs: no such file or directory
2023-08-02T17:19:58.15628+08:00 WARN [886424,] caller=label/mount_label.go:194:getMountPV: get pv of fileSystem tmpfs failed, err: lstat tmpfs: no such file or directory
2023-08-02T17:19:58.1563+08:00 WARN [886424,] caller=label/mount_label.go:194:getMountPV: get pv of fileSystem tmpfs failed, err: lstat tmpfs: no such file or directory
2023-08-02T17:19:58.15637+08:00 INFO [886424,] caller=prometheus/prometheus.go:68:Init: prometheus exporter config: &{FormatType:fmtText ExposeUrl:/metrics/node/host WithTimestamp:true}
2023-08-02T17:19:58.15639+08:00 INFO [886424,5d184ed1ed8112b0] caller=engine/config_manager.go:192:handleConfigEvent: pipeline event is created fields:, module=monitor.node.host, duration=10.435154ms
2023-08-02T17:19:58.15643+08:00 INFO [886424,5d184ed1ed8112b0] caller=engine/pipeline_manager.go:148:handleEvent: receive pipelie event fields: eventType=add, module=monitor.node.host, duration="16.016µs"
2023-08-02T17:19:58.15646+08:00 INFO [886424,5d184ed1ed8112b0] caller=engine/pipeline_manager.go:199:func1: start pipeline node_info
2023-08-02T17:19:58.15649+08:00 INFO [886424,5d184ed1ed8112b0] caller=engine/pipeline_manager.go:193:handleEvent: pipeline event handle completed fields: duration="57.817µs", module=monitor.node.host, eventType=add
2023-08-02T17:19:58.15651+08:00 INFO [886424,] caller=nodeexporter/node_exporter.go:279:Start: start nodeExporter
2023-08-02T17:19:58.15654+08:00 INFO [886424,] caller=host/custom.go:103:Start: start customInput plugin
2023-08-02T17:19:58.15656+08:00 INFO [886424,] caller=engine/pipeline.go:69:func2: processInput started
2023-08-02T17:19:58.1566+08:00 INFO [886424,5d184ed1ed8112b0] caller=engine/config_manager.go:204:handleConfigEvent: handle pipeline event compeleted fields:, module=monitor.node.host, duration=10.641385ms
2023-08-02T17:19:58.15661+08:00 INFO [886424,5d184ed1ed8112b0] caller=engine/config_manager.go:107:schedule: module config event handle compeleted fields:, module=monitor.node.host, eventType=add, duration=10.688933ms
2023-08-02T17:19:58.15663+08:00 INFO [886424,5d184ed1ed8112b0] caller=engine/pipeline_module_callback.go:37:addPipeline: add pipeline module config result status: succeed, description:  fields: duration=10.767518ms, module=monitor.node.host
2023-08-02T17:19:58.15664+08:00 INFO [886424,5d184ed1ed8112b0] caller=engine/pipeline_module_callback.go:124:func1: add pipeline module config monitor.node.host successfully.
2023-08-02T17:19:58.15905+08:00 WARN [886424,5d184ed1ed8112b0] caller=engine/pipeline_module_callback.go:117:InitPipelineModuleCallback: pipeline module config monitor.ob is inactive or invalid, just skip
2023-08-02T17:19:58.15947+08:00 WARN [886424,5d184ed1ed8112b0] caller=engine/pipeline_module_callback.go:117:InitPipelineModuleCallback: pipeline module config ob.custom is inactive or invalid, just skip
2023-08-02T17:19:58.15987+08:00 INFO [886424,] caller=config/config_version.go:34:SetConfigMetaModuleConfigNotify: receive version backup conf: {MaxBackups:30}
2023-08-02T17:19:58.16003+08:00 INFO [886424,5d184ed1ed8112b0] caller=engine/pipeline_module_callback.go:31:addPipeline: add pipeline module config event fields: module=monitor.mysql, duration="14.814µs"
2023-08-02T17:19:58.16009+08:00 INFO [886424,5d184ed1ed8112b0] caller=runtime/asm_amd64.s:1598:goexit: receive module config fields: module=monitor.mysql, eventType=add, duration="6.706µs"
2023-08-02T17:19:58.16018+08:00 INFO [886424,] caller=mysql/mysqld.go:114:Init: table input init with config&{root:passw0rd@(127.0.0.1:3306)/ map[] 0s}
2023-08-02T17:19:58.1603+08:00 INFO [886424,] caller=retag/retag.go:59:Init: init retagProcessor with config: &{RenameTags:map[] CopyTags:map[] NewTags:map[app:MYSQL svr_ip:127.0.0.1]}
2023-08-02T17:19:58.16036+08:00 INFO [886424,] caller=prometheus/prometheus.go:68:Init: prometheus exporter config: &{FormatType:fmtText ExposeUrl:/metrics/mysql WithTimestamp:false}
2023-08-02T17:19:58.16039+08:00 INFO [886424,5d184ed1ed8112b0] caller=engine/config_manager.go:192:handleConfigEvent: pipeline event is created fields: module=monitor.mysql, duration="265.347µs"
2023-08-02T17:19:58.16043+08:00 INFO [886424,5d184ed1ed8112b0] caller=engine/pipeline_manager.go:148:handleEvent: receive pipelie event fields: duration="14.956µs", module=monitor.mysql, eventType=add
2023-08-02T17:19:58.16046+08:00 INFO [886424,5d184ed1ed8112b0] caller=engine/pipeline_manager.go:199:func1: start pipeline mysql_info
2023-08-02T17:19:58.16049+08:00 INFO [886424,5d184ed1ed8112b0] caller=engine/pipeline_manager.go:193:handleEvent: pipeline event handle completed fields:, module=monitor.mysql, eventType=add, duration="66.822µs"
2023-08-02T17:19:58.16052+08:00 INFO [886424,] caller=runtime/asm_amd64.s:1598:goexit: check config version backups once.
2023-08-02T17:19:58.16062+08:00 INFO [886424,] caller=config/config_version.go:86:checkConfigVersionBackups: read config from path /home/admin/dbagent/conf, files length 11
2023-08-02T17:19:58.16065+08:00 INFO [886424,] caller=config/config_version.go:102:checkConfigVersionBackups: config stay count:30, config version count:0, no need to rotate.
2023-08-02T17:19:58.16096+08:00 INFO [886424,] caller=mysql/mysqld.go:141:Start: start tableInput plugin
2023-08-02T17:19:58.16102+08:00 INFO [886424,5d184ed1ed8112b0] caller=engine/config_manager.go:204:handleConfigEvent: handle pipeline event compeleted fields:, module=monitor.mysql, duration="897.977µs"
2023-08-02T17:19:58.16105+08:00 INFO [886424,5d184ed1ed8112b0] caller=engine/config_manager.go:107:schedule: module config event handle compeleted fields:, module=monitor.mysql, eventType=add, duration="967.944µs"
2023-08-02T17:19:58.16107+08:00 INFO [886424,5d184ed1ed8112b0] caller=engine/pipeline_module_callback.go:37:addPipeline: add pipeline module config result status: succeed, description:  fields: module=monitor.mysql, duration=1.057939ms
2023-08-02T17:19:58.16109+08:00 INFO [886424,5d184ed1ed8112b0] caller=engine/pipeline_module_callback.go:124:func1: add pipeline module config monitor.mysql successfully.
2023-08-02T17:19:58.16146+08:00 INFO [886424,] caller=monagent/monagent_route.go:73:RegisterPipelineRoute: register route /metrics/node/host
2023-08-02T17:19:58.16149+08:00 INFO [886424,] caller=monagent/monagent_route.go:73:RegisterPipelineRoute: register route /metrics/node/host
2023-08-02T17:19:58.16151+08:00 INFO [886424,] caller=monagent/monagent_route.go:73:RegisterPipelineRoute: register route /metrics/mysql
2023-08-02T17:19:58.16153+08:00 INFO [886424,] caller=monagent/monagent_route.go:73:RegisterPipelineRoute: register route /metrics/mysql
2023-08-02T17:19:59.08875+08:00 INFO [886424,] caller=shell/exec.go:87:execute: execute shell command start, command=Command{user=admin, program=sh, outputType=std, cmd=netstat -tunlp 2>/dev/null | { grep '886424/' || true; }, timeout=10s} fields:, duratio
2023-08-02T17:19:59.0971+08:00 INFO [886424,] caller=shell/exec.go:126:execute: execute shell command end, command=Command{user=admin, program=sh, outputType=std, cmd=netstat -tunlp 2>/dev/null | { grep '886424/' || true; }, timeout=10s} fields:, duration=

2023-08-02T17:58:09.63956+08:00 INFO [886424,e8aaa69d15f42fc0] caller=common/middleware.go:59:func1: API request: [GET /metrics/mysql, client=127.0.0.1, ocpServerIp=, traceId=e8aaa69d15f42fc0, body=]

chrome F12 shows that

Signed exchange response without "X-Content-Type-Options: nosniff" header is not supported.
Unsupported version of the content type. Currently content type must be "application/signed-exchange;v=b3". But the response content type was "text/html"
Wrong magic string
Stream ended while reading signed exchange header.

Environment

  • OS Version and CPU Arch(uname -a):

Arch Linux、

Linux dionysus 6.4.6-arch1-1 #1 SMP PREEMPT_DYNAMIC Mon, 24 Jul 2023 20:19:38 +0000 x86_64 GNU/Linux

  • Component Version:
    latest

[Bug]: Too many table not exist

Check Before Asking

  • Please check the issue list and confirm this bug is encountered for the first time.
  • Please try full text in English and attach precise description.

Environment

oceanbase version: 3.2.4.3
obagent version: 1.2.1

oceanbase deployed on alibaba cloud

Fast Reproduce Steps

This is error log

2023-05-11T10:35:15.3929+08:00 WARN [6972,] caller=mysql/table_input.go:205:collectData: failed to do collect with sql:select /*+ MONITOR_AGENT READ_CONSISTENCY(WEAK) */ tenant_name, t
enant_id, `latch#` as latch_no, name, gets, misses, sleeps, immediate_gets, immediate_misses, spin_gets, wait_time / 1000000 as wait_time from v$latch, __all_tenant where __all_tenant.
tenant_id = v$latch.con_id[] Error 1146: Table 'oceanbase.__all_tenant' doesn't exist
2023-05-11T10:35:15.45058+08:00 WARN [6972,] caller=mysql/table_input.go:205:collectData: failed to do collect with sql:select /*+ MONITOR_AGENT READ_CONSISTENCY(WEAK) */ with_rootserv
er from __all_server where svr_ip = ? and svr_port = ?[obmth7feddhta5m0-mi.oceanbase.aliyuncs.com 2882] Error 1146: Table 'oceanbase.__all_server' doesn't exist
2023-05-11T10:35:15.45139+08:00 WARN [6972,] caller=mysql/table_input.go:205:collectData: failed to do collect with sql:select /*+ MONITOR_AGENT READ_CONSISTENCY(WEAK) */ cpu_total,cpu
_assigned,mem_total,mem_assigned,disk_total,disk_assigned,unit_num,migrating_unit_num,cpu_assigned_percent, mem_assigned_percent, disk_assigned_percent from __all_virtual_server_stat w
here svr_ip = ? and svr_port = ?[obmth7feddhta5m0-mi.oceanbase.aliyuncs.com 2882] Error 1146: Table 'oceanbase.__all_virtual_server_stat' doesn't exist
2023-05-11T10:35:15.45386+08:00 WARN [6972,] caller=mysql/table_input.go:205:collectData: failed to do collect with sql:select /*+ MONITOR_AGENT READ_CONSISTENCY(WEAK) */ __all_tenant.
tenant_name,  active, total, freeze_trigger, freeze_cnt from gv$memstore, __all_tenant  where gv$memstore.tenant_id = __all_tenant.tenant_id and ip = ? and port = ?[obmth7feddhta5m0-mi
.oceanbase.aliyuncs.com 2882] Error 1146: Table 'oceanbase.__all_tenant' doesn't exist
2023-05-11T10:35:15.45659+08:00 WARN [6972,] caller=mysql/table_input.go:205:collectData: failed to do collect with sql:select /*+ MONITOR_AGENT READ_CONSISTENCY(WEAK) */ tenant_name, 
__all_unit_config.name, max_cpu, min_cpu, max_memory, min_memory, max_iops, min_iops, max_disk_size, max_session_num from __all_tenant, __all_resource_pool, __all_unit_config, __all_un
it  where __all_tenant.tenant_id = __all_resource_pool.tenant_id and __all_resource_pool.unit_config_id = __all_unit_config.unit_config_id and __all_unit.resource_pool_id = __all_resou
rce_pool.resource_pool_id and __all_unit.svr_ip = ? and __all_unit.svr_port = ?[obmth7feddhta5m0-mi.oceanbase.aliyuncs.com 2882] Error 1146: Table 'oceanbase.__all_tenant' doesn't exis
t
2023-05-11T10:35:15.4638+08:00 WARN [6972,] caller=mysql/table_input.go:205:collectData: failed to do collect with sql:select /*+ MONITOR_AGENT READ_CONSISTENCY(WEAK) */ sum(hold) as h
old, sum(used) as used from __all_virtual_memory_info where tenant_id = 500 and svr_ip = ? and svr_port = ?[obmth7feddhta5m0-mi.oceanbase.aliyuncs.com 2882] Error 1146: Table 'oceanbas
e.__all_virtual_memory_info' doesn't exist
2023-05-11T10:38:22.22014+08:00 WARN [6972,] caller=mysql/table_input.go:205:collectData: failed to do collect with sql:select /*+ MONITOR_AGENT READ_CONSISTENCY(WEAK) */ cpu_total,cpu
_assigned,mem_total,mem_assigned,disk_total,disk_assigned,unit_num,migrating_unit_num,cpu_assigned_percent, mem_assigned_percent, disk_assigned_percent from __all_virtual_server_stat w
here svr_ip = ? and svr_port = ?[obmth7feddhta5m0-mi.oceanbase.aliyuncs.com 2882] Error 1146: Table 'oceanbase.__all_virtual_server_stat' doesn't exist
2023-05-11T10:38:22.2371+08:00 WARN [6972,] caller=mysql/table_input.go:205:collectData: failed to do collect with sql:select /*+ MONITOR_AGENT READ_CONSISTENCY(WEAK) */ tenant_name, _
_all_unit_config.name, max_cpu, min_cpu, max_memory, min_memory, max_iops, min_iops, max_disk_size, max_session_num from __all_tenant, __all_resource_pool, __all_unit_config, __all_uni
t  where __all_tenant.tenant_id = __all_resource_pool.tenant_id and __all_resource_pool.unit_config_id = __all_unit_config.unit_config_id and __all_unit.resource_pool_id = __all_resour
ce_pool.resource_pool_id and __all_unit.svr_ip = ? and __all_unit.svr_port = ?[obmth7feddhta5m0-mi.oceanbase.aliyuncs.com 2882] Error 1146: Table 'oceanbase.__all_tenant' doesn't exist
2023-05-11T10:38:22.23963+08:00 WARN [6972,] caller=mysql/table_input.go:205:collectData: failed to do collect with sql:select /*+ MONITOR_AGENT READ_CONSISTENCY(WEAK) */ with_rootserv
er from __all_server where svr_ip = ? and svr_port = ?[obmth7feddhta5m0-mi.oceanbase.aliyuncs.com 2882] Error 1146: Table 'oceanbase.__all_server' doesn't exist
2023-05-11T10:38:22.24402+08:00 WARN [6972,] caller=mysql/table_input.go:205:collectData: failed to do collect with sql:select /*+ MONITOR_AGENT READ_CONSISTENCY(WEAK) */ sum(hold) as 
hold, sum(used) as used from __all_virtual_memory_info where tenant_id = 500 and svr_ip = ? and svr_port = ?[obmth7feddhta5m0-mi.oceanbase.aliyuncs.com 2882] Error 1146: Table 'oceanba
se.__all_virtual_memory_info' doesn't exist
2023-05-11T10:38:22.25021+08:00 WARN [6972,] caller=mysql/table_input.go:205:collectData: failed to do collect with sql:select /*+ MONITOR_AGENT READ_CONSISTENCY(WEAK) */ tenant_name, 
tenant_id, `latch#` as latch_no, name, gets, misses, sleeps, immediate_gets, immediate_misses, spin_gets, wait_time / 1000000 as wait_time from v$latch, __all_tenant where __all_tenant
.tenant_id = v$latch.con_id[] Error 1146: Table 'oceanbase.__all_tenant' doesn't exist
2023-05-11T10:38:22.26041+08:00 WARN [6972,] caller=mysql/table_input.go:205:collectData: failed to do collect with sql:select /*+ MONITOR_AGENT READ_CONSISTENCY(WEAK) */ __all_tenant.
tenant_name,  active, total, freeze_trigger, freeze_cnt from gv$memstore, __all_tenant  where gv$memstore.tenant_id = __all_tenant.tenant_id and ip = ? and port = ?[obmth7feddhta5m0-mi
.oceanbase.aliyuncs.com 2882] Error 1146: Table 'oceanbase.__all_tenant' doesn't exist
2023-05-11T10:38:31.83184+08:00 WARN [6972,] caller=mysql/table_input.go:205:collectData: failed to do collect with sql:select /*+ MONITOR_AGENT READ_CONSISTENCY(WEAK) */ tenant_name, 
tenant_id, `latch#` as latch_no, name, gets, misses, sleeps, immediate_gets, immediate_misses, spin_gets, wait_time / 1000000 as wait_time from v$latch, __all_tenant where __all_tenant
.tenant_id = v$latch.con_id[] Error 1146: Table 'oceanbase.__all_tenant' doesn't exist
2023-05-11T10:38:31.84445+08:00 WARN [6972,] caller=mysql/table_input.go:205:collectData: failed to do collect with sql:select /*+ MONITOR_AGENT READ_CONSISTENCY(WEAK) */ __all_tenant.
tenant_name,  active, total, freeze_trigger, freeze_cnt from gv$memstore, __all_tenant  where gv$memstore.tenant_id = __all_tenant.tenant_id and ip = ? and port = ?[obmth7feddhta5m0-mi
.oceanbase.aliyuncs.com 2882] Error 1146: Table 'oceanbase.__all_tenant' doesn't exist
2023-05-11T10:38:31.88465+08:00 WARN [6972,] caller=mysql/table_input.go:205:collectData: failed to do collect with sql:select /*+ MONITOR_AGENT READ_CONSISTENCY(WEAK) */ tenant_name, 
__all_unit_config.name, max_cpu, min_cpu, max_memory, min_memory, max_iops, min_iops, max_disk_size, max_session_num from __all_tenant, __all_resource_pool, __all_unit_config, __all_un
it  where __all_tenant.tenant_id = __all_resource_pool.tenant_id and __all_resource_pool.unit_config_id = __all_unit_config.unit_config_id and __all_unit.resource_pool_id = __all_resou
rce_pool.resource_pool_id and __all_unit.svr_ip = ? and __all_unit.svr_port = ?[obmth7feddhta5m0-mi.oceanbase.aliyuncs.com 2882] Error 1146: Table 'oceanbase.__all_tenant' doesn't exis
t
2023-05-11T10:38:31.90062+08:00 WARN [6972,] caller=mysql/table_input.go:205:collectData: failed to do collect with sql:select /*+ MONITOR_AGENT READ_CONSISTENCY(WEAK) */ with_rootserv
er from __all_server where svr_ip = ? and svr_port = ?[obmth7feddhta5m0-mi.oceanbase.aliyuncs.com 2882] Error 1146: Table 'oceanbase.__all_server' doesn't exist
2023-05-11T10:38:31.90349+08:00 WARN [6972,] caller=mysql/table_input.go:205:collectData: failed to do collect with sql:select /*+ MONITOR_AGENT READ_CONSISTENCY(WEAK) */ sum(hold) as 
hold, sum(used) as used from __all_virtual_memory_info where tenant_id = 500 and svr_ip = ? and svr_port = ?[obmth7feddhta5m0-mi.oceanbase.aliyuncs.com 2882] Error 1146: Table 'oceanba
se.__all_virtual_memory_info' doesn't exist
2023-05-11T10:44:32.40479+08:00 WARN [6972,] caller=mysql/table_input.go:205:collectData: failed to do collect with sql:select /*+ MONITOR_AGENT READ_CONSISTENCY(WEAK) */ __all_tenant.
tenant_name as tenant_name, cast(v_acc_response_time.response_time / 1000000 as float) as response_time_seconds,  v_acc_response_time.count as bucket, case when  v_acc_response_time.re
sponse_time = (select max(response_time) from __all_virtual_query_response_time) then v_acc_response_time.count else null end as count, case when  v_acc_response_time.response_time = (
select max(response_time) from __all_virtual_query_response_time) then cast(v_acc_response_time.sum / 1000000 as float) else null end as sum from (select b.tenant_id, b.response_time  
as response_time, sum(a.count) as count, sum(a.total) as sum from  __all_virtual_query_response_time a,  __all_virtual_query_response_time b where a.response_time <= b.response_time an
d a.svr_ip = b.svr_ip and a.svr_port = b.svr_port and b.svr_ip = ? and b.svr_port = ? group by b.tenant_id, b.response_time) v_acc_response_time,  __all_tenant where v_acc_response_tim
e.tenant_id = __all_tenant.tenant_id;[obmth7feddhta5m0-mi.oceanbase.aliyuncs.com 2882] Error 1146: Table 'oceanbase.__all_virtual_query_response_time' doesn't exist
2023-05-11T10:44:32.45204+08:00 WARN [6972,] caller=mysql/table_input.go:205:collectData: failed to do collect with sql:select /*+ MONITOR_AGENT READ_CONSISTENCY(WEAK) */ tenant_name, 
mem_used, access_count, hit_count from V$OB_PLAN_CACHE_STAT join __all_tenant on V$OB_PLAN_CACHE_STAT.tenant_id = __all_tenant.tenant_id group by tenant_name[] Error 1146: Table 'ocean
base.v$ob_plan_cache_stat' doesn't exist
2023-05-11T10:44:32.45326+08:00 WARN [6972,] caller=mysql/table_input.go:205:collectData: failed to do collect with sql:select /*+ MONITOR_AGENT READ_CONSISTENCY(WEAK) */ group_concat(
svr_ip SEPARATOR ',') as servers, status, count(1) as cnt from __all_server group by status[] Error 1146: Table 'oceanbase.__all_server' doesn't exist
2023-05-11T10:44:32.45972+08:00 WARN [6972,] caller=mysql/table_input.go:205:collectData: failed to do collect with sql:select /*+ MONITOR_AGENT READ_CONSISTENCY(WEAK) */ tenant_name, 
sum(total_waits) as total_waits, sum(time_waited_micro) / 1000000 as time_waited from v$system_event join __all_tenant on v$system_event.con_id = __all_tenant.tenant_id where v$system_
event.wait_class <> 'IDLE' group by tenant_name[] Error 1146: Table 'oceanbase.__all_tenant' doesn't exist
2023-05-11T10:44:32.4601+08:00 WARN [6972,] caller=mysql/table_input.go:205:collectData: failed to do collect with sql:select  /*+ MONITOR_AGENT READ_CONSISTENCY(WEAK) */ case when cnt
 is null then 0 else cnt end as cnt, tenant_name from (select __all_tenant.tenant_name, cnt from __all_tenant left join (select count(*) as cnt, tenant as tenant_name from __all_virtua
l_processlist where svr_ip = ? and svr_port = ? group by tenant) t1 on __all_tenant.tenant_name = t1.tenant_name) t2[obmth7feddhta5m0-mi.oceanbase.aliyuncs.com 2882] Error 1146: Table 
'oceanbase.__all_tenant' doesn't exist
2023-05-11T10:44:32.46096+08:00 WARN [6972,] caller=mysql/table_input.go:205:collectData: failed to do collect with sql:select /*+ MONITOR_AGENT READ_CONSISTENCY(WEAK) */ zone, name, v
alue, time_to_usec(now()) as current from __all_zone[] Error 1146: Table 'oceanbase.__all_zone' doesn't exist
2023-05-11T10:44:32.46162+08:00 WARN [6972,] caller=mysql/table_input.go:205:collectData: failed to do collect with sql:select /*+ MONITOR_AGENT READ_CONSISTENCY(WEAK) */ tenant_name, 
mem_used, access_count, hit_count from v$plan_cache_stat join __all_tenant on v$plan_cache_stat.tenant_id = __all_tenant.tenant_id group by tenant_name[] Error 1146: Table 'oceanbase._
_all_tenant' doesn't exist
2023-05-11T10:44:32.46243+08:00 WARN [6972,] caller=mysql/table_input.go:205:collectData: failed to do collect with sql:select /*+ MONITOR_AGENT READ_CONSISTENCY(WEAK) */ with_rootserv
er from __all_server where svr_ip = ? and svr_port = ?[obmth7feddhta5m0-mi.oceanbase.aliyuncs.com 2882] Error 1146: Table 'oceanbase.__all_server' doesn't exist
2023-05-11T10:44:32.471+08:00 WARN [6972,] caller=mysql/table_input.go:205:collectData: failed to do collect with sql:select /*+ MONITOR_AGENT READ_CONSISTENCY(WEAK) */ tenant_name, ca
che_name, cache_size from __all_virtual_kvcache_info, __all_tenant where __all_tenant.tenant_id = __all_virtual_kvcache_info.tenant_id and svr_ip = ? and svr_port = ?[obmth7feddhta5m0-
mi.oceanbase.aliyuncs.com 2882] Error 1146: Table 'oceanbase.__all_virtual_kvcache_info' doesn't exist
2023-05-11T10:44:32.47737+08:00 WARN [6972,] caller=mysql/table_input.go:205:collectData: failed to do collect with sql:select /*+ MONITOR_AGENT READ_CONSISTENCY(WEAK) */ tenant_name, 
tenant_id, stat_id, value from v$sysstat, __all_tenant where stat_id IN (10000, 10001, 10002, 10003, 10005, 10006, 140002, 140003, 140005, 140006, 60019, 60020, 60024, 80040, 80041, 13
0000, 130001, 130002, 130004, 20001, 20002, 30000, 30001, 30002, 30005, 30006, 40000, 40001, 40002, 40003, 40004, 40005, 40006, 40007, 40008, 40009, 40010, 40011, 40012, 50000, 50001, 
50008, 50009, 60000, 60001, 60002, 60003, 60004, 60005, 60019, 60020, 60021, 60022, 60023, 60024, 80057) and (con_id > 1000 or con_id = 1) and __all_tenant.tenant_id = v$sysstat.con_id
 and class < 1000[] Error 1146: Table 'oceanbase.__all_tenant' doesn't exist
2023-05-11T10:50:27.76742+08:00 WARN [6972,] caller=mysql/table_input.go:205:collectData: failed to do collect with sql:select /*+ MONITOR_AGENT READ_CONSISTENCY(WEAK) */ __all_tenant.
tenant_name as tenant_name, cast(v_acc_response_time.response_time / 1000000 as float) as response_time_seconds,  v_acc_response_time.count as bucket, case when  v_acc_response_time.re
sponse_time = (select max(response_time) from __all_virtual_query_response_time) then v_acc_response_time.count else null end as count, case when  v_acc_response_time.response_time = (
select max(response_time) from __all_virtual_query_response_time) then cast(v_acc_response_time.sum / 1000000 as float) else null end as sum from (select b.tenant_id, b.response_time  
as response_time, sum(a.count) as count, sum(a.total) as sum from  __all_virtual_query_response_time a,  __all_virtual_query_response_time b where a.response_time <= b.response_time an
d a.svr_ip = b.svr_ip and a.svr_port = b.svr_port and b.svr_ip = ? and b.svr_port = ? group by b.tenant_id, b.response_time) v_acc_response_time,  __all_tenant where v_acc_response_tim
e.tenant_id = __all_tenant.tenant_id;[obmth7feddhta5m0-mi.oceanbase.aliyuncs.com 2882] Error 1146: Table 'oceanbase.__all_virtual_query_response_time' doesn't exist
2023-05-11T10:50:27.7691+08:00 WARN [6972,] caller=mysql/table_input.go:205:collectData: failed to do collect with sql:select /*+ MONITOR_AGENT READ_CONSISTENCY(WEAK) */ with_rootserve
r from __all_server where svr_ip = ? and svr_port = ?[obmth7feddhta5m0-mi.oceanbase.aliyuncs.com 2882] Error 1146: Table 'oceanbase.__all_server' doesn't exist
2023-05-11T10:50:27.81934+08:00 WARN [6972,] caller=mysql/table_input.go:205:collectData: failed to do collect with sql:select /*+ MONITOR_AGENT READ_CONSISTENCY(WEAK) */ zone, name, v
alue, time_to_usec(now()) as current from __all_zone[] Error 1146: Table 'oceanbase.__all_zone' doesn't exist
2023-05-11T10:50:27.82431+08:00 WARN [6972,] caller=mysql/table_input.go:205:collectData: failed to do collect with sql:select /*+ MONITOR_AGENT READ_CONSISTENCY(WEAK) */ group_concat(
svr_ip SEPARATOR ',') as servers, status, count(1) as cnt from __all_server group by status[] Error 1146: Table 'oceanbase.__all_server' doesn't exist
2023-05-11T10:50:27.82517+08:00 WARN [6972,] caller=mysql/table_input.go:205:collectData: failed to do collect with sql:select /*+ MONITOR_AGENT READ_CONSISTENCY(WEAK) */ tenant_name, 
tenant_id, stat_id, value from v$sysstat, __all_tenant where stat_id IN (10000, 10001, 10002, 10003, 10005, 10006, 140002, 140003, 140005, 140006, 60019, 60020, 60024, 80040, 80041, 13
0000, 130001, 130002, 130004, 20001, 20002, 30000, 30001, 30002, 30005, 30006, 40000, 40001, 40002, 40003, 40004, 40005, 40006, 40007, 40008, 40009, 40010, 40011, 40012, 50000, 50001, 
50008, 50009, 60000, 60001, 60002, 60003, 60004, 60005, 60019, 60020, 60021, 60022, 60023, 60024, 80057) and (con_id > 1000 or con_id = 1) and __all_tenant.tenant_id = v$sysstat.con_id
 and class < 1000[] Error 1146: Table 'oceanbase.__all_tenant' doesn't exist
2023-05-11T10:50:27.82793+08:00 WARN [6972,] caller=mysql/table_input.go:205:collectData: failed to do collect with sql:select  /*+ MONITOR_AGENT READ_CONSISTENCY(WEAK) */ case when cn
t is null then 0 else cnt end as cnt, tenant_name from (select __all_tenant.tenant_name, cnt from __all_tenant left join (select count(*) as cnt, tenant as tenant_name from __all_virtu
al_processlist where svr_ip = ? and svr_port = ? group by tenant) t1 on __all_tenant.tenant_name = t1.tenant_name) t2[obmth7feddhta5m0-mi.oceanbase.aliyuncs.com 2882] Error 1146: Table
 'oceanbase.__all_tenant' doesn't exist
2023-05-11T10:50:27.83175+08:00 WARN [6972,] caller=mysql/table_input.go:205:collectData: failed to do collect with sql:select /*+ MONITOR_AGENT READ_CONSISTENCY(WEAK) */ tenant_name, 
mem_used, access_count, hit_count from V$OB_PLAN_CACHE_STAT join __all_tenant on V$OB_PLAN_CACHE_STAT.tenant_id = __all_tenant.tenant_id group by tenant_name[] Error 1146: Table 'ocean
base.v$ob_plan_cache_stat' doesn't exist
2023-05-11T10:50:27.83738+08:00 WARN [6972,] caller=mysql/table_input.go:205:collectData: failed to do collect with sql:select /*+ MONITOR_AGENT READ_CONSISTENCY(WEAK) */ tenant_name, 
cache_name, cache_size from __all_virtual_kvcache_info, __all_tenant where __all_tenant.tenant_id = __all_virtual_kvcache_info.tenant_id and svr_ip = ? and svr_port = ?[obmth7feddhta5m
0-mi.oceanbase.aliyuncs.com 2882] Error 1146: Table 'oceanbase.__all_virtual_kvcache_info' doesn't exist
2023-05-11T10:50:27.8375+08:00 WARN [6972,] caller=mysql/table_input.go:205:collectData: failed to do collect with sql:select /*+ MONITOR_AGENT READ_CONSISTENCY(WEAK) */ tenant_name, m
em_used, access_count, hit_count from v$plan_cache_stat join __all_tenant on v$plan_cache_stat.tenant_id = __all_tenant.tenant_id group by tenant_name[] Error 1146: Table 'oceanbase.__
all_tenant' doesn't exist
2023-05-11T10:50:27.8383+08:00 WARN [6972,] caller=mysql/table_input.go:205:collectData: failed to do collect with sql:select /*+ MONITOR_AGENT READ_CONSISTENCY(WEAK) */ tenant_name, s
um(total_waits) as total_waits, sum(time_waited_micro) / 1000000 as time_waited from v$system_event join __all_tenant on v$system_event.con_id = __all_tenant.tenant_id where v$system_e
vent.wait_class <> 'IDLE' group by tenant_name[] Error 1146: Table 'oceanbase.__all_tenant' doesn't exist

This is oceanbase table list

image

This is monagent pipeline yaml

configVersion: "2021-08-20T07:52:28.5443+08:00"
configs:
  - key: monagent.mysql.monitor.user
    value: root
    valueType: string
  - key: monagent.mysql.monitor.password
    value: MySQL@123
    valueType: string
    encrypted: true
  - key: monagent.mysql.sql.port
    value: 3306
    valueType: int64
  - key: monagent.mysql.host
    value: 192.168.21.120
    valueType: string
  - key: monagent.ob.monitor.user
    value: root
    valueType: string
  - key: monagent.ob.monitor.password
    value: 123456
    valueType: string
    encrypted: true
  - key: monagent.ob.sql.port
    value: 3306
    valueType: int64
  - key: monagent.ob.rpc.port
    value: 2882
    valueType: int64
  - key: monagent.ob.install.path
    value: ori_path
    valueType: string
  - key: monagent.host.ip
    value: 192.168.21.120
    valueType: string
  - key: monagent.ob.cluster.name
    value: cluster
    valueType: string
  - key: monagent.ob.cluster.id
    value: 123
    valueType: int64
  - key: monagent.ob.zone.name
    value: zone
    valueType: string
  - key: monagent.pipeline.ob.status
    value: active
    valueType: string
  - key: monagent.pipeline.ob.log.status
    value: inactive
    valueType: string
  - key: monagent.pipeline.node.status
    value: inactive
    valueType: string
  - key: monagent.alertmanager.address
    value: temp
    valueType: string
  - key: monagent.pipeline.mysql.status
    value: active
    valueType: string

I don't modify the file monitor_ob.yaml , just

build it and run it

go build .
./bin/monagent

Actual Behavior

table not exist

Expected Behavior

Enhanced adaptation to different versions of the table

Other Information

No response

[Feat.]: support automatically star after machine reboot

Check Before Asking

  • Please check the issue list and confirm this feature is encountered for the first time.
  • Please try full text in English and attach precise description.

Description

support automatically star after machine reboot.

Other Information

No response

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.