Commit Graph

8 Commits

Author SHA1 Message Date
Bo-Yi Wu a45769c24f
chore(queue): upgrade queue package and add metrics (#673)
* chore(queue): upgrade queue package and add metrics

add new metrics

	BusyWorkers    *prometheus.Desc
	SuccessTasks   *prometheus.Desc
	FailureTasks   *prometheus.Desc
	SubmittedTasks *prometheus.Desc

fix https://github.com/appleboy/gorush/issues/672

Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com>

* chore: update go version

Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com>
2022-05-05 13:56:28 +08:00
落心 17dad5758f
Separate storage logic from actual business logic (#649) 2022-02-03 17:03:37 +08:00
Bo-Yi Wu 0a8d801380
fix: error from golangci-lint tool (#623) 2021-08-03 14:44:00 +08:00
Bo-Yi Wu 349c0c8c1d
fix: Function params involve heavy amount of copying (#622) 2021-08-02 14:07:30 +08:00
Bo-Yi Wu 2d01f8b854
chore: init log package (#606)
Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com>
2021-07-20 21:16:53 +08:00
Bo-Yi Wu 2e2dd9b8d6
chore(queue): support NSQ as backend. (#600) 2021-07-17 20:14:19 +08:00
Bo-Yi Wu ab8b1991ab
chore: support single queue and multiple worker (#589) 2021-07-16 12:10:34 +08:00
Bo-Yi Wu 2cd46ad690
chore: Add metric and status package. (#585) 2021-07-13 23:58:47 +08:00