Commit Graph
47 Commits
Author SHA1 Message Date
vinciandtomsun28 48e2ac0522 [Improve] migrate to apache(#1724)
Signed-off-by: tomsun28 <tomsun28@outlook.com>
Co-authored-by: tomsun28 <tomsun28@outlook.com>
2024-04-09 22:36:54 +08:00
tomsun28and花城 a53c748ee3 remove mysql-oracle dependency jar from release package lib (#1680)
Signed-off-by: tomsun28 <tomsun28@outlook.com>
Co-authored-by: 花城 <71161318+wang1027-wqh@users.noreply.github.com>
2024-03-22 17:12:52 +08:00
9dbbfb7812 upgrade springboot 3.0 and java 17 (#1620)
Signed-off-by: tomsun28 <tomsun28@outlook.com>
Co-authored-by: Logic <zqr10159@dromara.org>
Co-authored-by: songyinyin <song_yinyin@163.com>
2024-03-06 20:04:25 +08:00
Calvinandtomsun28 2a8e07fc79 Feature: http_sd monitor (#1618)
Co-authored-by: tomsun28 <tomsun28@outlook.com>
2024-03-06 16:53:49 +08:00
Calvinandzhengqiwei 960a242d93 #1397 feature: support for dns monitoring (#1416)
Co-authored-by: zhengqiwei <zhengqiwei@wxchina.com>
2023-12-10 22:54:17 +08:00
tomsun28 f5708993c7 build hertzbeat package with jdk runtime (#1328) 2023-11-10 21:59:45 +08:00
Ceilzcx 82928b1192 netty as an independent module, add new feature about collector list (#1244) 2023-09-14 17:22:03 +08:00
tomsun28 b081e39c9a bugfix fix found 2 dataQueue bean when not config common.queue param (#1205) 2023-08-25 14:36:51 +08:00
tomsun28 e6d9f61925 config default system timezone and fix monitor status auto recover (#1187) 2023-08-18 15:38:29 +08:00
tomsun28andCeilzcx 527578b276 support hertzbeat metrics collector cluster (#1101)
Co-authored-by: Ceilzcx <1758619238@qq.com>
2023-08-02 16:01:43 +08:00
tomsun28 35655bdd2e support run sql script file in jdbc protocol config (#1117) 2023-07-27 17:02:05 +08:00
tomsun28 1bab25440c support collector run as an independent process (#1060) 2023-07-03 10:30:23 +08:00
Ceilzcx 42ac9cb2dc support monitoring apache rocketmq metrics (#1046) 2023-06-28 14:54:38 +08:00
zqr10159 bb064ee732 [manager] import and export by excel (#891)
[manager]export by excel via `ExcelImExportServiceImpl.java`

  [manager]import by excel via `ExcelImExportServiceImpl.java`

  [manager]fix log level and static method.

  Update pom.xml

Signed-off-by: zqr10159 <zqr10159@126.com>

---------

Signed-off-by: zqr10159 <zqr10159@126.com>
2023-04-18 15:06:42 +08:00
sunqinbo fe3e89a219 refactor module name, optimize pom dependency management (#888)
模块优 命名,优 pom依赖管理

  优 pom依赖管理

  恢复模块目录名;修改pom坐标名加前缀 hertzbeat-,如原 alerter ,修改后:hertzbeat-alerter

  Update pom.xml
2023-04-17 11:45:02 +08:00
cee4fb0814 [feature]change the package name (#825)
change the package name to org.dromara.hertzbeat from com.usthe

  [doc] update domain

  change the package name to org.dromara.hertzbeat from com.usthe

  change the package name to org.dromara.hertzbeat from com.usthe

  change the package name to org.dromara.hertzbeat from com.usthe

  change the package name to org.dromara.hertzbeat from com.usthe

  catch aviator CompileExpressionErrorException ExpressionRuntimeException

  update favicon

  [script] update github workflow, add pr template (#819)

  [script]update github workflow, add pr template

  [script]update github workflow

  [script]update github workflow

  update

  update

---------

Co-authored-by: hudongdong <hudongdong9406@zto.com>
Co-authored-by: tomsun28 <tomsun28@outlook.com>
2023-03-31 23:35:57 +08:00
tomsun28 d07136177f constraint common dependencies version (#800)
constraint common dependencies version

  constraint common dependencies version
2023-03-27 23:36:20 +08:00
浮游andtomsun28 ec777dc939 update org.apache.kafka:kafka-clients 3.0.0 to 3.4.0 (#687)
Co-authored-by: tomsun28 <tomsun28@outlook.com>
2023-03-05 11:03:57 +08:00
蔡本祥 f88388396f [collector]Bugfix: EdDSA provider not supported (#659)
当使用如下自定义配置时,Collector日志报出 EdDSA provider not supporte 错误,导致采集失败。
metrics:
  - name: storage
    priority: 0
    fields:
      - field:  total_storage 
        type: 0
        unit: 'MB'
      - field:  data_used 
        type: 0
        unit: 'MB'
      - field:  log_uesd 
        type: 0
        unit: 'MB'
      - field:  usage 
        type: 0
        unit: '%'
    aliasFields:
      - total
      - used
      - pgdata
      - pglog
    calculates:
      - total_storage=total
      - data_used=pgdata-pglog
      - log_uesd=pglog
      - usage=(used   total)   100
    protocol: ssh
    ssh:
      host: ^_^host^_^
      port: ^_^port^_^
      username: ^_^username^_^
      password: ^_^password^_^
      timeout: ^_^timeout^_^
      script: kubectl --token='^_^token^_^' --server= https:  10.96.0.1  --insecure-skip-tls-verify exec -it deploy ^_^deployment^_^ -n ^_^namespace^_^ -- df -Tm | grep overlay | awk '{print $3}';kubectl --token='^_^token^_^' --server= https:  10.96.0.1  --insecure-skip-tls-verify exec -it deploy ^_^deployment^_^ -n ^_^namespace^_^ -- df -Tm | grep overlay | awk '{print $4}';kubectl --token='^_^token^_^' --server= https:  10.96.0.1  --insecure-skip-tls-verify exec -it deploy ^_^deployment^_^ -n ^_^namespace^_^ -- du -d 1 -m  var lib postgresql data  | awk 'END {print}' | awk '{print $1}';kubectl --token='^_^token^_^' --server= https:  10.96.0.1  --insecure-skip-tls-verify exec -it deploy ^_^deployment^_^ -n ^_^namespace^_^ -- du -d 1 -m  var lib postgresql data log | awk 'END {print}' | awk '{print $1}'
      parseType: oneRow

操作系统信息:
[root@yizhanshi207 ~]# cat  etc os-release 
NAME= Red Hat Enterprise Linux Server 
VERSION= 7.9 (Maipo) 
ID= rhel 
ID_LIKE= fedora 
VARIANT= Server 
VARIANT_ID= server 
VERSION_ID= 7.9 
PRETTY_NAME= Red Hat Enterprise Linux Server 7.9 (Maipo) 
ANSI_COLOR= 0;31 
CPE_NAME= cpe: o:redhat:enterprise_linux:7.9:GA:server 
HOME_URL= https:  www.redhat.com  
BUG_REPORT_URL= https:  bugzilla.redhat.com  

REDHAT_BUGZILLA_PRODUCT= Red Hat Enterprise Linux 7 
REDHAT_BUGZILLA_PRODUCT_VERSION=7.9
REDHAT_SUPPORT_PRODUCT= Red Hat Enterprise Linux 
REDHAT_SUPPORT_PRODUCT_VERSION= 7.9
2023-02-21 13:34:42 +08:00
wjl110 e28305075e fix(sec): update org.postgresql:postgresql 42.4.1 to 42.5.1 (#602) 2023-01-24 22:51:46 +08:00
jerjjj 0c040c8c9b fix(sec): upgrade com.google.code.gson:gson to 2.8.9 (#598) 2023-01-23 10:03:07 +08:00
tomsun28 6aea7860e7 [home] support telegram alert notify help doc (#597)
[doc,warehouse] support telegram help doc and fix log error

  [home] support telegram alert notify help doc
2023-01-21 22:37:10 +08:00
Jerry 56ff070ca8 [manager,collector] add feature-clickhouse monitoring(#179) (#559) 2023-01-09 20:56:15 +08:00
liudonghua 594813de38 [hertzbeat] initial mongodb monitor support (#527)
initial mongodb support

  fix PMD UndefineMagicConstantRule Failure
2023-01-01 22:11:26 +08:00
zcx 47ddcab401 [hertzbeat] add Prometheus exporter metrics parser and IoTDB monitor (#505)
prometheus exporter metrics parser

  prometheus exporter metrics parser

  prometheus exporter metrics parser

  prometheus exporter metrics parser

  optimize ExporterParser.java

  optimize ExporterParser.java

  optimize ExporterParser.java

  handle INF parser

  添加iotdb的exporter方式监听

  [manager] iotdb monitor add cluster_node_status metric

  [manager] fix actuator mail health check error when startup

  [manager] use prometheus instead of prometheus_exporter

  [manager] add iotdb monitoring metrics

  [collector] add metric type - info, update parser

  [collector] update

  ExporterParser change to singleton mode

  add ExporterParser currentMetricFamily

  格式 优 代码, 使用map管理ExporterParser防止无限制创建对象, 使用锁机制反正多线程读写冲突

  修改注解格式

  格式 注解

  修改注解格式

  解决魔法数问题
2022-12-20 14:47:18 +08:00
cuipiheqiuqiu 782a0ae485 WIP:feature support k8s monitor, http monitor nacos, service&http_micro monitor msa (#421)
[collector] bugfix: Solve imprecise cyclicJob execution interval problem.
1.wheelTimer tickDuration from 10s changed to 1s,ticksPerWheel remain unchanged.
2.now support second level job interval.

  [manager] elasticsearch support ssl as an option

  [monitor]
1.K8sClient monitor k8s
2.http monitor nacos
3.service&http_micro monitor msa

  [collector]fix pmd problem
2022-11-13 16:31:11 +08:00
a09706adb2 [manager,collector] support dm database monitor (#410)
[manager] TagControllerTest Test class writing completed (#386)

  [collector] bugfix: Fixed expression:(A | B), A and B are null, print the error log (#387)

  [home] update constants.js jpom link (#388)

  [doc] update commit user (#389)

  [web-app] notice monitors.detail.time-series.unavailable (#390)

  [home] notice jvm code_cache only support jdk8 (#391)

  [home] support time-series db dependency iotdb deploy doc (#392)

  [home] support time-series db dependency iotdb deploy doc

  [warehouse] support iotdb connection available check when init

  [home] support time-series db dependency iotdb deploy doc

  [manager] add app service impl unit test (#393)

  [docs] update hertzbeat arch pic (#394)

  [home] update constants.js northstar (#395)

  [home] update constants.js sa-token url (#396)

  [docs] add hertzbeat roadmap  (#397)

  [docs] add roadmap

  Add @click33 as a contributor

  Add @bwcx-jzy as a contributor

  Add @kevinhuangwl as a contributor

  Add @TJxiaobao as a contributor

  Update @TJxiaobao as a contributor

  [docs] fix typo repair (#398)

Co-authored-by: 高兴存 <gxc01514416@alibaba-inc.com>

  DM DB monitoring

  Gradual improvement of DM monitoring

  [hertzbeat] update dm collect

Co-authored-by: zcx <48920254+Ceilzcx@users.noreply.github.com>
Co-authored-by: 蒋小小 <bwcx_jzy@163.com>
Co-authored-by: tomsun28 <tomsun28@outlook.com>
Co-authored-by: Kevin Huang <12959229@qq.com>
Co-authored-by: click33 <36243476+click33@users.noreply.github.com>
Co-authored-by: 高兴存 <gxc01514416@alibaba-inc.com>
2022-11-06 22:52:18 +08:00
tomsun28 486007d039 [collector] bugfix redis collect failed to create a child event loop (#344)
[collector] bugfix redis collect failed to create a child event loop

  [collector] reformat code
2022-10-15 20:44:59 +08:00
taorong 38960e321a [collector,manager] update mysql:mysql-connector-java 8.0.27 to 8.0.28 (#343) 2022-10-15 20:44:59 +08:00
zhoumengyks 92bfafa0b1 [collector] update org.postgresql:postgresql 42.3.3 to 42.4.1 (#340) 2022-10-15 20:44:59 +08:00
tomsun28 aab15a0de4 [common] optimize common aviator configuration (#327) 2022-10-06 15:38:36 +08:00
tomsun28 92a1e677b8 [hertzbeat] refactor common collect metrics data and alert data queue (#320)
[hertzbeat] refactor alert data queue

  [hertzbeat] refactor collect metrics data queue
2022-10-02 15:03:11 +08:00
PrivautoandPrivauto 787caae46e [monitor] change main pom artifactId (#300)
[alerter] bugfix aviator expression match npe (#297)

  [hertzbeat]bugfix:update pom.xml for that monitor to hertzbeat

Co-authored-by: Privauto <2289751443@qq.com>
2022-09-25 13:40:12 +08:00
lambertandza-jiangliwen c6a670178e [monitor] adding all files apache license (#234)
add apache license for java files and some other files(checking later)

  add apache license for other files

Co-authored-by: za-jiangliwen <liwen.jiang@zatech.com>
2022-08-09 22:02:20 +08:00
f11b3aa132 [monitor]feature: support snmp collect protocol and windows monitor type (#192)
[monitor]fix can not collect cpu metrics in tencent centos (#164)

  [monitor]feature: support oracle multi tablespaces (#163)

  [manager]fix oracle config yml percentage error (#168)

  [snmp ]feature: add snmp protocol (#173)

  [manager]merge snmp

  [monitor] bugfix: fix elasticsearch collect error when need basic auth(#174)

  [manager]update

  [monitor] change oracle database name to service name to reduce ambiguity (#182)

  [manager]support monitor params name i18n (#184)

  [manager]support monitor params name i18n

  [manager]support monitor params name i18n

  [manager]support windows snmp monitor

  [manager]support windows snmp monitor

  [monitor]delete mysql dev yml

  [monitor]add more windows monitor metrics

  [monitor] update docs and support verify warehouse tdengine status

  [home]add windows help docs

  [warehouse]bugfix tdengine Argument list too long

  [warehouse]bugfix tdengine Argument list too long

Co-authored-by: wyt199905 <85098809+wyt199905@users.noreply.github.com>
Co-authored-by: brave4Time <105094014+brave4Time@users.noreply.github.com>
Co-authored-by: ChineseTony <taowang98@163.com>
Co-authored-by: 卫傅庆 <weifuqing1991@163.com>
Co-authored-by: zklmcookle <107192352+zklmcookle@users.noreply.github.com>
2022-06-19 19:59:43 +08:00
5887f9b1fa [monitor] feature: support redis monitor protocol (#142)
[manager]feature: refactor DispatchAlarm

  [alerter]bugfix nextEvalInterval npe

   

  [monitor] Redis监控类型参数校验

Co-authored-by: Musk.Chen <Musk.Chen@fanruan.com>
Co-authored-by: tomsun28 <tomsun28@outlook.com>
2022-05-22 23:29:11 +08:00
tomsun28 82253724a3 [collector]bugfix: non-supported character set when monitor GBK oracle (#84) 2022-04-11 21:21:02 +08:00
tomsun28 2121774604 [collector,manager]update oracle monitor metrics 2022-03-24 21:54:39 +08:00
xgf 8c989d25e6 [collector,manager]support oracle monitor 15
[manager]
   
   
  Merge remote-tracking branch 'origin feature#xgf' into feature#oracle
   
  Update README.md
2022-03-23 06:46:15 +00:00
tomsun28 7dc679238e [collector,manager]support sqlserver monitoring (#37) 2022-03-18 10:19:17 +08:00
tomsun28 c171ae092f [collector,manager,doc]support linux monitoring (#20) 2022-03-12 14:16:50 +08:00
tomsun28 186021f3bf [collector,manager]support posgresql monitoring (#16) 2022-03-08 17:17:24 +08:00
tomsun28 0677353c36 support notice alarm by feishu 2022-02-22 23:39:18 +08:00
chenghua 42f28dba86 support wechat alarm 2022-02-21 20:06:53 +08:00
tomsun28 7b0897b151 support mysql collect protocol 2022-01-30 12:56:57 +08:00
tomsun28 a0478a1d53 collector dispath, http ip tcp 2022-01-29 17:11:22 +08:00
tomsun28 1d10f08c64 init project 2021-11-10 20:07:27 +08:00