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
fix: add required tags where needed (#10368)
Karan Balania0dad1602e82
diff --git a/docs/api/openapi.yml b/docs/api/openapi.ymlindex a06a2eb0af..8e03b18db1 100644--- a/docs/api/openapi.yml+++ b/docs/api/openapi.yml@@ -307,11 +307,16 @@ components:type: stringvalue:type: string+ required:+ - id+ - valuetype: objectGatewaytypesGettableCreatedIngestionKeyLimit:properties:id:type: string+ required:+ - idtype: objectGatewaytypesGettableIngestionKeys:properties:@@ -432,6 +437,8 @@ components:type: stringnullable: truetype: array+ required:+ - nametype: objectGatewaytypesPostableIngestionKeyLimit:properties:@@ -454,6 +461,8 @@ components:type: stringnullable: truetype: array+ required:+ - configtype: objectMetricsexplorertypesListMetric:properties:@@ -1933,6 +1942,11 @@ components:type: stringtier:type: string+ required:+ - name+ - state+ - tier+ - hoststype: objectZeustypesHost:properties:@@ -1942,6 +1956,10 @@ components:type: stringurl:type: string+ required:+ - name+ - is_default+ - urltype: objectZeustypesPostableHost:properties:@@ -1976,6 +1994,16 @@ components:type: booleanwhere_did_you_discover_signoz:type: string+ required:+ - uses_otel+ - has_existing_observability_tool+ - existing_observability_tool+ - reasons_for_interest_in_signoz+ - logs_scale_per_day_in_gb+ - number_of_services+ - number_of_hosts+ - where_did_you_discover_signoz+ - timeline_for_migrating_to_signoztype: objectsecuritySchemes:api_key:@@ -4777,6 +4805,7 @@ paths:parameters:- in: queryname: name+ required: trueschema:type: string- in: querydiff --git a/frontend/src/api/generated/services/gateway/index.ts b/frontend/src/api/generated/services/gateway/index.tsindex ae2f10e473..17a0285e8e 100644--- a/frontend/src/api/generated/services/gateway/index.ts+++ b/frontend/src/api/generated/services/gateway/index.ts@@ -678,7 +678,7 @@ export const useUpdateIngestionKeyLimit = <* @summary Search ingestion keys for workspace*/export const searchIngestionKeys = (- params?: SearchIngestionKeysParams,+ params: SearchIngestionKeysParams,signal?: AbortSignal,) => {return GeneratedAPIInstance<SearchIngestionKeys200>({@@ -699,7 +699,7 @@ export const getSearchIngestionKeysQueryOptions = <TData = Awaited<ReturnType<typeof searchIngestionKeys>>,TError = RenderErrorResponseDTO>(- params?: SearchIngestionKeysParams,+ params: SearchIngestionKeysParams,options?: {query?: UseQueryOptions<Awaited<ReturnType<typeof searchIngestionKeys>>,@@ -737,7 +737,7 @@ export function useSearchIngestionKeys<TData = Awaited<ReturnType<typeof searchIngestionKeys>>,TError = RenderErrorResponseDTO>(- params?: SearchIngestionKeysParams,+ params: SearchIngestionKeysParams,options?: {query?: UseQueryOptions<Awaited<ReturnType<typeof searchIngestionKeys>>,@@ -762,7 +762,7 @@ export function useSearchIngestionKeys<*/export const invalidateSearchIngestionKeys = async (queryClient: QueryClient,- params?: SearchIngestionKeysParams,+ params: SearchIngestionKeysParams,options?: InvalidateOptions,): Promise<QueryClient> => {await queryClient.invalidateQueries(diff --git a/frontend/src/api/generated/services/sigNoz.schemas.ts b/frontend/src/api/generated/services/sigNoz.schemas.tsindex 099bf22352..85ef8b5df1 100644--- a/frontend/src/api/generated/services/sigNoz.schemas.ts+++ b/frontend/src/api/generated/services/sigNoz.schemas.ts@@ -453,18 +453,18 @@ export interface GatewaytypesGettableCreatedIngestionKeyDTO {/*** @type string*/- id?: string;+ id: string;/*** @type string*/- value?: string;+ value: string;}export interface GatewaytypesGettableCreatedIngestionKeyLimitDTO {/*** @type string*/- id?: string;+ id: string;}export interface GatewaytypesGettableIngestionKeysDTO {@@ -616,7 +616,7 @@ export interface GatewaytypesPostableIngestionKeyDTO {/*** @type string*/- name?: string;+ name: string;/*** @type array* @nullable true@@ -638,7 +638,7 @@ export interface GatewaytypesPostableIngestionKeyLimitDTO {}export interface GatewaytypesUpdatableIngestionKeyLimitDTO {- config?: GatewaytypesLimitConfigDTO;+ config: GatewaytypesLimitConfigDTO;/*** @type array* @nullable true@@ -2419,34 +2419,34 @@ export interface ZeustypesGettableHostDTO {* @type array* @nullable true*/- hosts?: ZeustypesHostDTO[] | null;+ hosts: ZeustypesHostDTO[] | null;/*** @type string*/- name?: string;+ name: string;/*** @type string*/- state?: string;+ state: string;/*** @type string*/- tier?: string;+ tier: string;}export interface ZeustypesHostDTO {/*** @type boolean*/- is_default?: boolean;+ is_default: boolean;/*** @type string*/- name?: string;+ name: string;/*** @type string*/- url?: string;+ url: string;}export interface ZeustypesPostableHostDTO {@@ -2460,43 +2460,43 @@ export interface ZeustypesPostableProfileDTO {/*** @type string*/- existing_observability_tool?: string;+ existing_observability_tool: string;/*** @type boolean*/- has_existing_observability_tool?: boolean;+ has_existing_observability_tool: boolean;/*** @type integer* @format int64*/- logs_scale_per_day_in_gb?: number;+ logs_scale_per_day_in_gb: number;/*** @type integer* @format int64*/- number_of_hosts?: number;+ number_of_hosts: number;/*** @type integer* @format int64*/- number_of_services?: number;+ number_of_services: number;/*** @type array* @nullable true*/- reasons_for_interest_in_signoz?: string[] | null;+ reasons_for_interest_in_signoz: string[] | null;/*** @type string*/- timeline_for_migrating_to_signoz?: string;+ timeline_for_migrating_to_signoz: string;/*** @type boolean*/- uses_otel?: boolean;+ uses_otel: boolean;/*** @type string*/- where_did_you_discover_signoz?: string;+ where_did_you_discover_signoz: string;}export type ChangePasswordPathParameters = {@@ -3039,7 +3039,7 @@ export type SearchIngestionKeysParams = {* @type string* @description undefined*/- name?: string;+ name: string;/*** @type integer* @description undefineddiff --git a/pkg/types/gatewaytypes/ingestionkey.go b/pkg/types/gatewaytypes/ingestionkey.goindex c644ab844e..c4fe835dbc 100644--- a/pkg/types/gatewaytypes/ingestionkey.go+++ b/pkg/types/gatewaytypes/ingestionkey.go@@ -60,7 +60,7 @@ type IngestionKeysParams struct {}type SearchIngestionKeysParams struct {- Name string `query:"name"`+ Name string `query:"name" required:"true"`Page int `query:"page"`PerPage int `query:"per_page"`}@@ -71,14 +71,14 @@ type GettableIngestionKeys struct {}type PostableIngestionKey struct {- Name string `json:"name"`+ Name string `json:"name" required:"true"`Tags []string `json:"tags"`ExpiresAt time.Time `json:"expires_at"`}type GettableCreatedIngestionKey struct {- ID string `json:"id"`- Value string `json:"value"`+ ID string `json:"id" required:"true"`+ Value string `json:"value" required:"true"`}type PostableIngestionKeyLimit struct {@@ -88,10 +88,10 @@ type PostableIngestionKeyLimit struct {}type GettableCreatedIngestionKeyLimit struct {- ID string `json:"id"`+ ID string `json:"id" required:"true"`}type UpdatableIngestionKeyLimit struct {- Config LimitConfig `json:"config"`+ Config LimitConfig `json:"config" required:"true"`Tags []string `json:"tags"`}diff --git a/pkg/types/zeustypes/types.go b/pkg/types/zeustypes/types.goindex 6d15115a5a..55a4783a2d 100644--- a/pkg/types/zeustypes/types.go+++ b/pkg/types/zeustypes/types.go@@ -11,28 +11,28 @@ type PostableHost struct {}type PostableProfile struct {- UsesOtel bool `json:"uses_otel"`- HasExistingObservabilityTool bool `json:"has_existing_observability_tool"`- ExistingObservabilityTool string `json:"existing_observability_tool"`- ReasonsForInterestInSigNoz []string `json:"reasons_for_interest_in_signoz"`- LogsScalePerDayInGB int64 `json:"logs_scale_per_day_in_gb"`- NumberOfServices int64 `json:"number_of_services"`- NumberOfHosts int64 `json:"number_of_hosts"`- WhereDidYouDiscoverSigNoz string `json:"where_did_you_discover_signoz"`- TimelineForMigratingToSigNoz string `json:"timeline_for_migrating_to_signoz"`+ UsesOtel bool `json:"uses_otel" required:"true"`+ HasExistingObservabilityTool bool `json:"has_existing_observability_tool" required:"true"`+ ExistingObservabilityTool string `json:"existing_observability_tool" required:"true"`+ ReasonsForInterestInSigNoz []string `json:"reasons_for_interest_in_signoz" required:"true"`+ LogsScalePerDayInGB int64 `json:"logs_scale_per_day_in_gb" required:"true"`+ NumberOfServices int64 `json:"number_of_services" required:"true"`+ NumberOfHosts int64 `json:"number_of_hosts" required:"true"`+ WhereDidYouDiscoverSigNoz string `json:"where_did_you_discover_signoz" required:"true"`+ TimelineForMigratingToSigNoz string `json:"timeline_for_migrating_to_signoz" required:"true"`}type GettableHost struct {- Name string `json:"name"`- State string `json:"state"`- Tier string `json:"tier"`- Hosts []Host `json:"hosts"`+ Name string `json:"name" required:"true"`+ State string `json:"state" required:"true"`+ Tier string `json:"tier" required:"true"`+ Hosts []Host `json:"hosts" required:"true"`}type Host struct {- Name string `json:"name"`- IsDefault bool `json:"is_default"`- URL string `json:"url"`+ Name string `json:"name" required:"true"`+ IsDefault bool `json:"is_default" required:"true"`+ URL string `json:"url" required:"true"`}func NewGettableHost(data []byte) *GettableHost {