Commit graph

6540 commits

Author SHA1 Message Date
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
Grant Limberg
478cd2840b
add otel to mac & linux builds
Off by default.  set `ZT_OTEL=1` to enable
2025-07-11 11:07:47 -07:00
Grant Limberg
fbac205e65
add otel library to ext 2025-07-11 10:37:21 -07:00
Adam Ierymenko
67e8f344ac
Rust warning removal, clippy allows, update library versions. 2025-07-11 09:50:27 -04:00
Adam Ierymenko
5fb8d2aa37
Merge pull request #2306 from zerotier/fix-flows-for-bridge-mode-mp
Some checks are pending
/ build_macos (push) Waiting to run
/ build_windows (push) Waiting to run
/ build_ubuntu (push) Waiting to run
Fix flow assignment for bridged EXT_FRAME packets
2025-07-10 15:52:03 -04:00
Adam Ierymenko
d50ec3094f
Merge pull request #2438 from zerotier/dev-extosdep
Add custom control plane for third-party device vendors
2025-07-10 15:43:09 -04:00
Joseph Henry
7473d1942d
Merge changes from dev
Some checks failed
/ build_macos (push) Has been cancelled
/ build_windows (push) Has been cancelled
/ build_ubuntu (push) Has been cancelled
2025-07-09 18:01:11 -07:00