Commit graph

6546 commits

Author SHA1 Message Date
Adam Ierymenko
a548c7ea71
Merge pull request #2482 from zerotier/otel
Some checks are pending
/ build_macos (push) Waiting to run
/ build_windows (push) Waiting to run
/ build_ubuntu (push) Waiting to run
Add OpenTelemetry support in Central Controllers
2025-08-04 12:35:05 -04:00
Lennon Day-Reynolds
969e8ff0ec
Merge pull request #2487 from zerotier/ldr/fix-windows-startup
Some checks failed
/ build_macos (push) Has been cancelled
/ build_windows (push) Has been cancelled
/ build_ubuntu (push) Has been cancelled
Windows installer fixes
2025-07-31 15:11:57 -07:00
Joseph Henry
a8ead37312
Merge pull request #2491 from zerotier/fix/standardize-linkSelectMethod-naming
fix: standardize bond link selection method JSON field naming
2025-07-29 10:29:30 -07:00
Aaron Johnson
ecec45697b fix: standardize bond link selection method JSON field naming
Adds support for "linkSelectMethod" as the JSON configuration field name
while maintaining backward compatibility with the legacy "activeReselect"
field name.

This change aligns the JSON field name with the internal API naming
convention (setLinkSelectMethod/getLinkSelectMethod) and follows the
established pattern in the codebase where JSON field names match their
corresponding setter method names.

The implementation:
- Checks for the new field name first, then falls back to the legacy name
- Emits a deprecation warning when "activeReselect" is used
- Ensures existing configurations continue to work without modification

