Grant Limberg
936801a51b
update gitignore
2026-03-02 14:08:07 -08:00
Grant Limberg
8f1b213994
still use use_redis column
2026-03-02 14:08:02 -08:00
Grant Limberg
7f47b2ba8f
update dockerfile to get around go stdlib bug in controller build
2026-03-02 14:07:53 -08:00
Grant Limberg
eac140aa73
Update use of ztc_controller table for changes in progress in CV1.
2026-03-02 13:14:16 -08:00
Grant Limberg
3e6a22c3d8
Fix JNI after ZT_Node_New function signature change
2025-09-11 07:36:25 -07:00
Grant Limberg
564d29e445
fix include
2025-08-12 10:52:25 -07:00
Grant Limberg
02a3929472
ctl changes for cv1 os/arch reporting
2025-08-05 12:29:29 -07:00
Grant Limberg
307c4ed4b6
network/member deletes work now
2025-07-16 16:35:28 -07:00
Grant Limberg
14c0ccc94c
trace attribs
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
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
Grant Limberg
4edeacd1f0
end cv1 spans before sleeps
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
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
2025-07-14 13:57:52 -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
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
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
2025-07-11 14:47:58 -07: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
Grant Limberg
d72b98b434
does this make windows happy?
2025-07-03 08:48:39 -07:00
Grant Limberg
813fb7a394
one more clang-format fix
2025-07-03 08:41:19 -07:00
Grant Limberg
6d532944bd
stop clang-format from breaking the build by sorting headers here
2025-07-03 08:38:21 -07:00
Grant Limberg
7cf0d7a5d8
Merge remote-tracking branch 'origin/dev' into gl/cv2-ctl
2025-07-03 08:21:39 -07:00
Grant Limberg
8636fe3c33
comment debug line
2025-07-02 11:35:59 -07:00
Grant Limberg
08e0da7921
DBMirrorSet wasn't passing along os/arch infof
2025-07-02 11:26:28 -07:00
Grant Limberg
27021ff425
debug log line
2025-07-02 11:15:21 -07:00
Grant Limberg
ecedddb19b
grab os/arch info from nc request
2025-07-02 09:17:50 -07:00
Grant Limberg
ee73ac1a74
update makefile for multi-arch controller-v2 docker build
2025-06-20 14:49:40 -07:00
Grant Limberg
169250d484
update makefile for multi-arch controller-v2 docker build
2025-06-20 14:48:18 -07:00
Grant Limberg
4fea4fc76f
debug output
2025-06-20 14:39:12 -07:00
Grant Limberg
6fa849c956
dump member save output only on error
2025-05-21 15:52:16 -07:00
Grant Limberg
3cef1b0842
error output on exceptions in commit thread
2025-05-21 08:40:11 -07:00
Grant Limberg
08b1ceb9a1
"relayed" as ip addr for unknown IP in last_seen
2025-05-21 07:24:35 -07:00
Grant Limberg
af0a9118c1
another query update
2025-05-19 11:07:18 -07:00
Grant Limberg
568da750bb
another query fix
2025-05-19 10:50:37 -07:00
Grant Limberg
d5f6f6b98e
fix sql statement
2025-05-19 10:37:52 -07:00
Grant Limberg
10ac0c2e1a
remove last_authorized_credential field.
...
Think that came from when we were trying to have the controller use the same table as CV2. It's not used or needed by the controller itself
2025-05-19 09:52:27 -07:00
Grant Limberg
1ffadf31de
Get node OS/Arch info into the CV2 db
2025-05-14 15:06:24 -07:00
Grant Limberg
224ee88b91
cleanup some debug statements
2025-05-13 13:36:39 -07:00
Grant Limberg
b42067e654
account for SSL db connection
2025-05-13 13:31:49 -07:00
Grant Limberg
c9e08c951a
add postgres tag to go install migrate
2025-05-13 13:27:25 -07:00
Grant Limberg
42f760d72f
file:// url
2025-05-13 13:21:57 -07:00
Grant Limberg
c68acebe31
Add db migrations to CV2 db
2025-05-13 13:11:27 -07:00
Grant Limberg
4b7c5159a3
"" instead of nullptr
2025-05-08 12:24:57 -07:00
Grant Limberg
4a8daf43e4
more query fixes
2025-05-08 10:33:15 -07:00
Grant Limberg
182148a26c
query fix
2025-05-08 10:10:20 -07:00
Grant Limberg
af715ca0ff
query & null fix
2025-05-08 09:22:28 -07:00
Grant Limberg
990ecb5eb1
another query fix
2025-05-07 12:12:32 -07:00
Grant Limberg
7c88b3f124
fix a couple of queries
2025-05-07 11:57:28 -07:00
Grant Limberg
af3f8b00a4
fix cv2 connection
2025-05-01 15:59:07 -07:00
Grant Limberg
db06c98608
startup script
2025-05-01 14:17:49 -07:00
Grant Limberg
332a7d1488
more fun with the startup script
2025-05-01 14:12:30 -07:00
Grant Limberg
48f9f7de14
Allow setting cv2: for the db url
2025-05-01 13:58:54 -07:00
Grant Limberg
35d37559c8
v2controller docker target on mac
2025-05-01 12:57:54 -07:00
Grant Limberg
1a6c0a5f12
reflect schema changes
2025-05-01 12:26:43 -07:00
Grant Limberg
2c8f032a76
CV2 controller. Should have everything but SSO now
2025-04-10 13:32:52 -07:00
Grant Limberg
fb7b07fc42
make sure the pg connstring is correct for cv2:// instances
2025-04-03 14:48:13 -07:00
Grant Limberg
1d2130610c
use the CV2 db instance if the path prefix is cv2://
2025-04-03 14:38:58 -07:00
Grant Limberg
0b04f772ef
make things compile
2025-04-03 14:26:09 -07:00
Grant Limberg
5c73fe9304
build fix
2025-04-03 10:45:06 -07:00
Grant Limberg
2af105000f
WIP: refactoring for CV2 db integration
2025-04-03 10:27:42 -07:00
Grant Limberg
f2521c8536
Allow setting local.conf content from Docker environment variable
2025-03-26 11:23:46 -07:00
Grant Limberg
2ef38d84d1
Merge pull request #2444 from zerotier:gl/temporal-sdk-fix
...
temporal sdk fix
2025-03-10 16:39:39 -07:00
Grant Limberg
5630d48a66
temporal sdk fix
...
missing WorkflowIdConflictPolicy
2025-03-10 16:35:10 -07:00
Grant Limberg
b44a9b8b62
Merge pull request #2443 from zerotier:gl/onelogin-fix
...
Fix AuthInfo Provider not being set
2025-03-10 16:20:06 -07:00
Grant Limberg
f5b0fc6a8f
Fix AuthInfo Provider not being set
2025-03-10 16:04:06 -07:00
Grant Limberg
b736b6835d
Update upload-artifact action to use v4
...
V3 is no longer supported and throws an error on use
2025-02-04 15:30:25 -08:00
Grant Limberg
724002f142
update rust dependencies
2024-12-04 13:43:34 -08:00
Grant Limberg
f959c2f4ca
Move osutils/OSUtils.o into CORE_OBJS
...
When building via `make core` to make libzerotiercore.a, you can't link unless OSUtils.cpp is also built & linked.
2024-10-25 09:32:13 -07:00
Grant Limberg
0b5666bde2
Merge remote-tracking branch 'origin/dev' into docker-release
2024-10-02 13:07:23 -07:00