Commit Graph

271 Commits

Author SHA1 Message Date
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
Curt Tudor fc28b414b7 don't raise a 403 on CORS pre-flight if 'Authorization' header is present (#362) 2022-04-27 11:49:27 -04:00
Paul Lorenz 18539faf87 Add dest type to routing so we don't need to overload ids 2022-04-27 11:20:02 -04:00
Paul Lorenz e21d41df05 Notify controller of invalid destinations in routes.
Allow xgress and links to be destinguished by ID suffix
If a link destination is missing, send a link fault
Add forget-link router debug agent op to allow testing invalid
destinations
2022-04-26 22:16:58 -04:00
Paul Lorenz 85a4d8484b Address review comments 2022-04-26 13:49:33 -04:00
Paul Lorenz 4d45e2ab6c Don't allow failed links to be marked as connected 2022-04-26 09:58:19 -04:00
Paul Lorenz b48b1d6fc5 Add another path test. Address review comments 2022-04-19 21:50:21 -04:00
Paul Lorenz e2d29d3f07 Rework model for circuit inspections. Add inspect support back to mgmt channel 2022-04-19 10:38:23 -04:00
Paul Lorenz a21fb393bb Add websocket API for mgmt channel 2022-04-19 10:34:57 -04:00
tburtchell 23cd6fe6e6 A couple more places where linkType -> linkProtocol refactor was missed (#352)
Co-authored-by: Tod Burtchell <tod.burtchell@netfoundry.io>
2022-04-12 11:26:01 -04:00
Paul Lorenz 86d1913763 make network exit an info instead of an error 2022-04-11 14:06:30 -04:00
Cam Otts 4b7a4d1081 added circuit creation timespan (#349)
* added circuit creation timespan

* added creation timespan to event message
2022-04-06 11:14:43 -05:00
Cam Otts 113c37024e Added heartbeat logging/metrics to control channel (#341)
* Added heartbeat logging/metrics to control channel

* pr comments

* misunderstood last pr comment

* moved channel closing to happen in either case
2022-04-06 11:10:58 -05:00
Paul Lorenz 8150358d6b Add service id to log message 2022-04-05 22:34:30 -04:00
Paul Lorenz b264f89294 Fix issue where peerdata could be set to nil if non-terminator router return from route last 2022-04-04 15:37:12 -04:00
Paul Lorenz 7bd0f84832 Move profiler code to fabric since this is the only place it's used 2022-03-31 10:36:30 -04:00
Paul Lorenz 9a344da855 Update to use transport library 2022-03-31 10:36:28 -04:00
Paul Lorenz b35b532d25 Update to use storage library 2022-03-30 16:22:32 -04:00
Paul Lorenz 88a28e7454 Merge pull request openziti/fabric#345 from openziti/move-config-to-fabric
Move foundation/config to fabric
2022-03-30 16:20:32 -04:00
Paul Lorenz 21c6866f42 Move foundation/config to fabric 2022-03-30 13:48:14 -04:00
Paul Lorenz 1ee1c644c5 Don't send egress on re-route, since it will always be ignored 2022-03-30 13:44:58 -04:00
Cam Otts 648d89fb93 lower circuit retries (#342) 2022-03-30 09:24:45 -05:00
Paul Lorenz 84cfedf482 Add circuit inspection. Move ctrl handler pools to use goroutines.Pool 2022-03-24 13:32:56 -04:00