144 Commits

Author SHA1 Message Date
Renovate Bot
00a83f67b5 Update module unistack-org/micro/v3 to v3.2.14 2021-02-18 16:48:46 +00:00
0447949b54 update workflows
Signed-off-by: Vasiliy Tolstov <v.tolstov@unistack.org>
2021-02-18 18:44:18 +03:00
Renovate Bot
f2b0531c7a Update module unistack-org/micro/v3 to v3.2.11 2021-02-12 17:54:44 +00:00
f0c3617ad7 update renovate.json
Signed-off-by: Vasiliy Tolstov <v.tolstov@unistack.org>
2021-02-12 12:38:54 +03:00
01a951c718
Merge pull request #5 from unistack-org/renovate/major-all
Update all deps to v2 (major)
2021-02-10 23:42:39 +03:00
fa5e714cf9
Merge pull request #4 from unistack-org/renovate/all
Update module unistack-org/micro/v3 to v3.2.8
2021-02-10 23:42:30 +03:00
Renovate Bot
0a907f22b7
Update all deps to v2 2021-02-10 11:06:02 +00:00
Renovate Bot
1ca8970a93
Update module unistack-org/micro/v3 to v3.2.8 2021-02-10 11:05:54 +00:00
8e03924ed9 move renovate.json
Signed-off-by: Vasiliy Tolstov <v.tolstov@unistack.org>
2021-02-10 14:05:34 +03:00
8b608892e0
Merge pull request #1 from unistack-org/renovate/configure
Configure Renovate
2021-02-10 13:52:22 +03:00
Renovate Bot
f15d93f16b
Add renovate.json 2021-02-08 23:30:27 +00:00
bea52c961f use own fork
Signed-off-by: Vasiliy Tolstov <v.tolstov@unistack.org>
v3.1.3
2021-01-19 16:51:58 +03:00
bc88b9f922 update go-micro and fix client/selector usage
Signed-off-by: Vasiliy Tolstov <v.tolstov@unistack.org>
2021-01-19 16:42:30 +03:00
bb1601e811 bump go-micro to current master
Signed-off-by: Vasiliy Tolstov <v.tolstov@unistack.org>
2021-01-19 16:42:30 +03:00
ba46e6d0d4 update go-micro and micro to v2.9.1
Signed-off-by: Vasiliy Tolstov <v.tolstov@unistack.org>
2021-01-19 16:42:30 +03:00
silenceshell
e1df511dd3 fix a typo (#570) 2021-01-19 16:42:30 +03:00
f2c41beb07 wrapper/monitoring/prometheus: fix multiservice wrapper usage
Signed-off-by: Vasiliy Tolstov <v.tolstov@unistack.org>
2021-01-19 16:42:30 +03:00
9cb28538ec pin to micro and go-micro 2.8.0 release
Signed-off-by: Vasiliy Tolstov <v.tolstov@unistack.org>
2021-01-19 16:42:30 +03:00
22acd2b61a wrapper/monitoring/prometheus: small fixes
Signed-off-by: Vasiliy Tolstov <v.tolstov@unistack.org>
2021-01-19 16:42:30 +03:00
f6c0b6ca47 wrapper/monitoring/prometheus: redesign, add subscriber and client wrappers
Signed-off-by: Vasiliy Tolstov <v.tolstov@unistack.org>
2021-01-19 16:42:30 +03:00
0d429a180c update go-micro to v2.5.0
Signed-off-by: Vasiliy Tolstov <v.tolstov@unistack.org>
2021-01-19 16:42:30 +03:00
53940dda18 wrapper/monitoring/prometheus: use default registry (#532)
Signed-off-by: Vasiliy Tolstov <v.tolstov@unistack.org>
2021-01-19 16:42:30 +03:00
16b5bac080 bump go-micro and micro to v2.3.0 (#510)
Signed-off-by: Vasiliy Tolstov <v.tolstov@unistack.org>
2021-01-19 16:42:30 +03:00
600ccb07c1 use logger interface (#485)
* use logger interface
* update go-micro dependency

Signed-off-by: Vasiliy Tolstov <v.tolstov@unistack.org>
2021-01-19 16:42:30 +03:00
785b3715b5 use latest go-micro and cleanup go.mod
Signed-off-by: Vasiliy Tolstov <v.tolstov@unistack.org>
2021-01-19 16:42:30 +03:00
107f961659 fix import path for v2 release (#457)
* fix import path for v2 release

Signed-off-by: Vasiliy Tolstov <v.tolstov@unistack.org>
2021-01-19 16:42:30 +03:00
65e0af3a8b go.mod per package (#450)
Signed-off-by: Vasiliy Tolstov <v.tolstov@unistack.org>
2021-01-19 16:42:30 +03:00
Asim Aslam
bf81c82a09 Go fmt and update go mod 2021-01-19 16:42:30 +03:00
Asim Aslam
6d122f1dac Move selector to client/selector 2021-01-19 16:42:30 +03:00
ddf0bfa01f put metrics in own namespace
Signed-off-by: Vasiliy Tolstov <v.tolstov@unistack.org>
2021-01-19 16:42:30 +03:00
d927ad4673 wrapper: prometheus attach labels to all metrics
Signed-off-by: Vasiliy Tolstov <v.tolstov@unistack.org>
2021-01-19 16:42:30 +03:00
Valentin Vesvalo
6aff955f07 add histogram metric type and more common metrics naming 2021-01-19 16:42:30 +03:00
ffb1c2f311 assign service metadata to labels
Signed-off-by: Vasiliy Tolstov <v.tolstov@unistack.org>
2021-01-19 16:42:30 +03:00
Asim Aslam
fd8eb72e9c Update prometheus_test.go 2021-01-19 16:42:30 +03:00
Asim Aslam
39980dea2e Update prometheus.go 2021-01-19 16:42:30 +03:00
Asim Aslam
4b57717fc7 Update README.md 2021-01-19 16:42:30 +03:00
Asim Aslam
90c20ff1bb Update README.md 2021-01-19 16:42:30 +03:00
Asim Aslam
109956ca66 Update prometheus.go 2021-01-19 16:42:30 +03:00
Asim Aslam
7ed2272d1d Update README.md 2021-01-19 16:42:30 +03:00
Nikolay Bondarenko
5d96a43aee Fix test for prometheus wrapper 2021-01-19 16:42:30 +03:00
Nikolay Bondarenko
1024ea75b3 Add the deferred stop to prometheus wrapper test 2021-01-19 16:42:30 +03:00
Nikolay Bondarenko
57a323f700 Remove service register/deregister in prometheus wrapper 2021-01-19 16:42:30 +03:00
Nikolay Bondarenko
84c2b448b9 Rename prometheus metric prefix from go_micro_x to micro_x 2021-01-19 16:42:30 +03:00
Nikolay Bondarenko
68434feb25 Add prometheus requests processed and request latencies metric gathering wrapper 2021-01-19 16:42:30 +03:00