Apache Dolphinscheduler中Hive慢查询的耗时最时间最长告警
1.Dolphinscheduler钉钉告警pythonimportpymysqlimportjsonimportrequestsimporthmacimporthashlibimporttimeimportbase64importurllibfromDBUtils.PooledDBimportPooledDB数据库连接池需要执行安装pip3installDBUtils1.3fromapscheduler.schedulers.blockingimportBlockingSchedulerfromdolphinschedulerimportanalysisprocessingPOOLPooledDB(creatorpymysql,使用链接数据库的模块maxconnections6,连接池允许的最大连接数,0...