1
0
mirror of https://github.com/go-micro/go-micro.git synced 2025-06-24 22:26:54 +02:00
Commit Graph

98 Commits

Author SHA1 Message Date
563e0d265d meh 2024-07-07 18:40:24 +01:00
610c00859f v5 2024-06-04 21:40:43 +01:00
a7522e7d6c fix: struct field alignment (#2632) 2023-04-26 02:16:34 +02:00
a3980c2308 feat: add test framework & refactor RPC server (#2579)
Co-authored-by: Rene Jochum <rene@jochum.dev>
2022-10-20 13:00:50 +02:00
010b1d9f11 fix: linting issues (#2566) 2022-09-30 20:32:55 +02:00
85c0b0b8eb fix: some linting issues (#2563) 2022-09-30 16:27:07 +02:00
0c2041e439 add events package (#2341)
* add events package

* update go version
2021-11-08 08:52:39 +00:00
1cd7cfaa6c go-micro.dev/v4 (#2305) 2021-10-12 12:55:53 +01:00
3e0411a3f6 fixing mem.pprof issue: (#2198)
parsing profile: concatenated profiles detected
fixing web service not start profile issue
fixing no default profile options issue
2021-08-04 09:39:01 +01:00
d94936f6c9 v3 (#2104)
* v3

* revert plugins

* fixup some issues
2021-01-20 13:54:31 +00:00
a7c31a0d2b refactor all the things 2020-12-29 15:49:26 +00:00
b57f56fb0b Merge branch 'master' of ssh://github.com/asim/go-micro 2020-12-12 20:51:40 +00:00
690169f6e5 remove k8s logs 2020-12-12 20:51:32 +00:00
a543157f50 Delete debug.go 2020-12-12 20:50:53 +00:00
15a62ae0b9 move debug handler 2020-12-12 20:50:36 +00:00
2729569f66 Add Debug.Cache method 2020-05-24 18:45:57 +01:00
692b27578c Runtime Namespace (#1547)
* Add context option to runtime; Add dynamic namespace to kubectl client

* Add namespace runtime arg

* Fixes & Debugging

* Pass options in k8s runtime

* Set namespace on k8s resources

* Additional Logging

* More debugging

* Remove Debugging

* Ensure namespace exists

* Add debugging

* Refactor namespaceExists check

* Fix

* Fix

* Fix

* Fix

* Change the way we check for namespace

* Fix

* Tidying Up

* Fix Test

* Fix merge bugs

* Serialize k8s namespaces

* Add namespace to watch

* Serialize namespace when creating k8s namespace

Co-authored-by: Ben Toogood <ben@micro.mu>
Co-authored-by: Asim Aslam <asim@aslam.me>
2020-04-23 13:53:42 +01:00
e55c23164a fix prealloc in trace (#1558) 2020-04-22 16:10:59 +03:00
268651df18 regenerate all proto based files (#1531)
Signed-off-by: Vasiliy Tolstov <v.tolstov@unistack.org>
2020-04-14 16:25:09 +03:00
2cafa289b6 Stop LogStream if there is an error in k8s pod log streaming (#1469)
* Stop LogStream if there is an error in k8s pod log streaming

* Locking stream Stops

* PR comment
2020-04-02 12:16:35 +01:00
9e6db79860 regenerate all proto (#1440)
* regenerate all proto

Signed-off-by: Vasiliy Tolstov <v.tolstov@unistack.org>

* regenerate from proto

Signed-off-by: Vasiliy Tolstov <v.tolstov@unistack.org>

* regenerate from proto

Signed-off-by: Vasiliy Tolstov <v.tolstov@unistack.org>
2020-03-30 21:58:32 +01:00
603d37b135 Set option and cli args to the service profile (#1259) 2020-02-25 16:42:42 +00:00
117f56ebf7 prune util/log and user logger (#1237)
* prune util/log and user logger

Signed-off-by: Vasiliy Tolstov <v.tolstov@unistack.org>

* plaintext logger

Signed-off-by: Vasiliy Tolstov <v.tolstov@unistack.org>

* add newline

Signed-off-by: Vasiliy Tolstov <v.tolstov@unistack.org>
2020-02-23 13:45:20 +00:00
d76baf59de Trace type is now being recorded (#1188) 2020-02-12 10:57:17 +00:00
92571db693 Tracing: traces now correctly form a tree (#1170)
* First cut of trace

* Dial it back yo

* Defensive programming
2020-02-06 17:22:16 +00:00
0be22c98c6 add tracing 2020-01-30 23:24:46 +00:00
f23638c036 fix import paths for v2 release
Signed-off-by: Vasiliy Tolstov <v.tolstov@unistack.org>
2020-01-30 14:44:40 +03:00
49b86c56e3 go fmt 2020-01-29 22:40:43 +00:00
a09eea8d4d Update the Debug Handler to use the servers tracer 2020-01-29 16:05:58 +00:00
62c067adcd Refactor debug/trace ready for Jaeger 2020-01-29 15:45:11 +00:00
a997a86e49 add trace context 2020-01-24 21:44:48 +00:00
2d28ff72d7 add trace 2020-01-24 21:32:07 +00:00
2b1844971c go fmt 2020-01-24 21:31:57 +00:00
49cc022ca2 add trace to handler 2020-01-24 21:29:29 +00:00
8d2dc8a822 trace Read endpoint 2020-01-24 21:24:51 +00:00
058fd8adbf trace 1 2020-01-18 10:20:46 +00:00
61cde4a9f4 Kubernetes Registry (#1064)
* add teh k8s registry

* add k8s reg config/cmd

* go mod update
2019-12-27 20:08:46 +00:00
2fe64001c0 Start runtime services inline 2019-12-24 17:51:30 +00:00
5c8d1ae2b9 Update k8s log options 2019-12-24 17:33:05 +00:00
45208992b5 NewLog 2019-12-20 23:36:16 +00:00
847a01df82 Cleanup k8s logs 2019-12-20 23:34:08 +00:00
ce33e3b072 Kubernetes logging (#1054)
* wip

* Implementation of Kubernetes Logger

* Missing file

* Skip test in Travis
2019-12-20 23:16:05 +00:00
ae12fd1021 update crap logging 2019-12-19 18:25:22 +00:00
95ae2688a2 add formatters 2019-12-19 12:29:03 +00:00
2bcfb85613 Add log Format option 2019-12-19 12:20:33 +00:00
d52a111735 add requests/errors to stats 2019-12-18 18:36:42 +00:00
d4bec24eb7 Add os log buffer 2019-12-18 17:06:29 +00:00
2338e7c9d2 Cleanup go mod 2019-12-18 16:12:25 +00:00
f0e841595c move to structured logging 2019-12-18 16:02:11 +00:00
a82af19d43 strip newline 2019-12-18 15:19:20 +00:00