Resolves terminology inconsistency identified in docs PR #263

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-07-28 10:32:40 -07:00
Lennon Day Reynolds
815c20c822 windows installer changes: add auto-startup shortcut for UI and auto-restart backend on failure 2025-07-17 15:22:30 -07:00
Grant Limberg
307c4ed4b6
network/member deletes work now
Some checks failed
/ build_macos (push) Has been cancelled
/ build_windows (push) Has been cancelled
/ build_ubuntu (push) Has been cancelled
2025-07-16 16:35:28 -07:00
Grant Limberg
14c0ccc94c trace attribs
Some checks are pending
/ build_macos (push) Waiting to run
/ build_windows (push) Waiting to run
/ build_ubuntu (push) Waiting to run
2025-07-16 13:12:00 -07:00
Grant Limberg
4aea588eef fixes for otel in non-controller build 2025-07-16 12:57:18 -07:00
Grant Limberg
4c4a360469 udno 2025-07-16 12:09:21 -07:00
Grant Limberg
a0253a0970 argh 2025-07-16 12:03:01 -07:00
Grant Limberg
7662ffb64a let's try saving things here 2025-07-16 11:55:21 -07:00
Grant Limberg
9375c48e33 one more addDB update 2025-07-16 11:16:06 -07:00
Grant Limberg
5494c44a30 let's try this 2025-07-16 11:13:53 -07:00
Grant Limberg
3f19712178
inheritence mess cleanup 2025-07-16 10:40:29 -07:00
Grant Limberg
4a15671e84
Merge branch 'dev' into otel 2025-07-16 10:12:54 -07:00
Grant Limberg
51b2f284f0 call DB::eraseNetwork when it should be
One of those i'm not sure how this ever worked situations
2025-07-16 09:05:54 -07:00
Lennon Day-Reynolds
67c2336176
Merge pull request #2486 from zerotier/ldr/fix-validate-action
Some checks failed
/ build_macos (push) Has been cancelled
/ build_windows (push) Has been cancelled
/ build_ubuntu (push) Has been cancelled
add 'apt update' to validation action
2025-07-15 14:32:12 -07:00
Lennon Day Reynolds
6667c57e89 add 'apt update' to validation action, as prior runs have started failing due to a stale package cache 2025-07-15 13:59:18 -07:00
Grant Limberg
4edeacd1f0 end cv1 spans before sleeps
Some checks are pending
/ build_macos (push) Waiting to run
/ build_windows (push) Waiting to run
/ build_ubuntu (push) Waiting to run
2025-07-15 12:11:10 -07:00
Grant Limberg
01bd4373b6 one more span change to end before a sleep 2025-07-15 11:26:02 -07:00
Grant Limberg
2db20f0a6c move another span outside of a sleep 2025-07-15 11:12:14 -07:00
Grant Limberg
7934fef84c end spans before thread waits
also removed some spans from the networks/members db watcher.  Those will be 5 seconds long no matter what, and the underlying processes already have their own spans
2025-07-15 11:10:19 -07:00
Grant Limberg
4b6ff77fea nevermind. Just use OTEL_SERVICE_NAME 2025-07-15 10:35:27 -07:00
Grant Limberg
a0cc7babdf set service.name iff it's not set by the OTEL_SERVICE_NAME env var 2025-07-15 10:24:18 -07:00
Grant Limberg
cf77a6a805 set service.name iff it's not set by the environment 2025-07-15 10:08:46 -07:00
Grant Limberg
b3da8d9aa1 don't specify service.name so we can override it 2025-07-15 09:53:53 -07:00
Grant Limberg
d8272b7370
remove define 2025-07-15 09:06:47 -07:00
Grant Limberg
5329326591 batch tracing spans instead of sending them all individually 2025-07-15 09:06:12 -07:00
Grant Limberg
06bc1e5e6b copy optentelemetry .so files to /usr/local/lib64 2025-07-15 08:30:45 -07:00
Grant Limberg
9b31fe1e98 fix build
Some checks are pending
/ build_macos (push) Waiting to run
/ build_windows (push) Waiting to run
/ build_ubuntu (push) Waiting to run
2025-07-14 20:38:47 -07:00
Grant Limberg
0ae551a970 more fun setting up tracing 2025-07-14 20:32:34 -07:00
Grant Limberg
8e733ff0da definition fix 2025-07-14 17:50:44 -07:00
Grant Limberg
52b6355a54 logging & config update 2025-07-14 17:27:36 -07:00
Grant Limberg
54fb480ade set exporter endpoint & sample rate in startup script
Some checks are pending
/ build_macos (push) Waiting to run
/ build_windows (push) Waiting to run
/ build_ubuntu (push) Waiting to run
2025-07-14 13:57:52 -07:00
Grant Limberg
b292d4f06d
Merge branch 'dev' into otel 2025-07-14 13:46:55 -07:00
Grant Limberg
076ed83b81 more dependencies in the build container 2025-07-14 13:34:03 -07:00
Grant Limberg
b12bc59b57 Update incllude path for Windows builds to include otel api headers 2025-07-14 13:29:02 -07:00
Grant Limberg
8e5522647a build updates 2025-07-14 10:17:52 -07:00
Grant Limberg
3fd42ad2a0 set errors in otel if/when they happen 2025-07-14 10:17:46 -07:00
Grant Limberg
99cd9d174b remove these for now
Some checks failed
/ build_macos (push) Has been cancelled
/ build_windows (push) Has been cancelled
/ build_ubuntu (push) Has been cancelled
2025-07-12 13:39:45 -07:00
Grant Limberg
f71a85a675 fix otel api-only header dir 2025-07-12 13:35:45 -07:00
Grant Limberg
b9de551e0c controller tracing 2025-07-12 13:29:07 -07:00
Grant Limberg
0e87c21d87 began instrumentation of http control plane and controller
Some checks are pending
/ build_macos (push) Waiting to run
/ build_windows (push) Waiting to run
/ build_ubuntu (push) Waiting to run
2025-07-12 12:43:57 -07:00
Grant Limberg
2c2574e182 instantiate and configure otel for controllers 2025-07-12 12:12:25 -07:00
Grant Limberg
5c3daca2a0 only build otlp stuff for central controllers
Some checks are pending
/ build_macos (push) Waiting to run
/ build_windows (push) Waiting to run
/ build_ubuntu (push) Waiting to run
2025-07-11 14:47:58 -07:00
Adam Ierymenko
5232af0a61
Merge pull request #2481 from zerotier/rust-updates
Some checks failed
/ build_macos (push) Has been cancelled
/ build_windows (push) Has been cancelled
/ build_ubuntu (push) Has been cancelled
Rust warning removal, clippy allows, update library versions.
2025-07-11 17:07:49 -04:00
Grant Limberg
7f835b414a
include the otel header-only part directly for ease of use 2025-07-11 13:12:13 -07:00
Grant Limberg
8895ad182f fix linking on linux 2025-07-11 11:20:43 -07:00
Grant Limberg
3784b66cdb
clean updates 2025-07-11 11:15:10 -07:00
Grant Limberg
0c7afe3d0a
add otel target to zerotier-one dependency in linux makefile 2025-07-11 11:12:58 -07:00