Paul Lorenz
77efd9a560
Wait for changes request from follow to be applied to follower before returning. Fixes openziti/fabric#481
2022-08-26 12:47:20 -04:00
Paul Lorenz
4d05c59df0
Run gofmt -w -s
2022-08-22 14:17:43 -04:00
Paul Lorenz
e0f5092a08
Use one port for ctrl channel to router and controllers. Allow syncing existing DB to raft. Fixes #471 . Fixes openziti/fabric#479 .
2022-08-22 12:09:07 -04:00
Paul Lorenz
521c5d2be1
Fixes for command encoding and decoding
2022-08-11 11:24:23 -04:00
Paul Lorenz
40ef589193
Fixes panic when dialing service with terminator but none for instanceId. Fixes openziti/fabric#463
2022-08-04 21:42:01 -04:00
Paul Lorenz
0e07f211be
Add flags to create/update commands. allows some lightweight logic specialization (eg priveleged vs non-priveleged updates)
2022-07-29 10:53:39 -04:00
Paul Lorenz
858642bc38
Move UpdatedFields to fabric. Start moving model layer to generics
2022-07-27 11:33:24 -04:00
Paul Lorenz
98160bb8b0
Merge pull request openziti/fabric#448 from openziti/link-events
...
Refactor events subsystem. Add link events. Fixes openziti/fabric#415
2022-07-19 10:59:27 -04:00
Paul Lorenz
7abe5d5605
Cleanup circuits for deleted routers. Fixes openziti/fabric#452
2022-07-18 15:03:35 -04:00
Paul Lorenz
3af3d447c3
Merge pull request openziti/fabric#451 from openziti/report-high-latency-on-hb-timeout
...
Report high latency on latency timeout. Use marker value of 88.888888…
2022-07-18 09:19:06 -04:00
Paul Lorenz
960dfe88f6
Report high latency on latency timeout. Use marker value of 88.888888888 seconds. Fixes openziti/fabric#443
2022-07-15 23:45:31 -04:00
Paul Lorenz
8f0150f242
Add host id to terminator. This will allow tracking usage to hosting entities. Fixes openziti/fabric#440
2022-07-15 23:13:01 -04:00
Paul Lorenz
77bce93e85
Refactor events subsystem. Add link events. Fixes openziti/fabric#415
...
Previously we often had two sets of events, one in the network
package, and then another in the events package. We now only
have one, in the events package. Events now have a public API,
with minimal deps. There's an implementation package which has
the dependencies. This allows the network package to generate
events, without have a circular dependency on the events
implementation package.
2022-07-15 18:31:52 -04:00
Paul Lorenz
57bd46b285
Fix misleading error message. Fixes openziti/fabric#446
2022-07-14 15:30:34 -04:00
Andrew Martinez
f83637544b
updated identity fixes server cert verification
2022-07-08 16:58:10 -04:00
Paul Lorenz
70d37bf44a
Merge pull request openziti/fabric#430 from openziti/prevent-strange-loops
...
Prevent strange loops
2022-07-01 15:37:59 -04:00
Paul Lorenz
3d49022f4a
Update for foundation changes
2022-07-01 14:29:12 -04:00
Paul Lorenz
b281372757
Retry smart route on failure. Add circuit createdAt
2022-07-01 11:19:37 -04:00
Paul Lorenz
b26fcf8909
Fix copyright
2022-06-29 16:59:46 -04:00
Paul Lorenz
630378121a
Remove management channel
2022-06-29 16:07:10 -04:00
Paul Lorenz
d3a5d5151f
Merge pull request openziti/fabric#425 from openziti/circuit-failed-events
...
Circuit failed events
2022-06-22 15:00:58 -04:00
Paul Lorenz
a731cd9aec
Circuit failed events and rename terminator identity -> instanceId
2022-06-22 14:34:32 -04:00
Tod
d8f5db8cf6
Prometheus format feedback ( #422 )
...
* Adding timestamps to prometheus bucket metrics
* Making Prometheus timestamps optional
2022-06-22 09:20:48 -04:00
Cam Otts
45d49324c6
move terminator address to seperate field ( #412 )
...
* move terminator address to seperate field
* update circuit streaming to handle dedicated terminator address field
* Added circuit event terminator local address
2022-06-09 11:11:44 -05:00
Tod
1ccfa2f3dc
Adding Metrics API on '/metrics' ( #410 )
...
* Adding fabric `/metrics` API/binding to provide metrics in the prometheus text exposition format (https://prometheus.io/docs/instrumenting/exposition_formats/#text-based-format )
2022-06-09 11:17:00 -04:00
Andrew Martinez
660a4af582
upgrades xweb to v2.0.0
...
- xweb v2 uses different simpler names
- reduce xweb instances to a single instance in fabric
2022-06-06 10:19:44 -04:00
Paul Lorenz
a64c626cb4
Controller -> Manager for entity managers
2022-06-02 22:53:22 -04:00
Paul Lorenz
eaa75d48c6
Initial support for distributed model via RAFT
2022-06-02 22:49:55 -04:00
tburtchell
cf28ad7edc
Metrics via inspect ( #409 )
...
* Adding inspect handling for 'metrics'
* Adding prometheus metric event format
2022-05-31 16:03:04 -04:00
Andrew Martinez
6f867e34db
uses generic version of cmap
2022-05-27 09:47:15 -04:00
Andrew Martinez
c47f344066
move xweb out of fabric
2022-05-25 15:27:11 -04:00
Paul Lorenz
4dc6596e7a
Fix pool metrics for xg/link dials. Fixes openziti/fabric#404
2022-05-20 10:31:43 -04:00
Paul Lorenz
84455c4530
Merge pull request openziti/fabric#401 from openziti/add-pool-metrics
...
Add pool metrics
2022-05-13 14:21:08 -04:00
Paul Lorenz
e53a5e6fc5
Add pool metrics
2022-05-13 13:49:42 -04:00
Paul Lorenz
c9397175f0
Add service id to dial context and service name to CreateCircuit ctx
2022-05-12 16:29:43 -04:00
Paul Lorenz
dd5e549033
Merge pull request openziti/fabric#389 from openziti/add-link-count-cost-to-circuit-events
...
Add link count and cost to circuit events. Fixes openziti/fabric#388
2022-05-12 15:39:52 -04:00
Paul Lorenz
a4de1c1b9f
Merge pull request openziti/fabric#387 from openziti/make-initial-latency-configurable
...
Make initial link latency configurable. Fixes openziti/fabric#252
2022-05-12 15:39:12 -04:00
Cam Otts
0c7ff2bd5e
threaded a timout through fabric ( #356 )
...
* threaded a timout through fabric
* updated default timeout
* pr comments
* fix timing
* applied pr comments
* removed one more utc
* updated to time until and conditionally add deadline
* signed commit
* small proto change
* regenerate pb
* missed extra import
2022-05-12 14:32:18 -05:00
Paul Lorenz
e8285f76f3
Add link count and cost to circuit events. Fixes openziti/fabric#388
2022-05-11 13:03:08 -04:00
Paul Lorenz
374af45b6d
Merge pull request openziti/fabric#386 from openziti/update-protobuf
...
Update to current protobuf library
2022-05-11 12:58:11 -04:00
Paul Lorenz
01ffc402e3
Make initial link latency configurable. Fixes openziti/fabric#252
2022-05-11 09:51:56 -04:00
Paul Lorenz
8dfdce7fab
Update to current protobuf library
2022-05-10 14:54:00 -04:00
Paul Lorenz
2cdf3f469c
Verify router instead of link when getting new link dial
2022-05-10 14:26:55 -04:00
Paul Lorenz
69bc2fb0cc
Update to transport/v2
2022-05-10 11:58:41 -04:00
Paul Lorenz
cca93c7eee
Update test for initial link cost changes
2022-05-09 11:46:44 -04:00
Paul Lorenz
b3c120f389
Add link delete method. Set initial link latency costs high.
2022-05-09 11:46:00 -04:00
Paul Lorenz
8b871b09f2
Fix links list in circuit detail when listing circuits
2022-05-06 13:59:15 -04:00
Paul Lorenz
1874ab5f27
Allow a new control channel to takeover even if the router is already connected
...
Add churn limiter so it can only happen so often
2022-04-28 14:55:14 -04:00
Paul Lorenz
5d4947b505
Add a configurable minimum router cost
2022-04-27 14:41:55 -04:00
Paul Lorenz
0149b03439
Merge pull request openziti/fabric#361 from openziti/notify-bad-destinations
...
Notify controller of invalid destinations in routes.
2022-04-27 14:25:26 -04:00