Grant Limberg
8e6e4ede6d
Add prometheus metrics for Central controllers ( #1969 )
...
* add header-only prometheus lib to ext
* rename folder
* Undo rename directory
* prometheus simpleapi included on mac & linux
* wip
* wire up some controller stats
* Get windows building with prometheus
* bsd build flags for prometheus
* Fix multiple network join from environment entrypoint.sh.release (#1961 )
* _bond_m guards _bond, not _paths_m (#1965 )
* Fix: warning: mutex '_aqm_m' is not held on every path through here [-Wthread-safety-analysis] (#1964 )
* Serve prom metrics from /metrics endpoint
* Add prom metrics for Central controller specific things
* reorganize metric initialization
* testing out a labled gauge on Networks
* increment error counter on throw
* Consolidate metrics definitions
Put all metric definitions into node/Metrics.hpp. Accessed as needed
from there.
* Revert "testing out a labled gauge on Networks"
This reverts commit 499ed6d95e11452019cdf48e32ed4cd878c2705b.
* still blows up but adding to the record for completeness right now
* Fix runtime issues with metrics
* Add metrics files to visual studio project
* Missed an "extern"
* add copyright headers to new files
* Add metrics for sent/received bytes (total)
* put /metrics endpoint behind auth
* sendto returns int on Win32
---------
Co-authored-by: Leonardo Amaral <leleobhz@users.noreply.github.com>
Co-authored-by: Brenton Bostick <bostick@gmail.com>
3 years ago
Adam Ierymenko
75a45eeb27
Revert "Backport guts of 1.8 to 1.6 tree so we can point release without waiting for UI quirks to be fixed."
...
This reverts commit 48ce7632fa .
5 years ago
Adam Ierymenko
48ce7632fa
Backport guts of 1.8 to 1.6 tree so we can point release without waiting for UI quirks to be fixed.
5 years ago
Joseph Henry
e1af003e4f
Consolidation of multipath logic. Better system separation
5 years ago
Adam Ierymenko
70f37962cf
Backport AES fixes for compiler, arch, and splitting into separate files.
5 years ago
Adam Ierymenko
3fd8efe642
AES builds now
6 years ago
Joseph Henry
a50e8e9878
Add Bonds, Slaves, and Flows
6 years ago
Grant Limberg
d699116795
mac deps
6 years ago
Grant Limberg
154470b570
add original hiredis
6 years ago
Grant Limberg
73b1d57b13
rip out rabbitMQ
6 years ago
Adam Ierymenko
237c379866
Choose which tap to use (feth or kext) on Mac based on Darwin version.
7 years ago
Adam Ierymenko
5289d3327c
Build fixes
7 years ago
Adam Ierymenko
d4d350a285
Work in progress
7 years ago
Joseph Henry
8a0b75c83a
Added LFDB.o to objects.mk
7 years ago
Grant Limberg
fcb4221f97
rabbitMQ implementation
7 years ago
Grant Limberg
17af09a5cc
Postgres Integration has begun
8 years ago
Adam Ierymenko
1613f42d00
Re-integrate in-filesystem DB into new controller DB structure.
8 years ago
Adam Ierymenko
b68bca35db
Linux build fixes, linux build rule for RethinkDB mode controller, also force disable shitty allocators in libstdc++.
9 years ago
Adam Ierymenko
dab0fb9e05
Remote trace: plumbing, replace old TRACE with calls to Trace object.
9 years ago
Adam Ierymenko
640ad577d1
.
9 years ago
Adam Ierymenko
dd68c207f4
Stuff old Cluster code in attic.
9 years ago
Adam Ierymenko
505b9c7f56
Makefile reorg to allow core to be built as a library.
9 years ago
Adam Ierymenko
4244cca48c
Delete comically named SSL gateway code, which is going elsewhere.
9 years ago
Joseph Henry
683ba79ff0
Added ButtFlare stub code
9 years ago
Adam Ierymenko
22f86df606
Merge ControlPlane into OneService to make variable access simpler.
9 years ago
Adam Ierymenko
10185e92fa
Certificate of ownership -- used to secure against IP address spoofing, especially for IPv4 and regular IPv6.
9 years ago
Adam Ierymenko
ec0e8a9a43
Rip out resolver and use anycast address instead. In the long term existing TCP proxy dies anyway. Fixes static build problem for old Linux versions.
9 years ago
Adam Ierymenko
565842b5ec
Software updater work.
9 years ago
Adam Ierymenko
1615ef1114
Rename getBestRoot() etc.
9 years ago
Adam Ierymenko
bf8d71e82c
Add notion of upstream that is separate from root in Topology, etc.
9 years ago
Adam Ierymenko
3c00cd0f88
Separate out JSON store from controller code.
10 years ago
Adam Ierymenko
1f74dd4589
Revocation work in progress, add WATCH which is TEE with implicit rate sync (thanks JG@DCVC!), and clean up some cruft in Network.
10 years ago
Adam Ierymenko
a13f4d8353
We now always build the controller in ZeroTier One, at least for desktop and server targets. Also means that ZeroTier One now requires C++11. (Still keeping C++11 out of the core in node/ though.)
10 years ago
Adam Ierymenko
4d7f625aa1
.
10 years ago
Adam Ierymenko
98152d974a
More cleanup and removal of DeferredPackets, will do the latter in a more elegant way.
10 years ago
Adam Ierymenko
f057bb63cd
More work on tags and capabilities.
10 years ago
Adam Ierymenko
eaf6d6c938
Basic L2/L3 filter for rules engine (not integrated yet) and some cleanup.
10 years ago
Adam Ierymenko
b104bb4762
New super-packed dictionary -- we are going back to a backward compatibile format with the old netconf but in an embedded-friendly way. This is simpler.
10 years ago
Adam Ierymenko
b90e66f7c7
ManagedRoute, which applies C++ RAII to injected routes. Move RoutingTable to attic.
10 years ago
Adam Ierymenko
fd81a7fe63
On Linux auto-detect presence of http-parser and lz4 and link against system libs instead of ext/ builtins (for RPM and DEB packaging effort)
10 years ago
Adam Ierymenko
425d311ce8
Merge of netcon with edge and unification of make processes.
10 years ago
Adam Ierymenko
8ef4edebbf
Deferred decode for HELLO to prevent HELLOcalypse under high load of new peers.
11 years ago
Adam Ierymenko
16bc3e0398
Factor out RemotePath subclass of Path -- no longer needed, just cruft.
11 years ago
Adam Ierymenko
e07bae2525
Run geoip cluster service sub-process.
11 years ago
Adam Ierymenko
619e113748
Work in progress on Cluster for new root infrastructure, multi-homing.
11 years ago
Adam Ierymenko
1b1945c63e
Work in progress on refactoring root-topology into World and adding in-band updates.
11 years ago
Adam Ierymenko
2ad69237cf
Background resolver.
11 years ago
Adam Ierymenko
53cbe485f0
Some cleanup, and bite the bullet and go ahead and write a simple Http client. Need a cross-platform built-in one to do cli right.
11 years ago
Adam Ierymenko
6c29e966dd
Include a BSD licensed JSON parser for the CLI.
11 years ago
Adam Ierymenko
33c8d3c50b
Compile fixes.
11 years ago