Commit graph

6528 commits

Author SHA1 Message Date
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
Adam Ierymenko
e22c80dce6
Merge branch 'dev' into dev-extosdep
Some checks failed
/ build_macos (push) Has been cancelled
/ build_windows (push) Has been cancelled
/ build_ubuntu (push) Has been cancelled
2025-07-08 16:41:46 -04:00
Adam Ierymenko
8affcb0e3d
Merge pull request #2474 from zerotier/hello-encryption
Some checks failed
/ build_macos (push) Has been cancelled
/ build_windows (push) Has been cancelled
/ build_ubuntu (push) Has been cancelled
Hello encryption
2025-07-08 16:39:35 -04:00
Adam Ierymenko
16dd3fd7af Windows build fixes from clang-format, disable for Windows include order 2025-07-08 15:11:57 -04:00
Joseph Henry
a46fb73260
Merge branch 'dev' into dev-extosdep
Some checks failed
/ build_macos (push) Has been cancelled
/ build_windows (push) Has been cancelled
/ build_ubuntu (push) Has been cancelled
2025-07-07 10:48:04 -07:00
Adam Ierymenko
db6045fe9c
clang-format 2025-07-07 12:09:35 -04:00
Adam Ierymenko
4efd206dd4
build fix
Some checks failed
/ build_macos (push) Has been cancelled
/ build_windows (push) Has been cancelled
/ build_ubuntu (push) Has been cancelled
2025-07-03 19:14:39 -04:00
Adam Ierymenko
b0889e1454
Merge branch 'dev' into hello-encryption 2025-07-03 14:49:17 -04:00
Adam Ierymenko
69de477d0b
Merge branch 'dev' into dev-extosdep
Some checks failed
/ build_macos (push) Has been cancelled
/ build_windows (push) Has been cancelled
/ build_ubuntu (push) Has been cancelled
# Conflicts:
#	controller/DB.hpp
#	controller/DBMirrorSet.cpp
#	controller/DBMirrorSet.hpp
#	controller/EmbeddedNetworkController.cpp
#	controller/FileDB.cpp
#	controller/FileDB.hpp
#	controller/LFDB.cpp
#	controller/LFDB.hpp
#	controller/PostgreSQL.cpp
#	controller/PostgreSQL.hpp
#	node/Metrics.cpp
#	node/Metrics.hpp
#	osdep/EthernetTap.cpp
#	osdep/Http.hpp
#	osdep/ManagedRoute.cpp
#	service/OneService.cpp
2025-07-03 14:14:04 -04:00
Adam Ierymenko
5eb3cd2699
clang-format this branch to match dev 2025-07-03 14:10:44 -04:00
Joseph Henry
226bb1d4ef
Merge pull request #2427 from SwarmboticsAI/fix-active-backup-selection
Some checks failed
/ build_macos (push) Has been cancelled
/ build_windows (push) Has been cancelled
/ build_ubuntu (push) Has been cancelled
Fix active backup link selection
2025-07-03 10:55:38 -07:00
Joseph Henry
8753829c1b
Merge pull request #2477 from zerotier/dev-multicast-bridge-fix
Don't count bridges towards multicast limit. Send to all bridges
2025-07-03 10:14:14 -07:00
Adam Ierymenko
55e9320299
Ofast is deprecated 2025-07-03 12:55:22 -04:00