summaryrefslogtreecommitdiff
path: root/controller/FileDB.cpp
AgeCommit message (Collapse)Author
2023-04-21Add prometheus metrics for Central controllers (#1969)Grant Limberg
* 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 <[email protected]> Co-authored-by: Brenton Bostick <[email protected]>
2021-06-24Fix for GitHub #859Grant Limberg
Wrong DB::get() method being called to look up the network member for deletes
2020-08-20BSL date bumpAdam Ierymenko
2019-08-23Relicense: GPLv3 -> ZeroTier BSL 1.1Adam Ierymenko
2019-08-08Fix race in multiple DB mirroring configurations.Adam Ierymenko
2019-08-06More work on DB mirroring.Adam Ierymenko
2019-08-06Cruftectomy, work in progress on mirrorringAdam Ierymenko
2019-08-06Refactoring in prep for mirroringAdam Ierymenko
2019-08-04Add optional function in DB change listener for member online events.Adam Ierymenko
2019-07-31Get rid of online status stuff in FileDB, not necessary at all.Adam Ierymenko
2019-07-26Abstract out change listener from controller itself to permit DBs to shadow ↵Adam Ierymenko
changes from other DBs.
2019-07-16Merge branch 'dev' of github.com:zerotier/ZeroTierOne into devGrant Limberg
2019-07-16no usleep() on WindowsGrant Limberg
2019-07-15Fix FileDB stuff and latency measurement.Adam Ierymenko
2019-07-15Track online status in FileDBAdam Ierymenko
2019-01-14Updated licenses for 2019Joseph Henry
2018-09-25Merge pull request #822 from dschulz/controller-patch1-dschulzAdam Ierymenko
Add functionality to erase members from networks using file backend i…
2018-08-02Add functionality to erase members from networks using file backend in ↵Diego Schulz
controller microservice Signed-off-by: Diego Schulz <[email protected]>
2018-07-11Return error 503 if RethinkDB is down when built as RethinkDB-based controller.Adam Ierymenko
2018-07-03Fix two controller bugs: filesystem bug and another possible infinite ↵Adam Ierymenko
recursion bug.
2018-03-08Fix for FileDB _networkChanged / _memberChanged problem.Adam Ierymenko
2018-01-10cleanupAdam Ierymenko
2018-01-10Doc updates and other fixes.Adam Ierymenko
2017-12-07Fix to network path in conventional filesystem controller DB.Adam Ierymenko
2017-12-07docs, and make RethinkDB controller DB driver upsert into the Controller DB ↵Adam Ierymenko
and also update the hostname field.
2017-12-05docsAdam Ierymenko
2017-11-08Move more ephemeral stuff to a tiny MemberLastRequest table instead of the ↵Adam Ierymenko
main Member table.
2017-11-08More Central work.Adam Ierymenko
2017-11-08Fix a deadlock and some more work on RethinkDB (for central) integration.Adam Ierymenko
2017-11-07Re-integrate in-filesystem DB into new controller DB structure.Adam Ierymenko