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(statsreporter): add railway platform detection (#8467)

Nageshbansalb50127b567d2
diff --git a/pkg/version/deployment.go b/pkg/version/deployment.go
index e87834528f..5d212a1a98 100644
--- a/pkg/version/deployment.go
+++ b/pkg/version/deployment.go
@@ -106,6 +106,8 @@ func detectPlatform() string {
return "render"
case os.Getenv("COOLIFY_RESOURCE_UUID") != "":
return "coolify"
+ case os.Getenv("RAILWAY_SERVICE_ID") != "":
+ return "railway"
}
// Try to detect cloud provider through metadata endpoints