Skip to content

SigNoz is an open-source, OpenTelemetry-native observability platform for your team and their AI agents. Get logs, metrics, and traces in one tool with features like APM, distributed tracing, log management, infra monitoring, etc. Combined with SigNoz MCP and a native AI teammate (in SigNoz Cloud) it helps you build more resilient apps.

feat: adds support for Hetzner and coolify deployment platform in statsreporter (#8409)

Nageshbansal2ac45b017475
diff --git a/pkg/version/deployment.go b/pkg/version/deployment.go
index 4b19126c09..e87834528f 100644
--- a/pkg/version/deployment.go
+++ b/pkg/version/deployment.go
@@ -104,6 +104,8 @@ func detectPlatform() string {
return "heroku"
case os.Getenv("RENDER") != "" || os.Getenv("RENDER_SERVICE_ID") != "":
return "render"
+ case os.Getenv("COOLIFY_RESOURCE_UUID") != "":
+ return "coolify"
}
// Try to detect cloud provider through metadata endpoints
@@ -151,5 +153,16 @@ func detectPlatform() string {
}
}
+ // Hetzner metadata
+ if req, err := http.NewRequest(http.MethodGet, "http://169.254.169.254/hetzner/v1/metadata", nil); err == nil {
+ if resp, err := client.Do(req); err == nil {
+ resp.Body.Close()
+ if resp.StatusCode == 200 {
+ return "hetzner"
+ }
+ }
+ }
+
+
return "unknown"
}