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.

chore: add ability to mark API stability as beta/alpha (#12957)

Naman Verma9d9b0e194a32
diff --git a/docs/api/openapi.yml b/docs/api/openapi.yml
index 67d8fcb855..7c366ac060 100644
--- a/docs/api/openapi.yml
+++ b/docs/api/openapi.yml
@@ -10671,6 +10671,7 @@ paths:
summary: Get AI observability field keys
tags:
- ai_observability
+ x-signoz-stability: alpha
/api/v1/ai_observability/fields/values:
get:
deprecated: false
@@ -10753,6 +10754,7 @@ paths:
summary: Get AI observability field values
tags:
- ai_observability
+ x-signoz-stability: alpha
/api/v1/alerts:
get:
deprecated: false
@@ -10801,6 +10803,7 @@ paths:
summary: Get alerts
tags:
- alerts
+ x-signoz-stability: alpha
/api/v1/authz/check:
post:
deprecated: false
@@ -10839,6 +10842,7 @@ paths:
summary: Check permissions
tags:
- authz
+ x-signoz-stability: alpha
/api/v1/channels:
get:
deprecated: false
@@ -10887,6 +10891,7 @@ paths:
summary: List notification channels
tags:
- channels
+ x-signoz-stability: alpha
post:
deprecated: false
description: This endpoint creates a notification channel
@@ -10943,6 +10948,7 @@ paths:
summary: Create notification channel
tags:
- channels
+ x-signoz-stability: alpha
/api/v1/channels/{id}:
delete:
deprecated: false
@@ -10989,6 +10995,7 @@ paths:
summary: Delete notification channel
tags:
- channels
+ x-signoz-stability: alpha
get:
deprecated: false
description: This endpoint returns a notification channel by ID
@@ -11046,6 +11053,7 @@ paths:
summary: Get notification channel by ID
tags:
- channels
+ x-signoz-stability: alpha
put:
deprecated: false
description: This endpoint updates a notification channel by ID
@@ -11102,6 +11110,7 @@ paths:
summary: Update notification channel
tags:
- channels
+ x-signoz-stability: alpha
/api/v1/channels/test:
post:
deprecated: false
@@ -11147,6 +11156,7 @@ paths:
summary: Test notification channel
tags:
- channels
+ x-signoz-stability: alpha
/api/v1/cloud-integrations/{cloud_provider}/agent-check-in:
post:
deprecated: true
@@ -11205,6 +11215,7 @@ paths:
summary: Agent check-in
tags:
- cloudintegration
+ x-signoz-stability: alpha
/api/v1/cloud_integrations/{cloud_provider}/accounts:
get:
deprecated: false
@@ -11257,6 +11268,7 @@ paths:
summary: List accounts
tags:
- cloudintegration
+ x-signoz-stability: alpha
post:
deprecated: false
description: This endpoint creates a new cloud integration account for the specified
@@ -11314,6 +11326,7 @@ paths:
summary: Create account
tags:
- cloudintegration
+ x-signoz-stability: alpha
/api/v1/cloud_integrations/{cloud_provider}/accounts/{id}:
delete:
deprecated: false
@@ -11359,6 +11372,7 @@ paths:
summary: Disconnect account
tags:
- cloudintegration
+ x-signoz-stability: alpha
get:
deprecated: false
description: This endpoint gets an account for the specified cloud provider
@@ -11427,6 +11441,7 @@ paths:
summary: Get account
tags:
- cloudintegration
+ x-signoz-stability: alpha
put:
deprecated: false
description: This endpoint updates an account for the specified cloud provider
@@ -11476,6 +11491,7 @@ paths:
summary: Update account
tags:
- cloudintegration
+ x-signoz-stability: alpha
/api/v1/cloud_integrations/{cloud_provider}/accounts/{id}/services:
get:
deprecated: false
@@ -11534,6 +11550,7 @@ paths:
summary: List account services metadata
tags:
- cloudintegration
+ x-signoz-stability: alpha
/api/v1/cloud_integrations/{cloud_provider}/accounts/{id}/services/{service_id}:
get:
deprecated: false
@@ -11609,6 +11626,7 @@ paths:
summary: Get service for account
tags:
- cloudintegration
+ x-signoz-stability: alpha
put:
deprecated: false
description: This endpoint updates a service for the specified cloud provider
@@ -11663,6 +11681,7 @@ paths:
summary: Update service
tags:
- cloudintegration
+ x-signoz-stability: alpha
/api/v1/cloud_integrations/{cloud_provider}/accounts/check_in:
post:
deprecated: false
@@ -11720,6 +11739,7 @@ paths:
summary: Agent check-in
tags:
- cloudintegration
+ x-signoz-stability: alpha
/api/v1/cloud_integrations/{cloud_provider}/credentials:
get:
deprecated: false
@@ -11781,6 +11801,7 @@ paths:
summary: Get connection credentials
tags:
- cloudintegration
+ x-signoz-stability: alpha
/api/v1/cloud_integrations/{cloud_provider}/services:
get:
deprecated: false
@@ -11832,6 +11853,7 @@ paths:
summary: List services metadata
tags:
- cloudintegration
+ x-signoz-stability: alpha
/api/v1/cloud_integrations/{cloud_provider}/services/{service_id}:
get:
deprecated: false
@@ -11888,6 +11910,7 @@ paths:
summary: Get service
tags:
- cloudintegration
+ x-signoz-stability: alpha
/api/v1/complete/google:
get:
deprecated: false
@@ -11929,6 +11952,7 @@ paths:
summary: Create session by google callback
tags:
- sessions
+ x-signoz-stability: alpha
/api/v1/complete/oidc:
get:
deprecated: false
@@ -11976,6 +12000,7 @@ paths:
summary: Create session by oidc callback
tags:
- sessions
+ x-signoz-stability: alpha
/api/v1/complete/saml:
post:
deprecated: false
@@ -12042,6 +12067,7 @@ paths:
summary: Create session by saml callback
tags:
- sessions
+ x-signoz-stability: alpha
/api/v1/dashboards/{id}/public:
delete:
deprecated: false
@@ -12083,6 +12109,7 @@ paths:
summary: Delete public dashboard
tags:
- dashboard
+ x-signoz-stability: alpha
get:
deprecated: false
description: This endpoint returns public sharing config for a dashboard
@@ -12134,6 +12161,7 @@ paths:
summary: Get public dashboard
tags:
- dashboard
+ x-signoz-stability: alpha
post:
deprecated: false
description: This endpoint creates public sharing config and enables public
@@ -12191,6 +12219,7 @@ paths:
summary: Create public dashboard
tags:
- dashboard
+ x-signoz-stability: alpha
put:
deprecated: false
description: This endpoint updates the public sharing config for a dashboard
@@ -12235,6 +12264,7 @@ paths:
summary: Update public dashboard
tags:
- dashboard
+ x-signoz-stability: alpha
/api/v1/downtime_schedules:
get:
deprecated: false
@@ -12294,6 +12324,7 @@ paths:
summary: List downtime schedules
tags:
- downtimeschedules
+ x-signoz-stability: alpha
post:
deprecated: false
description: This endpoint creates a new planned maintenance / downtime schedule
@@ -12350,6 +12381,7 @@ paths:
summary: Create downtime schedule
tags:
- downtimeschedules
+ x-signoz-stability: alpha
/api/v1/downtime_schedules/{id}:
delete:
deprecated: false
@@ -12396,6 +12428,7 @@ paths:
summary: Delete downtime schedule
tags:
- downtimeschedules
+ x-signoz-stability: alpha
get:
deprecated: false
description: This endpoint returns a downtime schedule by ID
@@ -12453,6 +12486,7 @@ paths:
summary: Get downtime schedule by ID
tags:
- downtimeschedules
+ x-signoz-stability: alpha
put:
deprecated: false
description: This endpoint updates a downtime schedule by ID
@@ -12509,6 +12543,7 @@ paths:
summary: Update downtime schedule
tags:
- downtimeschedules
+ x-signoz-stability: alpha
/api/v1/export_raw_data:
post:
deprecated: false
@@ -12567,6 +12602,7 @@ paths:
tags:
- logs
- traces
+ x-signoz-stability: alpha
/api/v1/fields/keys:
get:
deprecated: false
@@ -12656,6 +12692,7 @@ paths:
summary: Get field keys
tags:
- fields
+ x-signoz-stability: alpha
/api/v1/fields/values:
get:
deprecated: false
@@ -12753,6 +12790,7 @@ paths:
summary: Get field values
tags:
- fields
+ x-signoz-stability: alpha
/api/v1/global/config:
get:
deprecated: false
@@ -12782,6 +12820,7 @@ paths:
summary: Get global config
tags:
- global
+ x-signoz-stability: alpha
/api/v1/llm_pricing_rules:
get:
deprecated: false
@@ -12852,6 +12891,7 @@ paths:
summary: List pricing rules
tags:
- llmpricingrules
+ x-signoz-stability: alpha
put:
deprecated: false
description: Single write endpoint used by both the user and the Zeus sync job.
@@ -12898,6 +12938,7 @@ paths:
summary: Create or update pricing rules
tags:
- llmpricingrules
+ x-signoz-stability: alpha
/api/v1/llm_pricing_rules/{id}:
delete:
deprecated: false
@@ -12945,6 +12986,7 @@ paths:
summary: Delete a pricing rule
tags:
- llmpricingrules
+ x-signoz-stability: alpha
get:
deprecated: false
description: Returns a single LLM pricing rule by ID.
@@ -13002,6 +13044,7 @@ paths:
summary: Get a pricing rule
tags:
- llmpricingrules
+ x-signoz-stability: alpha
/api/v1/llm_pricing_rules/unmapped_models:
get:
deprecated: false
@@ -13056,6 +13099,7 @@ paths:
summary: List unmapped models
tags:
- llmpricingrules
+ x-signoz-stability: alpha
/api/v1/logs/promote_paths:
get:
deprecated: false
@@ -13111,6 +13155,7 @@ paths:
summary: Promote and index paths
tags:
- logs
+ x-signoz-stability: alpha
post:
deprecated: false
description: This endpoints promotes and indexes paths
@@ -13158,6 +13203,7 @@ paths:
summary: Promote and index paths
tags:
- logs
+ x-signoz-stability: alpha
/api/v1/org/preferences:
get:
deprecated: false
@@ -13206,6 +13252,7 @@ paths:
summary: List org preferences
tags:
- preferences
+ x-signoz-stability: alpha
/api/v1/org/preferences/{name}:
get:
deprecated: false
@@ -13270,6 +13317,7 @@ paths:
summary: Get org preference
tags:
- preferences
+ x-signoz-stability: alpha
put:
deprecated: false
description: This endpoint updates the org preference by name
@@ -13326,6 +13374,7 @@ paths:
summary: Update org preference
tags:
- preferences
+ x-signoz-stability: alpha
/api/v1/roles:
get:
deprecated: false
@@ -13374,6 +13423,7 @@ paths:
summary: List roles
tags:
- role
+ x-signoz-stability: alpha
post:
deprecated: false
description: This endpoint creates a role
@@ -13448,6 +13498,7 @@ paths:
summary: Create role
tags:
- role
+ x-signoz-stability: alpha
/api/v1/roles/{id}:
delete:
deprecated: false
@@ -13506,6 +13557,7 @@ paths:
summary: Delete role
tags:
- role
+ x-signoz-stability: alpha
get:
deprecated: false
description: This endpoint gets a role
@@ -13557,6 +13609,7 @@ paths:
summary: Get role
tags:
- role
+ x-signoz-stability: alpha
put:
deprecated: false
description: This endpoint updates a role
@@ -13619,6 +13672,7 @@ paths:
summary: Update role
tags:
- role
+ x-signoz-stability: alpha
/api/v1/route_policies:
get:
deprecated: false
@@ -13667,6 +13721,7 @@ paths:
summary: List route policies
tags:
- routepolicies
+ x-signoz-stability: alpha
post:
deprecated: false
description: This endpoint creates a route policy
@@ -13723,6 +13778,7 @@ paths:
summary: Create route policy
tags:
- routepolicies
+ x-signoz-stability: alpha
/api/v1/route_policies/{id}:
delete:
deprecated: false
@@ -13769,6 +13825,7 @@ paths:
summary: Delete route policy
tags:
- routepolicies
+ x-signoz-stability: alpha
get:
deprecated: false
description: This endpoint returns a route policy by ID
@@ -13826,6 +13883,7 @@ paths:
summary: Get route policy by ID
tags:
- routepolicies
+ x-signoz-stability: alpha
put:
deprecated: false
description: This endpoint updates a route policy by ID
@@ -13894,6 +13952,7 @@ paths:
summary: Update route policy
tags:
- routepolicies
+ x-signoz-stability: alpha
/api/v1/service_account_roles:
post:
deprecated: false
@@ -13959,6 +14018,7 @@ paths:
summary: Create service account role
tags:
- serviceaccount
+ x-signoz-stability: alpha
/api/v1/service_account_roles/{id}:
delete:
deprecated: false
@@ -14013,6 +14073,7 @@ paths:
summary: Delete service account role
tags:
- serviceaccount
+ x-signoz-stability: alpha
get:
deprecated: false
description: This endpoint gets an existing service account role
@@ -14076,6 +14137,7 @@ paths:
summary: Get service account role
tags:
- serviceaccount
+ x-signoz-stability: alpha
/api/v1/service_accounts:
get:
deprecated: false
@@ -14124,6 +14186,7 @@ paths:
summary: List service accounts
tags:
- serviceaccount
+ x-signoz-stability: alpha
post:
deprecated: false
description: This endpoint creates a service account
@@ -14186,6 +14249,7 @@ paths:
summary: Create service account
tags:
- serviceaccount
+ x-signoz-stability: alpha
/api/v1/service_accounts/{id}:
delete:
deprecated: false
@@ -14232,6 +14296,7 @@ paths:
summary: Deletes a service account
tags:
- serviceaccount
+ x-signoz-stability: alpha
get:
deprecated: false
description: This endpoint gets an existing service account
@@ -14289,6 +14354,7 @@ paths:
summary: Gets a service account
tags:
- serviceaccount
+ x-signoz-stability: alpha
put:
deprecated: false
description: This endpoint updates an existing service account
@@ -14345,6 +14411,7 @@ paths:
summary: Updates a service account
tags:
- serviceaccount
+ x-signoz-stability: alpha
/api/v1/service_accounts/{id}/keys:
get:
deprecated: false
@@ -14399,6 +14466,7 @@ paths:
summary: List service account keys
tags:
- serviceaccount
+ x-signoz-stability: alpha
post:
deprecated: false
description: This endpoint creates a service account key
@@ -14469,6 +14537,7 @@ paths:
summary: Create a service account key
tags:
- serviceaccount
+ x-signoz-stability: alpha
/api/v1/service_accounts/{id}/keys/{fid}:
delete:
deprecated: false
@@ -14522,6 +14591,7 @@ paths:
summary: Revoke a service account key
tags:
- serviceaccount
+ x-signoz-stability: alpha
put:
deprecated: false
description: This endpoint updates an existing service account key
@@ -14583,6 +14653,7 @@ paths:
summary: Updates a service account key
tags:
- serviceaccount
+ x-signoz-stability: alpha
/api/v1/service_accounts/{id}/roles:
get:
deprecated: false
@@ -14644,6 +14715,7 @@ paths:
summary: Gets service account roles
tags:
- serviceaccount
+ x-signoz-stability: alpha
/api/v1/service_accounts/me:
get:
deprecated: false
@@ -14679,6 +14751,7 @@ paths:
summary: Gets my service account
tags:
- serviceaccount
+ x-signoz-stability: alpha
put:
deprecated: false
description: This endpoint gets my service account
@@ -14706,6 +14779,7 @@ paths:
summary: Updates my service account
tags:
- serviceaccount
+ x-signoz-stability: alpha
/api/v1/span_mapper_groups:
get:
deprecated: false
@@ -14765,6 +14839,7 @@ paths:
summary: List span attribute mapping groups
tags:
- spanmapper
+ x-signoz-stability: alpha
post:
deprecated: false
description: Creates a new span attribute mapping group for the org.
@@ -14827,6 +14902,7 @@ paths:
summary: Create a span attribute mapping group
tags:
- spanmapper
+ x-signoz-stability: alpha
/api/v1/span_mapper_groups/{groupId}:
delete:
deprecated: false
@@ -14873,6 +14949,7 @@ paths:
summary: Delete a span attribute mapping group
tags:
- spanmapper
+ x-signoz-stability: alpha
patch:
deprecated: false
description: Partially updates an existing mapping group's name, condition,
@@ -14930,6 +15007,7 @@ paths:
summary: Update a span attribute mapping group
tags:
- spanmapper
+ x-signoz-stability: alpha
/api/v1/span_mapper_groups/{groupId}/span_mappers:
get:
deprecated: false
@@ -14994,6 +15072,7 @@ paths:
summary: List span mappers for a group
tags:
- spanmapper
+ x-signoz-stability: alpha
post:
deprecated: false
description: Adds a new mapper to the specified mapping group.
@@ -15068,6 +15147,7 @@ paths:
summary: Create a span mapper
tags:
- spanmapper
+ x-signoz-stability: alpha
/api/v1/span_mapper_groups/{groupId}/span_mappers/{mapperId}:
delete:
deprecated: false
@@ -15119,6 +15199,7 @@ paths:
summary: Delete a span mapper
tags:
- spanmapper
+ x-signoz-stability: alpha
patch:
deprecated: false
description: Partially updates an existing mapper's field context, config, or
@@ -15181,6 +15262,7 @@ paths:
summary: Update a span mapper
tags:
- spanmapper
+ x-signoz-stability: alpha
/api/v1/span_mapper_groups/test:
post:
deprecated: false
@@ -15244,6 +15326,7 @@ paths:
summary: Test span mappers against sample spans
tags:
- spanmapper
+ x-signoz-stability: alpha
/api/v1/stats:
get:
deprecated: false
@@ -15291,6 +15374,7 @@ paths:
summary: Get stats
tags:
- stats
+ x-signoz-stability: alpha
/api/v1/subscriptions:
get:
deprecated: false
@@ -15350,6 +15434,7 @@ paths:
summary: Get the subscription.
tags:
- subscriptions
+ x-signoz-stability: alpha
post:
deprecated: false
description: This endpoint creates a subscription for the organization.
@@ -15418,6 +15503,7 @@ paths:
summary: Create a subscription.
tags:
- subscriptions
+ x-signoz-stability: alpha
put:
deprecated: false
description: This endpoint updates the organization's subscription.
@@ -15482,6 +15568,7 @@ paths:
summary: Update the subscription.
tags:
- subscriptions
+ x-signoz-stability: alpha
/api/v1/testChannel:
post:
deprecated: true
@@ -15527,6 +15614,7 @@ paths:
summary: Test notification channel (deprecated)
tags:
- channels
+ x-signoz-stability: alpha
/api/v1/traces/{traceID}/aggregations:
post:
deprecated: false
@@ -15596,6 +15684,7 @@ paths:
summary: Get aggregations for a trace
tags:
- tracedetail
+ x-signoz-stability: alpha
/api/v1/user/me:
get:
deprecated: true
@@ -15634,6 +15723,7 @@ paths:
summary: Get my user
tags:
- users
+ x-signoz-stability: alpha
/api/v1/user/preferences:
get:
deprecated: false
@@ -15682,6 +15772,7 @@ paths:
summary: List user preferences
tags:
- preferences
+ x-signoz-stability: alpha
/api/v1/user/preferences/{name}:
get:
deprecated: false
@@ -15740,6 +15831,7 @@ paths:
summary: Get user preference
tags:
- preferences
+ x-signoz-stability: alpha
put:
deprecated: false
description: This endpoint updates the user preference by name
@@ -15796,6 +15888,7 @@ paths:
summary: Update user preference
tags:
- preferences
+ x-signoz-stability: alpha
/api/v2/auth_domains:
get:
deprecated: false
@@ -15844,6 +15937,7 @@ paths:
summary: List all auth domains
tags:
- authdomains
+ x-signoz-stability: alpha
post:
deprecated: false
description: This endpoint creates an auth domain
@@ -15910,6 +16004,7 @@ paths:
summary: Create auth domain
tags:
- authdomains
+ x-signoz-stability: alpha
/api/v2/auth_domains/{id}:
delete:
deprecated: false
@@ -15956,6 +16051,7 @@ paths:
summary: Delete auth domain
tags:
- authdomains
+ x-signoz-stability: alpha
get:
deprecated: false
description: This endpoint returns an auth domain by ID
@@ -16013,6 +16109,7 @@ paths:
summary: Get auth domain by ID
tags:
- authdomains
+ x-signoz-stability: alpha
put:
deprecated: false
description: This endpoint updates an auth domain
@@ -16077,6 +16174,7 @@ paths:
summary: Update auth domain
tags:
- authdomains
+ x-signoz-stability: alpha
/api/v2/dashboard_views:
get:
deprecated: false
@@ -16124,6 +16222,7 @@ paths:
summary: List dashboard saved views
tags:
- dashboard
+ x-signoz-stability: alpha
post:
deprecated: false
description: Persists the calling user's dashboard listing state (query, sort,
@@ -16181,6 +16280,7 @@ paths:
summary: Create dashboard saved view
tags:
- dashboard
+ x-signoz-stability: alpha
/api/v2/dashboard_views/{id}:
delete:
deprecated: false
@@ -16234,6 +16334,7 @@ paths:
summary: Delete dashboard saved view
tags:
- dashboard
+ x-signoz-stability: alpha
put:
deprecated: false
description: Replaces a saved view's name and data. Saved views are shared org-wide.
@@ -16302,6 +16403,7 @@ paths:
summary: Update dashboard saved view
tags:
- dashboard
+ x-signoz-stability: alpha
/api/v2/dashboards:
get:
deprecated: false
@@ -16379,6 +16481,7 @@ paths:
summary: List dashboards (v2)
tags:
- dashboard
+ x-signoz-stability: alpha
post:
deprecated: false
description: This endpoint creates a dashboard in the v2 format that follows
@@ -16436,6 +16539,7 @@ paths:
summary: Create dashboard (v2)
tags:
- dashboard
+ x-signoz-stability: alpha
/api/v2/dashboards/{id}:
delete:
deprecated: false
@@ -16489,6 +16593,7 @@ paths:
summary: Delete dashboard (v2)
tags:
- dashboard
+ x-signoz-stability: alpha
get:
deprecated: false
description: This endpoint returns a v2-shape dashboard.
@@ -16552,6 +16657,7 @@ paths:
summary: Get dashboard (v2)
tags:
- dashboard
+ x-signoz-stability: alpha
patch:
deprecated: false
description: 'This endpoint applies an RFC 6902 JSON Patch to a v2-shape dashboard.
@@ -16626,6 +16732,7 @@ paths:
summary: Patch dashboard (v2)
tags:
- dashboard
+ x-signoz-stability: alpha
put:
deprecated: false
description: This endpoint updates a v2-shape dashboard's metadata, data, and
@@ -16695,6 +16802,7 @@ paths:
summary: Update dashboard (v2)
tags:
- dashboard
+ x-signoz-stability: alpha
/api/v2/dashboards/{id}/clone:
post:
deprecated: false
@@ -16765,6 +16873,7 @@ paths:
summary: Clone dashboard (v2)
tags:
- dashboard
+ x-signoz-stability: alpha
/api/v2/dashboards/{id}/lock:
delete:
deprecated: false
@@ -16818,6 +16927,7 @@ paths:
summary: Unlock dashboard (v2)
tags:
- dashboard
+ x-signoz-stability: alpha
put:
deprecated: false
description: This endpoint locks a v2-shape dashboard. Only the dashboard's
@@ -16870,6 +16980,7 @@ paths:
summary: Lock dashboard (v2)
tags:
- dashboard
+ x-signoz-stability: alpha
/api/v2/dashboards/{id}/migrate:
post:
deprecated: false
@@ -16936,6 +17047,7 @@ paths:
summary: Migrate dashboard to v2
tags:
- dashboard
+ x-signoz-stability: alpha
/api/v2/dashboards/system/{name}:
get:
deprecated: false
@@ -17003,6 +17115,7 @@ paths:
summary: Get system dashboard
tags:
- dashboard
+ x-signoz-stability: alpha
/api/v2/factor_password/forgot:
post:
deprecated: false
@@ -17038,6 +17151,7 @@ paths:
summary: Forgot password
tags:
- users
+ x-signoz-stability: alpha
/api/v2/factor_password/reset:
post:
deprecated: false
@@ -17073,6 +17187,7 @@ paths:
summary: Reset password
tags:
- users
+ x-signoz-stability: alpha
/api/v2/features:
get:
deprecated: false
@@ -17119,6 +17234,7 @@ paths:
summary: Get features
tags:
- features
+ x-signoz-stability: alpha
/api/v2/gateway/ingestion_keys:
get:
deprecated: false
@@ -17174,6 +17290,7 @@ paths:
summary: Get ingestion keys for workspace
tags:
- gateway
+ x-signoz-stability: alpha
post:
deprecated: false
description: This endpoint creates an ingestion key for the workspace
@@ -17224,6 +17341,7 @@ paths:
summary: Create ingestion key for workspace
tags:
- gateway
+ x-signoz-stability: alpha
/api/v2/gateway/ingestion_keys/{keyId}:
delete:
deprecated: false
@@ -17264,6 +17382,7 @@ paths:
summary: Delete ingestion key for workspace
tags:
- gateway
+ x-signoz-stability: alpha
get:
deprecated: false
description: This endpoint returns an ingestion key for the workspace
@@ -17321,6 +17440,7 @@ paths:
summary: Get ingestion key for workspace
tags:
- gateway
+ x-signoz-stability: alpha
patch:
deprecated: false
description: This endpoint updates an ingestion key for the workspace
@@ -17365,6 +17485,7 @@ paths:
summary: Update ingestion key for workspace
tags:
- gateway
+ x-signoz-stability: alpha
/api/v2/gateway/ingestion_keys/{keyId}/limits:
get:
deprecated: false
@@ -17426,6 +17547,7 @@ paths:
summary: Get limits for the ingestion key
tags:
- gateway
+ x-signoz-stability: alpha
post:
deprecated: true
description: This endpoint creates an ingestion key limit.
@@ -17484,6 +17606,7 @@ paths:
summary: Create limit for the ingestion key
tags:
- gateway
+ x-signoz-stability: alpha
/api/v2/gateway/ingestion_keys/limits/{limitId}:
delete:
deprecated: true
@@ -17526,6 +17649,7 @@ paths:
summary: Delete limit for the ingestion key
tags:
- gateway
+ x-signoz-stability: alpha
patch:
deprecated: true
description: This endpoint updates an ingestion key limit.
@@ -17570,6 +17694,7 @@ paths:
summary: Update limit for the ingestion key
tags:
- gateway
+ x-signoz-stability: alpha
/api/v2/gateway/ingestion_keys/search:
get:
deprecated: false
@@ -17630,6 +17755,7 @@ paths:
summary: Search ingestion keys for workspace
tags:
- gateway
+ x-signoz-stability: alpha
/api/v2/gateway/ingestion_limits:
post:
deprecated: false
@@ -17690,6 +17816,7 @@ paths:
summary: Create ingestion limit
tags:
- gateway
+ x-signoz-stability: alpha
/api/v2/gateway/ingestion_limits/{limitId}:
delete:
deprecated: false
@@ -17732,6 +17859,7 @@ paths:
summary: Delete ingestion limit
tags:
- gateway
+ x-signoz-stability: alpha
get:
deprecated: false
description: This endpoint returns an ingestion limit
@@ -17789,6 +17917,7 @@ paths:
summary: Get ingestion limit
tags:
- gateway
+ x-signoz-stability: alpha
patch:
deprecated: false
description: This endpoint updates an ingestion limit
@@ -17833,6 +17962,7 @@ paths:
summary: Update ingestion limit
tags:
- gateway
+ x-signoz-stability: alpha
/api/v2/healthz:
get:
operationId: Healthz
@@ -17868,6 +17998,7 @@ paths:
summary: Health check
tags:
- health
+ x-signoz-stability: alpha
/api/v2/infra_monitoring/checks:
get:
deprecated: false
@@ -17934,6 +18065,7 @@ paths:
summary: Run Infra Monitoring Setup Checks
tags:
- inframonitoring
+ x-signoz-stability: alpha
/api/v2/infra_monitoring/clusters:
post:
deprecated: false
@@ -18007,6 +18139,7 @@ paths:
summary: List Clusters for Infra Monitoring
tags:
- inframonitoring
+ x-signoz-stability: alpha
/api/v2/infra_monitoring/daemonsets:
post:
deprecated: false
@@ -18090,6 +18223,7 @@ paths:
summary: List DaemonSets for Infra Monitoring
tags:
- inframonitoring
+ x-signoz-stability: alpha
/api/v2/infra_monitoring/deployments:
post:
deprecated: false
@@ -18167,6 +18301,7 @@ paths:
summary: List Deployments for Infra Monitoring
tags:
- inframonitoring
+ x-signoz-stability: alpha
/api/v2/infra_monitoring/hosts:
post:
deprecated: false
@@ -18234,6 +18369,7 @@ paths:
summary: List Hosts for Infra Monitoring
tags:
- inframonitoring
+ x-signoz-stability: alpha
/api/v2/infra_monitoring/jobs:
post:
deprecated: false
@@ -18315,6 +18451,7 @@ paths:
summary: List Jobs for Infra Monitoring
tags:
- inframonitoring
+ x-signoz-stability: alpha
/api/v2/infra_monitoring/kube_containers:
post:
deprecated: false
@@ -18395,6 +18532,7 @@ paths:
summary: List Kubernetes Containers for Infra Monitoring
tags:
- inframonitoring
+ x-signoz-stability: alpha
/api/v2/infra_monitoring/namespaces:
post:
deprecated: false
@@ -18465,6 +18603,7 @@ paths:
summary: List Namespaces for Infra Monitoring
tags:
- inframonitoring
+ x-signoz-stability: alpha
/api/v2/infra_monitoring/nodes:
post:
deprecated: false
@@ -18539,6 +18678,7 @@ paths:
summary: List Nodes for Infra Monitoring
tags:
- inframonitoring
+ x-signoz-stability: alpha
/api/v2/infra_monitoring/pods:
post:
deprecated: false
@@ -18614,6 +18754,7 @@ paths:
summary: List Pods for Infra Monitoring
tags:
- inframonitoring
+ x-signoz-stability: alpha
/api/v2/infra_monitoring/pvcs:
post:
deprecated: false
@@ -18684,6 +18825,7 @@ paths:
summary: List Volumes for Infra Monitoring
tags:
- inframonitoring
+ x-signoz-stability: alpha
/api/v2/infra_monitoring/statefulsets:
post:
deprecated: false
@@ -18761,6 +18903,7 @@ paths:
summary: List StatefulSets for Infra Monitoring
tags:
- inframonitoring
+ x-signoz-stability: alpha
/api/v2/livez:
get:
deprecated: false
@@ -18790,6 +18933,7 @@ paths:
summary: Liveness check
tags:
- health
+ x-signoz-stability: alpha
/api/v2/metric_reduction_rules:
get:
deprecated: false
@@ -18873,6 +19017,7 @@ paths:
summary: List metric reduction rules
tags:
- metrics
+ x-signoz-stability: alpha
post:
deprecated: false
description: Creates a volume-control rule for a metric and returns it with
@@ -18948,6 +19093,7 @@ paths:
summary: Create a metric reduction rule
tags:
- metrics
+ x-signoz-stability: alpha
/api/v2/metric_reduction_rules/{id}:
delete:
deprecated: false
@@ -19006,6 +19152,7 @@ paths:
summary: Delete a metric reduction rule by id
tags:
- metrics
+ x-signoz-stability: alpha
get:
deprecated: false
description: Returns a single volume-control rule by its id.
@@ -19075,6 +19222,7 @@ paths:
summary: Get a metric reduction rule by id
tags:
- metrics
+ x-signoz-stability: alpha
put:
deprecated: false
description: Updates the match type and labels of a volume-control rule by its
@@ -19156,6 +19304,7 @@ paths:
summary: Update a metric reduction rule by id
tags:
- metrics
+ x-signoz-stability: alpha
/api/v2/metric_reduction_rules/preview:
post:
deprecated: false
@@ -19232,6 +19381,7 @@ paths:
summary: Preview a metric reduction rule
tags:
- metrics
+ x-signoz-stability: alpha
/api/v2/metric_reduction_rules/stats:
get:
deprecated: false
@@ -19291,6 +19441,7 @@ paths:
summary: Metric reduction stats
tags:
- metrics
+ x-signoz-stability: alpha
/api/v2/metric_reduction_rules/timeseries:
get:
deprecated: false
@@ -19350,6 +19501,7 @@ paths:
summary: Metric reduction volume over time
tags:
- metrics
+ x-signoz-stability: alpha
/api/v2/metrics:
get:
deprecated: false
@@ -19426,6 +19578,7 @@ paths:
summary: List metric names
tags:
- metrics
+ x-signoz-stability: alpha
/api/v2/metrics/alerts:
get:
deprecated: false
@@ -19494,6 +19647,7 @@ paths:
summary: Get metric alerts
tags:
- metrics
+ x-signoz-stability: alpha
/api/v2/metrics/attributes:
get:
deprecated: false
@@ -19577,6 +19731,7 @@ paths:
summary: Get metric attributes
tags:
- metrics
+ x-signoz-stability: alpha
/api/v2/metrics/highlights:
get:
deprecated: false
@@ -19646,6 +19801,7 @@ paths:
summary: Get metric highlights
tags:
- metrics
+ x-signoz-stability: alpha
/api/v2/metrics/inspect:
post:
deprecated: false
@@ -19704,6 +19860,7 @@ paths:
summary: Inspect raw metric data points
tags:
- metrics
+ x-signoz-stability: alpha
/api/v2/metrics/metadata:
get:
deprecated: false
@@ -19773,6 +19930,7 @@ paths:
summary: Get metric metadata
tags:
- metrics
+ x-signoz-stability: alpha
post:
deprecated: false
description: This endpoint helps to update metadata information like metric
@@ -19818,6 +19976,7 @@ paths:
summary: Update metric metadata
tags:
- metrics
+ x-signoz-stability: alpha
/api/v2/metrics/onboarding:
get:
deprecated: false
@@ -19865,6 +20024,7 @@ paths:
summary: Check if non-SigNoz metrics have been received
tags:
- metrics
+ x-signoz-stability: alpha
/api/v2/metrics/stats:
post:
deprecated: false
@@ -19923,6 +20083,7 @@ paths:
summary: Get metrics statistics
tags:
- metrics
+ x-signoz-stability: alpha
/api/v2/metrics/treemap:
post:
deprecated: false
@@ -19981,6 +20142,7 @@ paths:
summary: Get metrics treemap
tags:
- metrics
+ x-signoz-stability: alpha
/api/v2/notification_channels:
get:
deprecated: false
@@ -20062,6 +20224,7 @@ paths:
summary: List notification channels
tags:
- channels
+ x-signoz-stability: development
post:
deprecated: false
description: This endpoint creates a notification channel
@@ -20124,6 +20287,7 @@ paths:
summary: Create notification channel
tags:
- channels
+ x-signoz-stability: development
/api/v2/notification_channels/{id}:
delete:
deprecated: false
@@ -20176,6 +20340,7 @@ paths:
summary: Delete notification channel
tags:
- channels
+ x-signoz-stability: development
get:
deprecated: false
description: This endpoint returns a notification channel by ID. A channel written
@@ -20240,6 +20405,7 @@ paths:
summary: Get notification channel by ID
tags:
- channels
+ x-signoz-stability: development
put:
deprecated: false
description: 'This endpoint replaces a notification channel''s configuration
@@ -20310,6 +20476,7 @@ paths:
summary: Update notification channel
tags:
- channels
+ x-signoz-stability: development
/api/v2/notification_channels/{id}/repair:
post:
deprecated: false
@@ -20389,6 +20556,7 @@ paths:
summary: Repair notification channel
tags:
- channels
+ x-signoz-stability: development
/api/v2/notification_channels/test:
post:
deprecated: false
@@ -20436,6 +20604,7 @@ paths:
summary: Test notification channel
tags:
- channels
+ x-signoz-stability: development
/api/v2/orgs/me:
get:
deprecated: false
@@ -20482,6 +20651,7 @@ paths:
summary: Get my organization
tags:
- orgs
+ x-signoz-stability: alpha
put:
deprecated: false
description: This endpoint updates the organization I belong to
@@ -20532,6 +20702,7 @@ paths:
summary: Update my organization
tags:
- orgs
+ x-signoz-stability: alpha
/api/v2/public/dashboards/{id}:
get:
deprecated: false
@@ -20596,6 +20767,7 @@ paths:
summary: Get public dashboard data (v2)
tags:
- dashboard
+ x-signoz-stability: alpha
/api/v2/public/dashboards/{id}/panels/{key}/query_range:
get:
deprecated: false
@@ -20674,6 +20846,7 @@ paths:
summary: Get query range result (v2)
tags:
- dashboard
+ x-signoz-stability: alpha
/api/v2/quick_filters:
get:
deprecated: false
@@ -20729,6 +20902,7 @@ paths:
summary: List quick filters
tags:
- quick_filter
+ x-signoz-stability: alpha
/api/v2/quick_filters/{source}:
get:
deprecated: false
@@ -20788,6 +20962,7 @@ paths:
summary: Get a source's quick filters
tags:
- quick_filter
+ x-signoz-stability: alpha
put:
deprecated: false
description: Replaces the org's quick filters for the source named in the path.
@@ -20838,6 +21013,7 @@ paths:
summary: Update quick filters
tags:
- quick_filter
+ x-signoz-stability: alpha
/api/v2/readyz:
get:
operationId: Readyz
@@ -20873,6 +21049,7 @@ paths:
summary: Readiness check
tags:
- health
+ x-signoz-stability: alpha
/api/v2/reset_password_tokens/verify:
post:
deprecated: false
@@ -20908,6 +21085,7 @@ paths:
summary: Verify a reset password token
tags:
- users
+ x-signoz-stability: alpha
/api/v2/roles/{id}/users:
get:
deprecated: false
@@ -20968,6 +21146,7 @@ paths:
summary: Get users by role id
tags:
- users
+ x-signoz-stability: alpha
/api/v2/rules:
get:
deprecated: true
@@ -21018,6 +21197,7 @@ paths:
summary: List alert rules
tags:
- rules
+ x-signoz-stability: alpha
post:
deprecated: false
description: This endpoint creates a new alert rule
@@ -21858,6 +22038,7 @@ paths:
summary: Create alert rule
tags:
- rules
+ x-signoz-stability: alpha
/api/v2/rules/{id}:
delete:
deprecated: false
@@ -21904,6 +22085,7 @@ paths:
summary: Delete alert rule
tags:
- rules
+ x-signoz-stability: alpha
get:
deprecated: false
description: This endpoint returns an alert rule by ID
@@ -21961,6 +22143,7 @@ paths:
summary: Get alert rule by ID
tags:
- rules
+ x-signoz-stability: alpha
patch:
deprecated: false
description: This endpoint applies a partial update to an alert rule by ID
@@ -22813,6 +22996,7 @@ paths:
summary: Patch alert rule
tags:
- rules
+ x-signoz-stability: alpha
put:
deprecated: false
description: This endpoint updates an alert rule by ID
@@ -23653,6 +23837,7 @@ paths:
summary: Update alert rule
tags:
- rules
+ x-signoz-stability: alpha
/api/v2/rules/{id}/history/filter_keys:
get:
deprecated: false
@@ -23754,6 +23939,7 @@ paths:
summary: Get rule history filter keys
tags:
- rules
+ x-signoz-stability: alpha
/api/v2/rules/{id}/history/filter_values:
get:
deprecated: false
@@ -23863,6 +24049,7 @@ paths:
summary: Get rule history filter values
tags:
- rules
+ x-signoz-stability: alpha
/api/v2/rules/{id}/history/overall_status:
get:
deprecated: false
@@ -23937,6 +24124,7 @@ paths:
summary: Get rule overall status timeline
tags:
- rules
+ x-signoz-stability: alpha
/api/v2/rules/{id}/history/stats:
get:
deprecated: false
@@ -24008,6 +24196,7 @@ paths:
summary: Get rule history stats
tags:
- rules
+ x-signoz-stability: alpha
/api/v2/rules/{id}/history/timeline:
get:
deprecated: false
@@ -24099,6 +24288,7 @@ paths:
summary: Get rule history timeline
tags:
- rules
+ x-signoz-stability: alpha
/api/v2/rules/{id}/history/top_contributors:
get:
deprecated: false
@@ -24173,6 +24363,7 @@ paths:
summary: Get top contributors to rule firing
tags:
- rules
+ x-signoz-stability: alpha
/api/v2/rules/test:
post:
deprecated: false
@@ -25014,6 +25205,7 @@ paths:
summary: Test alert rule
tags:
- rules
+ x-signoz-stability: alpha
/api/v2/saved_views:
get:
deprecated: false
@@ -25078,6 +25270,7 @@ paths:
summary: List saved views
tags:
- saved_view
+ x-signoz-stability: alpha
post:
deprecated: false
description: Persists a saved view for the explore page. Returns the id of the
@@ -25141,6 +25334,7 @@ paths:
summary: Create saved view
tags:
- saved_view
+ x-signoz-stability: alpha
/api/v2/saved_views/{id}:
delete:
deprecated: false
@@ -25193,6 +25387,7 @@ paths:
summary: Delete saved view
tags:
- saved_view
+ x-signoz-stability: alpha
get:
deprecated: false
description: Returns a saved view by id.
@@ -25256,6 +25451,7 @@ paths:
summary: Get saved view
tags:
- saved_view
+ x-signoz-stability: alpha
put:
deprecated: false
description: Replaces a saved view's name and query.
@@ -25312,6 +25508,7 @@ paths:
summary: Update saved view
tags:
- saved_view
+ x-signoz-stability: alpha
/api/v2/sessions:
delete:
deprecated: false
@@ -25349,6 +25546,7 @@ paths:
summary: Delete session
tags:
- sessions
+ x-signoz-stability: alpha
/api/v2/sessions/context:
get:
deprecated: false
@@ -25384,6 +25582,7 @@ paths:
summary: Get session context
tags:
- sessions
+ x-signoz-stability: alpha
/api/v2/sessions/email_password:
post:
deprecated: false
@@ -25430,6 +25629,7 @@ paths:
summary: Create session by email and password
tags:
- sessions
+ x-signoz-stability: alpha
/api/v2/sessions/rotate:
post:
deprecated: false
@@ -25470,6 +25670,7 @@ paths:
summary: Rotate session
tags:
- sessions
+ x-signoz-stability: alpha
/api/v2/user_roles:
post:
deprecated: false
@@ -25533,6 +25734,7 @@ paths:
summary: Create user role
tags:
- users
+ x-signoz-stability: alpha
/api/v2/user_roles/{id}:
delete:
deprecated: false
@@ -25585,6 +25787,7 @@ paths:
summary: Delete user role
tags:
- users
+ x-signoz-stability: alpha
get:
deprecated: false
description: This endpoint gets an existing user role
@@ -25648,6 +25851,7 @@ paths:
summary: Get user role
tags:
- users
+ x-signoz-stability: alpha
/api/v2/users:
get:
deprecated: false
@@ -25696,6 +25900,7 @@ paths:
summary: List users v2
tags:
- users
+ x-signoz-stability: alpha
post:
deprecated: false
description: This endpoint creates a user for the organization
@@ -25758,6 +25963,7 @@ paths:
summary: Create user
tags:
- users
+ x-signoz-stability: alpha
/api/v2/users/{id}:
delete:
deprecated: false
@@ -25804,6 +26010,7 @@ paths:
summary: Delete user
tags:
- users
+ x-signoz-stability: alpha
get:
deprecated: false
description: This endpoint returns the user by id
@@ -25861,6 +26068,7 @@ paths:
summary: Get user by user id
tags:
- users
+ x-signoz-stability: alpha
put:
deprecated: false
description: This endpoint updates the user by id
@@ -25917,6 +26125,7 @@ paths:
summary: Update user v2
tags:
- users
+ x-signoz-stability: alpha
/api/v2/users/{id}/reset_password_tokens:
get:
deprecated: false
@@ -25975,6 +26184,7 @@ paths:
summary: Get reset password token for a user
tags:
- users
+ x-signoz-stability: alpha
put:
deprecated: false
description: This endpoint creates or regenerates a reset password token for
@@ -26040,6 +26250,7 @@ paths:
summary: Create or regenerate reset password token for a user
tags:
- users
+ x-signoz-stability: alpha
/api/v2/users/{id}/roles:
get:
deprecated: false
@@ -26100,6 +26311,7 @@ paths:
summary: Get user roles
tags:
- users
+ x-signoz-stability: alpha
/api/v2/users/me:
get:
deprecated: false
@@ -26143,6 +26355,7 @@ paths:
summary: Get my user v2
tags:
- users
+ x-signoz-stability: alpha
put:
deprecated: false
description: This endpoint updates the user I belong to
@@ -26178,6 +26391,7 @@ paths:
summary: Update my user v2
tags:
- users
+ x-signoz-stability: alpha
/api/v2/users/me/dashboards:
get:
deprecated: false
@@ -26254,6 +26468,7 @@ paths:
summary: List dashboards for the current user (v2)
tags:
- dashboard
+ x-signoz-stability: alpha
/api/v2/users/me/dashboards/{id}/pins:
delete:
deprecated: false
@@ -26301,6 +26516,7 @@ paths:
summary: Unpin a dashboard for the current user (v2)
tags:
- dashboard
+ x-signoz-stability: alpha
put:
deprecated: false
description: Pins the dashboard for the calling user. A user can pin at most
@@ -26360,6 +26576,7 @@ paths:
summary: Pin a dashboard for the current user (v2)
tags:
- dashboard
+ x-signoz-stability: alpha
/api/v2/users/me/factor_password:
put:
deprecated: false
@@ -26411,6 +26628,7 @@ paths:
summary: Updates my password
tags:
- users
+ x-signoz-stability: alpha
/api/v2/zeus/hosts:
get:
deprecated: false
@@ -26469,6 +26687,7 @@ paths:
summary: Get host info from Zeus.
tags:
- zeus
+ x-signoz-stability: alpha
put:
deprecated: false
description: This endpoint saves the host of a deployment to zeus.
@@ -26525,6 +26744,7 @@ paths:
summary: Put host in Zeus for a deployment.
tags:
- zeus
+ x-signoz-stability: alpha
/api/v2/zeus/profiles:
put:
deprecated: false
@@ -26582,6 +26802,7 @@ paths:
summary: Put profile in Zeus for a deployment.
tags:
- zeus
+ x-signoz-stability: alpha
/api/v3/licenses:
post:
deprecated: true
@@ -26640,6 +26861,7 @@ paths:
summary: Activate a license.
tags:
- licenses
+ x-signoz-stability: alpha
put:
deprecated: true
description: This endpoint refreshes the active license of the organization
@@ -26686,6 +26908,7 @@ paths:
summary: Refresh a license.
tags:
- licenses
+ x-signoz-stability: alpha
/api/v3/metrics/dashboards:
get:
deprecated: false
@@ -26755,6 +26978,7 @@ paths:
summary: Get metric dashboards (v2)
tags:
- metrics
+ x-signoz-stability: alpha
/api/v3/rules:
get:
deprecated: false
@@ -26842,6 +27066,7 @@ paths:
summary: List alert rules (v3)
tags:
- rules
+ x-signoz-stability: alpha
/api/v3/traces/{traceID}/flamegraph:
post:
deprecated: false
@@ -26911,6 +27136,7 @@ paths:
summary: Get flamegraph view for a trace
tags:
- tracedetail
+ x-signoz-stability: alpha
/api/v4/licenses:
get:
deprecated: false
@@ -26965,6 +27191,7 @@ paths:
summary: List licenses.
tags:
- licenses
+ x-signoz-stability: alpha
post:
deprecated: false
description: This endpoint validates the license key with the upstream server
@@ -27034,6 +27261,7 @@ paths:
summary: Activate a license.
tags:
- licenses
+ x-signoz-stability: alpha
/api/v4/licenses/{id}:
delete:
deprecated: false
@@ -27087,6 +27315,7 @@ paths:
summary: Delete a license.
tags:
- licenses
+ x-signoz-stability: alpha
get:
deprecated: false
description: This endpoint gets the license by id.
@@ -27150,6 +27379,7 @@ paths:
summary: Get a license.
tags:
- licenses
+ x-signoz-stability: alpha
put:
deprecated: false
description: This endpoint refreshes the active license of the organization
@@ -27202,6 +27432,7 @@ paths:
summary: Refresh a license.
tags:
- licenses
+ x-signoz-stability: alpha
/api/v4/licenses/active:
get:
deprecated: false
@@ -27264,6 +27495,7 @@ paths:
summary: Get the active license.
tags:
- licenses
+ x-signoz-stability: alpha
/api/v4/traces/{traceID}/waterfall:
post:
deprecated: false
@@ -27335,6 +27567,7 @@ paths:
summary: Get waterfall view for a trace
tags:
- tracedetail
+ x-signoz-stability: alpha
/api/v5/query_range:
post:
deprecated: false
@@ -27741,6 +27974,7 @@ paths:
summary: Query range
tags:
- querier
+ x-signoz-stability: alpha
/api/v5/query_range/preview:
post:
deprecated: false
@@ -27818,6 +28052,7 @@ paths:
summary: Query range preview
tags:
- querier
+ x-signoz-stability: alpha
/api/v5/substitute_vars:
post:
deprecated: false
@@ -27875,6 +28110,7 @@ paths:
summary: Replace variables
tags:
- querier
+ x-signoz-stability: alpha
/prometheus/api/v1/query:
get:
description: 'Prometheus-compatible endpoint: the request and response contract
@@ -27961,6 +28197,7 @@ paths:
summary: Prometheus instant query
tags:
- prometheus
+ x-signoz-stability: alpha
post:
description: 'Prometheus-compatible endpoint: the request and response contract
is the upstream Prometheus HTTP API (https://prometheus.io/docs/prometheus/latest/querying/api/).
@@ -28046,6 +28283,7 @@ paths:
summary: Prometheus instant query
tags:
- prometheus
+ x-signoz-stability: alpha
/prometheus/api/v1/query_range:
get:
description: 'Prometheus-compatible endpoint: the request and response contract
@@ -28145,6 +28383,7 @@ paths:
summary: Prometheus range query
tags:
- prometheus
+ x-signoz-stability: alpha
post:
description: 'Prometheus-compatible endpoint: the request and response contract
is the upstream Prometheus HTTP API (https://prometheus.io/docs/prometheus/latest/querying/api/).
@@ -28243,6 +28482,7 @@ paths:
summary: Prometheus range query
tags:
- prometheus
+ x-signoz-stability: alpha
servers:
- description: The fully qualified URL to the SigNoz APIServer.
url: https://{host}:{port}{base_path}
diff --git a/docs/contributing/go/handler.md b/docs/contributing/go/handler.md
index 72da350535..4db1dbc7d9 100644
--- a/docs/contributing/go/handler.md
+++ b/docs/contributing/go/handler.md
@@ -179,6 +179,7 @@ The `handler.New` function ties the HTTP handler to OpenAPI metadata via `OpenAP
- **SuccessStatusCode**: The HTTP status for successful responses (for example, `http.StatusOK`, `http.StatusCreated`, `http.StatusNoContent`).
- **ErrorStatusCodes**: Additional error status codes beyond the standard ones automatically added by `handler.New`.
- **SecuritySchemes**: Auth mechanisms and scopes required by the operation.
+- **Stability**: Maturity marker (`handler.StabilityDevelopment`, `handler.StabilityAlpha`, `handler.StabilityBeta`, `handler.StabilityStable`, the OpenTelemetry Collector levels) emitted as the `x-signoz-stability` extension on every operation. Unset is emitted as `alpha`.
The generic handler:
diff --git a/pkg/apiserver/signozapiserver/alertmanager.go b/pkg/apiserver/signozapiserver/alertmanager.go
index 911f0fe060..e2770436da 100644
--- a/pkg/apiserver/signozapiserver/alertmanager.go
+++ b/pkg/apiserver/signozapiserver/alertmanager.go
@@ -145,6 +145,7 @@ func (provider *provider) addAlertmanagerRoutes(router *mux.Router) error {
SuccessStatusCode: http.StatusCreated,
ErrorStatusCodes: []int{http.StatusBadRequest, http.StatusConflict},
Deprecated: false,
+ Stability: handler.StabilityDevelopment,
SecuritySchemes: newScopedSecuritySchemes([]string{coretypes.ResourceMetaResourceNotificationChannel.Scope(coretypes.VerbCreate)}),
},
handler.WithResourceDefs(handler.BasicResourceDef{
@@ -173,6 +174,7 @@ func (provider *provider) addAlertmanagerRoutes(router *mux.Router) error {
SuccessStatusCode: http.StatusOK,
ErrorStatusCodes: []int{http.StatusBadRequest},
Deprecated: false,
+ Stability: handler.StabilityDevelopment,
SecuritySchemes: newScopedSecuritySchemes([]string{coretypes.ResourceMetaResourceNotificationChannel.Scope(coretypes.VerbList)}),
},
handler.WithResourceDefs(handler.BasicResourceDef{
@@ -199,6 +201,7 @@ func (provider *provider) addAlertmanagerRoutes(router *mux.Router) error {
SuccessStatusCode: http.StatusOK,
ErrorStatusCodes: []int{http.StatusBadRequest, http.StatusNotFound},
Deprecated: false,
+ Stability: handler.StabilityDevelopment,
SecuritySchemes: newScopedSecuritySchemes([]string{coretypes.ResourceMetaResourceNotificationChannel.Scope(coretypes.VerbRead)}),
},
handler.WithResourceDefs(handler.BasicResourceDef{
@@ -226,6 +229,7 @@ func (provider *provider) addAlertmanagerRoutes(router *mux.Router) error {
SuccessStatusCode: http.StatusOK,
ErrorStatusCodes: []int{http.StatusBadRequest, http.StatusNotFound},
Deprecated: false,
+ Stability: handler.StabilityDevelopment,
SecuritySchemes: newScopedSecuritySchemes([]string{coretypes.ResourceMetaResourceNotificationChannel.Scope(coretypes.VerbUpdate)}),
},
handler.WithResourceDefs(handler.BasicResourceDef{
@@ -253,6 +257,7 @@ func (provider *provider) addAlertmanagerRoutes(router *mux.Router) error {
SuccessStatusCode: http.StatusNoContent,
ErrorStatusCodes: []int{http.StatusBadRequest, http.StatusNotFound},
Deprecated: false,
+ Stability: handler.StabilityDevelopment,
SecuritySchemes: newScopedSecuritySchemes([]string{coretypes.ResourceMetaResourceNotificationChannel.Scope(coretypes.VerbDelete)}),
},
handler.WithResourceDefs(handler.BasicResourceDef{
@@ -281,6 +286,7 @@ func (provider *provider) addAlertmanagerRoutes(router *mux.Router) error {
SuccessStatusCode: http.StatusOK,
ErrorStatusCodes: []int{http.StatusBadRequest, http.StatusNotFound},
Deprecated: false,
+ Stability: handler.StabilityDevelopment,
SecuritySchemes: newScopedSecuritySchemes([]string{coretypes.ResourceMetaResourceNotificationChannel.Scope(coretypes.VerbUpdate)}),
},
handler.WithResourceDefs(handler.BasicResourceDef{
@@ -308,6 +314,7 @@ func (provider *provider) addAlertmanagerRoutes(router *mux.Router) error {
SuccessStatusCode: http.StatusNoContent,
ErrorStatusCodes: []int{http.StatusBadRequest},
Deprecated: false,
+ Stability: handler.StabilityDevelopment,
SecuritySchemes: newScopedSecuritySchemes([]string{coretypes.ResourceMetaResourceNotificationChannel.Scope(coretypes.VerbCreate)}),
},
handler.WithResourceDefs(handler.BasicResourceDef{
diff --git a/pkg/http/handler/handler_test.go b/pkg/http/handler/handler_test.go
new file mode 100644
index 0000000000..9cf2a2d337
--- /dev/null
+++ b/pkg/http/handler/handler_test.go
@@ -0,0 +1,75 @@
+package handler
+
+import (
+ "net/http"
+ "testing"
+
+ "github.com/gorilla/mux"
+ "github.com/stretchr/testify/assert"
+ "github.com/stretchr/testify/require"
+ "github.com/swaggest/openapi-go"
+ "github.com/swaggest/openapi-go/openapi3"
+)
+
+type bespokeOpenAPIHandler struct{}
+
+func (bespokeOpenAPIHandler) ServeHTTP(http.ResponseWriter, *http.Request) {}
+
+func (bespokeOpenAPIHandler) ServeOpenAPI(opCtx openapi.OperationContext) {
+ opCtx.SetID("Bespoke")
+ opCtx.AddRespStructure(nil, openapi.WithHTTPStatus(http.StatusOK))
+}
+
+func (bespokeOpenAPIHandler) ResourceDefs() []ResourceDef { return nil }
+
+func TestAttachStabilities(t *testing.T) {
+ router := mux.NewRouter()
+ router.Handle("/development", New(func(http.ResponseWriter, *http.Request) {}, OpenAPIDef{ID: "Development", SuccessStatusCode: http.StatusOK, Stability: StabilityDevelopment})).Methods(http.MethodGet)
+ router.Handle("/beta/{id}", New(func(http.ResponseWriter, *http.Request) {}, OpenAPIDef{ID: "Beta", SuccessStatusCode: http.StatusOK, Stability: StabilityBeta})).Methods(http.MethodPut)
+ router.Handle("/unset", New(func(http.ResponseWriter, *http.Request) {}, OpenAPIDef{ID: "Unset", SuccessStatusCode: http.StatusOK})).Methods(http.MethodGet)
+ router.Handle("/bespoke", bespokeOpenAPIHandler{}).Methods(http.MethodGet)
+
+ reflector := openapi3.NewReflector()
+ collector := NewOpenAPICollector(reflector)
+ require.NoError(t, router.Walk(collector.Walker))
+ collector.AttachStabilities(reflector.Spec)
+
+ testCases := []struct {
+ subtestName string
+ path string
+ method string
+ expectedExtensionValue any
+ }{
+ {
+ subtestName: "development handler",
+ path: "/development",
+ method: "get",
+ expectedExtensionValue: "development",
+ },
+ {
+ subtestName: "beta handler with path parameter",
+ path: "/beta/{id}",
+ method: "put",
+ expectedExtensionValue: "beta",
+ },
+ {
+ subtestName: "unset handler defaults to alpha",
+ path: "/unset",
+ method: "get",
+ expectedExtensionValue: "alpha",
+ },
+ {
+ subtestName: "handler built outside New defaults to alpha",
+ path: "/bespoke",
+ method: "get",
+ expectedExtensionValue: "alpha",
+ },
+ }
+
+ for _, testCase := range testCases {
+ t.Run(testCase.subtestName, func(t *testing.T) {
+ operation := reflector.Spec.Paths.MapOfPathItemValues[testCase.path].MapOfOperationValues[testCase.method]
+ assert.Equal(t, testCase.expectedExtensionValue, operation.MapOfAnything["x-signoz-stability"])
+ })
+ }
+}
diff --git a/pkg/http/handler/openapi.go b/pkg/http/handler/openapi.go
index cbf777129a..1a48ee0782 100644
--- a/pkg/http/handler/openapi.go
+++ b/pkg/http/handler/openapi.go
@@ -1,14 +1,37 @@
package handler
import (
+ "net/http"
"reflect"
+ "github.com/SigNoz/signoz/pkg/valuer"
"github.com/gorilla/mux"
"github.com/swaggest/jsonschema-go"
openapigo "github.com/swaggest/openapi-go"
+ "github.com/swaggest/openapi-go/openapi3"
"github.com/swaggest/rest/openapi"
)
+const signozStabilityKey string = "x-signoz-stability"
+
+var (
+ StabilityDevelopment = Stability{valuer.NewString("development")}
+ StabilityAlpha = Stability{valuer.NewString("alpha")}
+ StabilityBeta = Stability{valuer.NewString("beta")}
+ StabilityStable = Stability{valuer.NewString("stable")}
+)
+
+// Stability is emitted as the x-signoz-stability extension on every operation; unset means alpha.
+type Stability struct{ valuer.String }
+
+func (stability Stability) StringValue() string {
+ if stability.IsZero() {
+ return StabilityAlpha.String.StringValue()
+ }
+
+ return stability.String.StringValue()
+}
+
// OpenAPIExample is a named example for an OpenAPI operation.
type OpenAPIExample struct {
Name string
@@ -32,6 +55,7 @@ type OpenAPIDef struct {
SuccessStatusCode int
ErrorStatusCodes []int
Deprecated bool
+ Stability Stability
SecuritySchemes []OpenAPISecurityScheme
}
@@ -42,14 +66,16 @@ type OpenAPISecurityScheme struct {
// OpenAPICollector is a collector for OpenAPI operations.
type OpenAPICollector struct {
- collector *openapi.Collector
+ collector *openapi.Collector
+ stabilities map[operationKey]Stability
}
func NewOpenAPICollector(reflector openapigo.Reflector) *OpenAPICollector {
c := openapi.NewCollector(reflector)
return &OpenAPICollector{
- collector: c,
+ collector: c,
+ stabilities: make(map[operationKey]Stability),
}
}
@@ -77,6 +103,9 @@ func (c *OpenAPICollector) Walker(route *mux.Route, _ *mux.Router, _ []*mux.Rout
if err := c.collector.CollectOperation(method, path, c.collect(method, path, handler.ServeOpenAPI)); err != nil {
return err
}
+ if err := c.recordStability(method, path, httpHandler); err != nil {
+ return err
+ }
}
return nil
}
@@ -84,6 +113,17 @@ func (c *OpenAPICollector) Walker(route *mux.Route, _ *mux.Router, _ []*mux.Rout
return nil
}
+// AttachStabilities stamps every operation in spec, so handlers built outside New
+// carry the unset stability rather than none.
+func (c *OpenAPICollector) AttachStabilities(spec *openapi3.Spec) {
+ for path, pathItem := range spec.Paths.MapOfPathItemValues {
+ for method, operation := range pathItem.MapOfOperationValues {
+ operation.WithMapOfAnythingItem(signozStabilityKey, c.stabilities[operationKey{method: method, path: path}].StringValue())
+ pathItem.MapOfOperationValues[method] = operation
+ }
+ }
+}
+
func (c *OpenAPICollector) collect(method string, path string, serveOpenAPIFunc ServeOpenAPIFunc) func(oc openapigo.OperationContext) error {
return func(oc openapigo.OperationContext) error {
// Serve the OpenAPI documentation for the handler
@@ -117,3 +157,23 @@ func (c *OpenAPICollector) collect(method string, path string, serveOpenAPIFunc
return nil
}
}
+
+func (c *OpenAPICollector) recordStability(method string, path string, httpHandler http.Handler) error {
+ generic, ok := httpHandler.(*handler)
+ if !ok {
+ return nil
+ }
+
+ cleanMethod, cleanPath, _, err := openapigo.SanitizeMethodPath(method, path)
+ if err != nil {
+ return err
+ }
+
+ c.stabilities[operationKey{method: cleanMethod, path: cleanPath}] = generic.openAPIDef.Stability
+ return nil
+}
+
+type operationKey struct {
+ method string
+ path string
+}
diff --git a/pkg/signoz/openapi.go b/pkg/signoz/openapi.go
index bc7ad4db7e..2a7be99710 100644
--- a/pkg/signoz/openapi.go
+++ b/pkg/signoz/openapi.go
@@ -174,6 +174,7 @@ func (openapi *OpenAPI) CreateAndWrite(path string) error {
}
attachDiscriminators(openapi.reflector.Spec)
+ openapi.collector.AttachStabilities(openapi.reflector.Spec)
// The library's MarshalYAML does a JSON round-trip that converts all numbers
// to float64, causing large integers (e.g. epoch millisecond timestamps) to