mirror of
https://github.com/SigNoz/signoz.git
synced 2026-03-09 23:12:20 +00:00
### 📄 Summary - Expose Zeus PutProfile, PutHost and GetHost APIs as first-class OpenAPI-spec endpoints, replacing the previous proxy-based approach - Introduce typed request structs (PostableProfile, PostableHost) instead of raw []byte for type safety and OpenAPI documentation - Wire Zeus handler through the standard dependency chain: handler interface, handler implementation, Handlers struct, signozapiserver provider #### Changes - PUT /api/v2/zeus/profiles - saves deployment profile to Zeus - PUT /api/v2/zeus/hosts - saves deployment host to Zeus - GET /api/v2/zeus/hosts - gets the deployment host from Zeus - All the above new APIs need Admin access Also: - httpzeus provider — marshaling now happens in the provider; upstream error messages are passed through instead of being swallowed; fixes wrong upstream path (/hosts → /host); adds 409 Conflict mapping; replaces errors.Newf with errors.New #### Issues closed by this PR Closes https://github.com/SigNoz/platform-pod/issues/1722