Commit Graph

69 Commits

Author SHA1 Message Date
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