Adding OpenTelemetry Metrics and Tracing

Former-commit-id: c086e69dd0
This commit is contained in:
Marc Schäfer
2025-10-11 18:19:51 +02:00
parent 4337301c75
commit 2f75e8ea75
30 changed files with 3457 additions and 158 deletions
+7 -5
View File
@@ -8,25 +8,27 @@ import (
)
func setupClientsNative(client *websocket.Client, host string) {
return // This function is not implemented for non-Linux systems.
_ = client
_ = host
// No-op for non-Linux systems
}
func closeWgServiceNative() {
// No-op for non-Linux systems
return
}
func clientsOnConnectNative() {
// No-op for non-Linux systems
return
}
func clientsHandleNewtConnectionNative(publicKey, endpoint string) {
_ = publicKey
_ = endpoint
// No-op for non-Linux systems
return
}
func clientsAddProxyTargetNative(pm *proxy.ProxyManager, tunnelIp string) {
_ = pm
_ = tunnelIp
// No-op for non-Linux systems
return
}