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.
TypeScript apmapplication-monitoringdistributed-tracinggogood-first-issuejaegerloglogsmetricsmonitoringnextjsobservabilityopen-sourceopentelemetryprometheusreactreactjsself-hostedtracingtypescript
package queues
import (
"fmt"
v3 "github.com/SigNoz/signoz/pkg/query-service/model/v3"
)
type QueueListRequest struct {
Start int64 `json:"start"` // unix nano
End int64 `json:"end"` // unix nano
Filters *v3.FilterSet `json:"filters"`
Limit int `json:"limit"`
}
func (qr *QueueListRequest) Validate() error {
err := qr.Filters.Validate()
if err != nil {
return err
}
if qr.Start < 0 || qr.End < 0 {
return fmt.Errorf("start and end must be unixnano time")
}
return nil
}