SigNoz MCP Server
OfficialThis server does not currently have a deployable release on Glama. Follow the repository's setup instructions to install and configure it for your MCP client, including any required credentials and local dependencies.
SigNoz MCP Server
A Model Context Protocol (MCP) server that provides seamless access to SigNoz observability data through AI assistants and LLMs. Query metrics, traces, logs, alerts, dashboards, and services using natural language.
Table of Contents
Related MCP server: otel-mcp-server
Connect to SigNoz Cloud
Connect your AI tool to SigNoz Cloud's hosted MCP server. No installation is required; just add the hosted MCP URL and authenticate.
https://mcp.<region>.signoz.cloud/mcpMake sure you select the correct region that matches your SigNoz Cloud account. Using the wrong region will result in authentication failures.
Find your region under Settings → Ingestion in SigNoz, or see the SigNoz Cloud region reference.
One-Click Install Links
GitHub does not reliably make custom-protocol links like cursor:// and vscode: clickable in README rendering.
Use the documentation page for one-click install buttons:
If you prefer, use the manual configuration examples below in this README.
Cursor
Manual Configuration
Add this configuration to .cursor/mcp.json:
{
"mcpServers": {
"signoz": {
"url": "https://mcp.<region>.signoz.cloud/mcp"
}
}
}Need help? See the Cursor MCP docs.
VS Code / GitHub Copilot
Manual Configuration
Add this configuration to .vscode/mcp.json:
{
"servers": {
"signoz": {
"type": "http",
"url": "https://mcp.<region>.signoz.cloud/mcp"
}
}
}Need help? See the VS Code MCP docs.
Claude Desktop
Add SigNoz Cloud as a custom connector in Claude Desktop:
Open Claude Desktop.
Go to Settings → Developer (or Features, depending on your version).
Click Add Custom Connector or Add Remote MCP Server.
Enter your SigNoz MCP URL:
https://mcp.<region>.signoz.cloud/mcp
When prompted, complete the authentication flow.
Claude Code
Run this command to add the hosted SigNoz MCP server:
claude mcp add --scope user --transport http signoz https://mcp.<region>.signoz.cloud/mcpAfter configuring the MCP server, authenticate in a terminal:
claude /mcpSelect the signoz server and complete the authentication flow.
OpenAI Codex
Run this command to add the hosted SigNoz MCP server:
codex mcp add signoz --url https://mcp.<region>.signoz.cloud/mcpOr add this configuration to config.toml:
[mcp_servers.signoz]
url = "https://mcp.<region>.signoz.cloud/mcp"After adding the server, authenticate:
codex mcp login signozThen run /mcp inside Codex to verify the connection.
Grok Build
Run this command to add the hosted SigNoz MCP server:
grok mcp add -t http signoz https://mcp.<region>.signoz.cloud/mcpOr add this configuration to ~/.grok/config.toml:
[mcp_servers.signoz]
url = "https://mcp.<region>.signoz.cloud/mcp"
enabled = trueAdding the server does not authenticate it. Start Grok Build, run /mcps, select the signoz server, and complete the OAuth flow in your browser:
grok/mcpsNo API key is stored in the config file; credentials are saved separately once the OAuth flow completes.
Use -s project on the add command to write to ./.grok/config.toml instead, so the server is shared with everyone working in that directory.
Verify the connection with:
grok mcp list
grok mcp doctorSigNoz Cloud Authentication
When you add the hosted MCP URL to your client, the client initiates an authentication flow. You will be prompted to enter:
Your SigNoz instance URL (for example,
your-instance.signoz.cloud). Protocol-less URLs are accepted; paths, query parameters, and fragments are ignored.Your API key
Create an API key in Settings → API Keys in SigNoz. Only Admin users can create API keys.
Self-Hosted Installation
Download Binary (Recommended)
Download the latest binary from GitHub Releases:
# macOS (Apple Silicon)
curl -L https://github.com/SigNoz/signoz-mcp-server/releases/latest/download/signoz-mcp-server_darwin_arm64.tar.gz | tar xz
# macOS (Intel)
curl -L https://github.com/SigNoz/signoz-mcp-server/releases/latest/download/signoz-mcp-server_darwin_amd64.tar.gz | tar xz
# Linux (amd64)
curl -L https://github.com/SigNoz/signoz-mcp-server/releases/latest/download/signoz-mcp-server_linux_amd64.tar.gz | tar xzThis extracts a signoz-mcp-server binary in the current directory. Move it somewhere on your PATH or note the absolute path for the config below.
Go Install
go install github.com/SigNoz/signoz-mcp-server/cmd/server@latestThe binary is installed as server to $GOPATH/bin/ (default: $HOME/go/bin/server). You may want to rename it:
mv "$(go env GOPATH)/bin/server" "$(go env GOPATH)/bin/signoz-mcp-server"Docker
Docker images are available on Docker Hub:
docker pull signoz/signoz-mcp-server:latestRun in HTTP mode:
docker run -p 8000:8000 \
-e TRANSPORT_MODE=http \
-e MCP_SERVER_PORT=8000 \
-e SIGNOZ_URL=https://your-signoz-instance.com \
-e SIGNOZ_API_KEY=your-api-key \
signoz/signoz-mcp-server:latestUse a specific version tag (e.g. v0.1.0) instead of latest for pinned deployments.
Build from Source
git clone https://github.com/SigNoz/signoz-mcp-server.git
cd signoz-mcp-server
make buildThe binary is at ./bin/signoz-mcp-server.
To check which build you have, run ./bin/signoz-mcp-server --version.
Connect to Self-Hosted SigNoz
Prerequisites
A running SigNoz instance on the latest release. Each server release targets the latest SigNoz release and is not tested against older versions; see CHANGELOG.md for breaking changes.
A SigNoz API key (Settings → API Keys in the SigNoz UI)
The
signoz-mcp-serverbinary (see Self-Hosted Installation)
Stdio Mode (Claude Desktop / Cursor / Any MCP Client)
Add this to your MCP client config (claude_desktop_config.json, .cursor/mcp.json, etc.). Replace the command path with the absolute path to your signoz-mcp-server binary:
{
"mcpServers": {
"signoz": {
"command": "/absolute/path/to/signoz-mcp-server",
"args": [],
"env": {
"SIGNOZ_URL": "https://your-signoz-instance.com",
"SIGNOZ_API_KEY": "your-api-key-here",
"LOG_LEVEL": "info"
}
}
}
}HTTP Mode
HTTP mode listens on all interfaces by default. Set MCP_SERVER_HOST=127.0.0.1 when the server should accept loopback connections only.
Memory footprint
The server keeps the SigNoz docs search index in memory. On Linux amd64 with Go 1.26.11, the embedded 980-page index used 44 to 52 MiB of resident heap across 24 local runs of the heap guardrail. Build peaks ranged from 141 to 204 MiB above the pre-build heap baseline, using 64-page batches. These figures cover the index heap. Total process memory also includes request handling and refresh work.
Moment | Index memory behavior |
Startup build from the embedded corpus (980 pages) | Up to 204 MiB above the pre-build heap baseline in the measured runs |
Full rebuild after a scheduled refresh | Builds a new index while the old index is still serving; combined peak has not been re-measured with this configuration |
Scheduled refresh that changes a few pages | Applies changed pages in one atomic batch to the live index; peak depends on the changed content and has not been re-measured with this configuration |
Scheduled refresh with an unchanged manifest | no index work; one conditional request for the docs manifest (a 304) and no page requests |
The server runs one jittered refresh every 6h by default. Each tick revalidates the docs manifest and stops on a 304. When the manifest changes, the refresh checks that the sitemap ETag agrees with it and fetches each changed or new Markdown URL once. It retries unresolved pages on the next refresh and confirms sitemap-listed omissions against the page endpoint. A manifest timeout or server error leaves the current index in service for that tick.
If the manifest is missing or invalid, the same tick reads the sitemap and compares its hash with the indexed snapshot. A matching hash means zero page requests. If the sitemap changes, the server revalidates each unique Markdown URL, using If-None-Match when it has a validator. During fallback, content-only edits wait for a sitemap change or a valid manifest.
The refresh updates the index when page contents or sitemap metadata change. Changes covering up to a quarter of the pages are applied in one atomic batch. Larger changes and the 25th in-place update on the same index rebuild the index in 64-page batches and compact the accumulated segments.
Recommendations for containerized HTTP deployments:
Set the memory limit to at least
512Mi, and monitor memory during refreshes and concurrent requests. A rebuild retains the serving index while it builds the next one. Go's optionalGOMEMLIMITcan reclaim garbage earlier while live data inside an index batch still needs memory.Set both
SIGNOZ_DOCS_REFRESH_INTERVAL=0andSIGNOZ_DOCS_FULL_REFRESH_INTERVAL=0when you would rather serve the docs snapshot that shipped with the release than pay any refresh. New docs pages then arrive with the next server upgrade. With only the primary interval off, the single scheduler uses the legacy cadence.Every refresh logs
docs refresh startingand ends with a completion or failure line, for exampledocs refresh no-op; manifest unchanged,docs refresh no-op; sitemap unchanged,docs refresh found no page changes; index kept,docs refresh applied delta,docs refresh rebuilt index, or adocs refresh failedwarning. A refresh normally finishes within a few minutes. A container whose last docs line isdocs refresh starting,docs refresh fetching pages,docs refresh reconciling with manifest, ordocs refresh rebuilding indexand that then restarted most likely died mid-refresh.
With OAuth (Multi-Tenant / Cloud)
Start the server:
TRANSPORT_MODE=http \
MCP_SERVER_PORT=8000 \
OAUTH_ENABLED=true \
OAUTH_TOKEN_SECRET=$(openssl rand -base64 32) \
OAUTH_ISSUER_URL=https://your-public-mcp-url.com \
./signoz-mcp-serverClient config needs just the URL, no keys:
{
"mcpServers": {
"signoz": {
"url": "https://your-public-mcp-url.com/mcp"
}
}
}The client discovers OAuth endpoints automatically, opens a browser for credentials, and handles token exchange.
Without OAuth (Simple Setup)
The API key and SigNoz URL only need to be provided in one place: the server or the client.
Option A — Credentials on the server (simpler client config). The server-held key is sent only to SIGNOZ_URL. A request that names another instance in X-SigNoz-URL must carry its own SIGNOZ-API-KEY or Authorization header, or it is refused with HTTP 401.
SIGNOZ_URL=https://your-signoz-instance.com \
SIGNOZ_API_KEY=your-api-key \
TRANSPORT_MODE=http \
MCP_SERVER_PORT=8000 \
./signoz-mcp-server{
"mcpServers": {
"signoz": {
"url": "http://localhost:8000/mcp"
}
}
}Option B — API key on the client (server holds the URL, client sends the key):
SIGNOZ_URL=https://your-signoz-instance.com \
TRANSPORT_MODE=http \
MCP_SERVER_PORT=8000 \
./signoz-mcp-server{
"mcpServers": {
"signoz": {
"url": "http://localhost:8000/mcp",
"headers": {
"SIGNOZ-API-KEY": "your-api-key-here"
}
}
}
}MCP Protocol Compatibility
SigNoz uses the official MCP Go SDK v1.8.0 and supports both current lifecycle models over HTTP and stdio:
Protocol era | Lifecycle |
| Legacy clients use |
| Clients may call |
The HTTP /mcp endpoint is stateless and sessionless. MCP messages use JSON
POST requests and successful responses use application/json; the server does
not issue or require Mcp-Session-Id. GET /mcp and DELETE /mcp return
405 Method Not Allowed, so deployments need neither sticky routing nor the old
GET listener/heartbeat. Existing client configuration does not change.
Stdio input has a 16 MiB frame limit. Split larger requests into smaller calls.
MCP_MAX_REQUEST_BYTES controls HTTP request bodies only.
The server intentionally does not advertise the deprecated logging capability. Discovery ordering is not a compatibility guarantee. Unknown tools, resources, and prompts use the official SDK's standard invalid-params behavior rather than legacy implementation-specific wording or error codes.
HTTP Probe Endpoints
HTTP mode exposes unauthenticated probe endpoints. New Kubernetes deployments should use /livez for livenessProbe and /readyz for readinessProbe.
Endpoint | Purpose |
| Shallow liveness probe. Returns |
| Readiness probe. Returns |
| Legacy/generic health check kept for backward compatibility. It follows the same strict status as |
What Can You Do With It?
"Show me all available metrics"
"What's the p99 latency for http_request_duration_seconds?"
"List all active alerts"
"Show me error logs for the paymentservice from the last hour"
"How many errors per service in the last hour?"
"Search traces for the checkout service from the last hour"
"Get details for trace ID abc123"
"Create a dashboard with CPU and memory widgets"
"How do I send Docker logs to SigNoz?"Available Tools
Tool metadata: every tool accepts
searchContext. Copy the user's entire original request verbatim, including preflight or confirmation context; it is used for MCP observability and is not forwarded to SigNoz APIs.
Input validation: calls are never rejected for schema mismatches. Arguments are validated against each tool's advertised schema; a mismatched call still runs best-effort, and the successful result carries a deterministic appended
Input validation notice:naming the affected top-level parameter when it can be derived safely from the advertised schema. Complex root-only mismatches use a generic fallback. Mismatches are also counted in themcp.tool.validation.mismatchesmetric. Arguments a tool's schema does not declare are not rejected either: a successful result carries an appendedInput validation notice:naming the ones the tool ignored. Short identifier-like names are listed and any other name is only counted. An argument the handler takes on purpose draws no notice: a legacy alias it reads (ruleId,viewId,filterExpressiononsignoz_get_alert_history,queryonsignoz_search_docs); a fieldsignoz_create_alert,signoz_update_alert,signoz_create_dashboard, orsignoz_create_viewsends to SigNoz in the resource body, where SigNoz decides what it means; and a read-only field of a fetched dashboard sent back tosignoz_update_dashboard, which strips those fields before the update. That tool reportslocked: true, because it can't lock a dashboard. A few tools reject undeclared arguments with a coded error instead, such as the retired logqueryalias or an unknown notification-channel field. Every undeclared argument is also logged at WARN with its name and counted in the same metric under path<undeclared>and constraintundeclared_argument.
Result notes: a note on a result, such as a clamped limit or an input validation notice, follows the JSON as its own text block. A tool that returns
structuredContentalso lists every note in itsnotesarray of strings, and text block 0 carries the same JSON, because some clients show the model onlystructuredContent.notesis omitted when there are none, and every tool output schema declares it.
Upstream errors: upstream SigNoz 401 and 403 tool failures carry a stable structured
code(UNAUTHORIZEDorPERMISSION_DENIED) and numericstatus. Recognized SigNoz error envelopes may also include boundedupstreamURL,upstreamSuggestions,upstreamDetails([{message, suggestions}]), andupstreamRetry({delay}in nanoseconds); the same recovery guidance appears in agent-readable text. Unrecognized bodies use the local status-derived coded fallback instead of raw passthrough, and authorization failures still name the failed tool and immediate recovery action. A 403 on a log, trace, metric, or Query Builder query also says which filter a role limited to some services or environments accepts: a top-level=orINcondition onresource.service.nameorresource.deployment.environment.name. This error-only addition does not change tool names, schemas or descriptions, success payloads, resources or templates, or prompts.
Tool | Description |
| Get the current status and overall posture of the SigNoz deployment, with typed projections plus |
| Discover active metric names and catalog metadata |
| Query known metrics for values, trends, breakdowns, or formulas |
| Return top 100 metrics ranked by ingested sample volume with pre-computed percentages for cost and volume analysis |
| Given a list of metric names (up to 50 per call), return which dashboards and alerts reference each one |
| Return label/attribute keys for a single metric with cardinality counts and sample values, sorted highest-cardinality first |
| Discover available field keys for metrics, traces, or logs, including AI trace fields |
| Get possible values for a field key |
| List firing/silenced/inhibited Alertmanager alert instances (not rule definitions) |
| List configured alert-rule summaries, including inactive/OK and disabled rules |
| Get one alert rule's full definition by |
| Get one rule's firing or state-transition history |
| Create a v2alpha1 threshold, PromQL, or anomaly alert with direct or policy routing |
| Fully replace an existing alert rule by |
| Permanently delete a confirmed alert rule by UUIDv7 |
| List tenant-dashboard summaries and discover UUIDs |
| Get one dashboard's full layout, variables, panels, and queries |
| Create a custom multi-panel dashboard |
| Fully replace a fetched dashboard while preserving unrequested fields |
| Apply a partial RFC 6902 JSON Patch without resending the whole dashboard |
| Permanently delete a confirmed dashboard by |
| Create a dashboard from a known curated template path |
| Search curated templates and discover an import path |
| A service's request rate, error rate, and latency; APM services with trace activity in a time range |
| Get ranked operations for one traced service |
| Get the service dependency graph: callers, callees, and each call edge's rate, errors, and latency |
| List saved Explorer views for traces/logs/metrics/Cost Meter and discover UUIDs |
| Get one saved Explorer view's complete definition by |
| Find ranked official-doc matches when no exact page is selected |
| Fetch one known official-doc page or heading as Markdown |
| Save one reusable Explorer query spec |
| Fully replace a fetched saved view while preserving unrequested fields |
| Permanently delete a confirmed saved view by |
| Aggregate log statistics and grouped or top-N breakdowns |
| Return individual log records matching filters |
| Aggregate span or per-AI-trace statistics and grouped or top-N breakdowns |
| Return span rows or one row per trace (including AI traces), or discover trace IDs |
| Get one known trace: up to 1,000 spans and their hierarchy |
| List AI model prices, or models seen in the last hour with no price |
| List the mapping groups that turn vendor AI span attributes into |
| Run sample spans through the AI attribute mappings without saving anything |
| Query Builder v5 requests the dedicated tools cannot express |
| List channel IDs, names, and display names without provider settings |
| Get all provider-specific settings for one channel by ID |
| Create a notification channel |
| Fully replace a fetched channel's config |
| Permanently delete a confirmed channel by ID |
| Send feedback to the SigNoz team: a problem with this MCP server, or the user's feedback about SigNoz |
For detailed usage and examples, see the full documentation.
Resource deep links: the resource read tools (
signoz_list_dashboards,signoz_get_dashboard,signoz_list_alerts,signoz_list_alert_rules,signoz_get_alert,signoz_list_services,signoz_search_traces,signoz_get_trace_details) and the dashboard write tools (signoz_create_dashboard,signoz_update_dashboard,signoz_patch_dashboard,signoz_import_dashboard) include awebUrlfield when the request carries a SigNoz instance URL: an absolute deep link to the resource in the SigNoz web UI (per result row forsignoz_search_traces). The MCP server discovers the browser base from each SigNoz backend'sglobal.external_url. API requests keep using the request's backend URL. See Browser links for self-hosted SigNoz.
Measurement notes: when a successful query has a shape that often answers a different question than asked, the result carries a note saying what it measured, and the fix where it was checked against SigNoz.
signoz_aggregate_tracesandsignoz_execute_builder_querynote an ungrouped count, rate, or latency over every span of one service.signoz_query_metricsandsignoz_execute_builder_querynote a scalar percentile reduced withavg,median, orsum(with the bucket-count route to a single percentile for an explicit-bucket histogram), a caller-set step at least as long as a window that does not start on a multiple of it, a summed rate, andsignoz_calls_totalorsignoz_latencyfor one service;signoz_query_metricsalso notes a cumulative counter read with anything butrateorincrease, andsignoz_execute_builder_querya formula input with its own limit. The server counts each note in themcp.tool.result.measurement_notesmetric by tool and rule.
Time windows: the tools that take
start,end, andtimeRange(signoz_search_logs,signoz_aggregate_logs,signoz_search_traces,signoz_aggregate_traces,signoz_query_metrics,signoz_list_metrics,signoz_get_top_metrics,signoz_check_metric_cardinality,signoz_get_alert_history,signoz_list_services,signoz_get_service_top_operations, andsignoz_get_service_map) report the window they queried in RFC 3339 UTC and Unix milliseconds. Text results append a note such aswindow queried: 2026-11-19T09:00:00Z to 2026-11-19T10:00:00Z (Unix ms 1795078800000 to 1795082400000);signoz_list_servicesandsignoz_get_service_mapreturn awindowobject withstart,end,startMs, andendMs.signoz_execute_builder_querytakes its window in the request body and reports none.
Agent Routing Guidance
Use signoz_search_docs for topical discovery when no exact documentation page is selected, then signoz_fetch_doc for the chosen page or heading. Use live data tools for tenant telemetry, alert state, dashboards, saved views, and notification channels.
Docs tools use the same authentication path as other MCP tools.
Available Resources
Resource | Read when you need |
| Alert schemas, fields, thresholds, evaluation, and notification workflow |
| Alert payloads from the SigNoz OpenAPI spec (threshold, formula, PromQL, anomaly, tiered routing, notification settings) plus a Cost Meter budget example |
| Dashboard fields, variables, chaining, and layout |
| Panel choices and query-specific guides |
| Panel examples and validation patterns |
|
|
|
|
| Dashboard payloads from the SigNoz OpenAPI spec: create bodies, a full replacement, and JSON Patch arrays |
| Dashboard Query Builder aggregations, filters, legends, and functions |
| PromQL widgets or alerts, especially dotted OTel metric names |
| Bundled logs schema snapshot for dashboard SQL |
| Raw ClickHouse logs widget patterns |
| Bundled metrics schema snapshot for dashboard SQL |
| Raw ClickHouse metrics widget patterns |
| Bundled traces schema snapshot for dashboard SQL |
| Raw ClickHouse traces widget patterns |
| Logs Query Builder v5 JSON or unfamiliar log fields |
| Traces Query Builder v5 JSON or unfamiliar trace fields |
| AI agent and LLM queries: when to set |
| Metric aggregations, formulas, grouping, limits, and Cost Meter queries |
|
|
| Every notification channel kind, its |
| Saved view fields, the v2 typed spec, and read-before-replace workflow |
| Saved-view payloads from the SigNoz OpenAPI spec for logs, traces, metrics, and Cost Meter, plus a replacement body |
| Indexed official-doc catalog and page URLs |
Resource Template Migration
The live signoz://dashboard/{id}/summary and signoz://alert/{id}/summary
resource templates are retired. resources/templates/list now returns an empty
catalog. Use signoz_get_dashboard for a dashboard definition. For the former
alert summary, call signoz_get_alert, then signoz_get_alert_history; omit the
time range for the same six-hour window and set limit: 10 and order: "desc"
for the closest history result.
signoz_get_org_overview
Get the current status and overall posture of the SigNoz deployment before drilling into exact resources. data.sourceStats is the authoritative complete flat bag containing every key and value reported by the deployment stats endpoint, including current and future fields. Typed convenience projections cover telemetry freshness and volume, infrastructure presence, dashboards, alert rules and runtime, notification channels, saved views, log pipelines, cloud integrations, users, authentication, service accounts, roles, licensing, and configuration.
Parameters: no task parameters; like every tool, it accepts non-required
searchContextfor MCP observability.Authoritative source:
sourceStatspreserves every successfully decoded entry from the upstreamdataobject under its original dotted key. Use the grouped fields for convenient interpretation andsourceStatswhen exact backend coverage or a newly introduced field matters. Counts are deployment aggregates; usesignoz_list_dashboards,signoz_list_alert_rules,signoz_list_notification_channels, orsignoz_list_viewsfor exact inventories;signoz_list_metricsfor metric names;signoz_list_alertsfor current alert instances; andsignoz_search_logs,signoz_search_traces, orsignoz_query_metricsfor time-windowed or per-service data.Missing fields: a key absent from
sourceStatswas not reported by the upstream collector and must not be interpreted as zero. The endpoint can return a partial HTTP 200 when an individual collector fails. In typed projections, a missing group total producesavailable: false; a reported zero producesavailable: true. Expected missing or invalid projection fields setmetadata.projectionPartialand add anincompleteGroupsentry with affected output paths, reason, next action, and exact fallback tools where available. An invalid projection value is still retained unchanged insourceStatsand named ininvalidProjectionFields.Cloud-integration completeness:
cloudIntegrations.sourceAvailabilityreports whether both current AWS/Azure provider counts were reported. Each provider has its owndataAvailable; an absent provider count is never converted to zero. If neither provider is reported, source availability isunavailablewithout setting overallmetadata.projectionPartial; this can mean cloud integrations are unsupported/edition-gated or both provider queries failed, so do not interpret it as “no cloud integrations configured.” If exactly one is reported, source availability ispartialand the missing provider receives non-recursive recovery guidance.connectedAccountsmeans a non-removed account with an account ID and at least one agent report, not a recent check-in or proof that an integration service is enabled.Feature flags:
featureFlags.flagslists every flag fromGET /api/v2/featureswith itsname,kind,stage,description, and theresolvedValuein effect for this org, sorted by name. Some flags change how data is stored or queried, such asuse_json_bodyfor JSON log bodies. If SigNoz does not report them,featureFlags.availableisfalseandmetadata.incompleteGroupshas afeatureFlagsentry; treat every flag as unknown, not off.Projection metadata:
reportedStatCountis the number of authoritative entries insourceStats;projectedStatCountcounts entries also represented in typed groups; andunprojectedStatCountcounts entries available only insourceStats, including future fields.projectionPartial,incompleteGroups, andinvalidProjectionFieldsdescribe only typed-projection gaps; they do not indicate data was removed fromsourceStatsor claim endpoint-wide completeness.
signoz_list_metrics
Discover metric names and catalog metadata such as type, temporality, unit, and monotonicity. Use signoz_query_metrics for values or trends. This list has a limit but no offset pagination.
Parameters:
searchText(optional) - Filter metrics by name substring. Names separate words with dots or underscores (system.cpu.time,http_server_duration), so search one word, such ascpuormemorylimit(optional) - Maximum number of metrics to return (default: 50)timeRange(optional) - Window ending now, as a duration such as '30m', '6h', '7d', or '2w'; units ares,m,h,d(24h), andw(7d) (default: '1h'; ignored whenstartis set)start/end(optional) - A fixed window: an RFC 3339 date-time withZor an offset, or Unix epoch milliseconds. Withstart, the window runs fromstarttoend(default now) andtimeRangeis ignored.endwithoutstartis rejected with thestartto add.source(optional) - Data-source filter. Use"meter"to list Cost Meter metrics, the usage/billing metrics SigNoz meters on (currently telemetry ingestion volume); omit for the default metrics storeCompleteness note: the response appends a note reporting
hasMore(inferred fromreturnedRows == limit) so alimit-truncated list is never mistaken for the full set; narrow withsearchTextfor more specificity
signoz_query_metrics
Query a known metric for values, trends, breakdowns, or formulas. The tool applies metric-aware defaults and auto-fetches omitted metadata; call it directly when metricName is known. Use signoz_list_metrics only to discover a name or inspect catalog metadata. For a service's request rate or latency, use signoz_list_services or signoz_aggregate_traces; the span metrics signoz_calls_total and signoz_latency count every span, not requests.
Parameters:
metricName(required) - Metric name to query. A histogram named X is queried asX.bucket. SigNoz's span metricssignoz_calls_totalandsignoz_latencyrecord one sample per span, so one request with several spans counts several timesmetricType(optional) - gauge, sum, histogram, exponential_histogram, summary (auto-fetched if absent)isMonotonic(optional) - Boolean (or the strings"true"/"false"); auto-fetched if absent. An invalid value is rejected rather than silently treated as falsetemporality(optional) - cumulative, delta, unspecified (auto-fetched if absent)timeAggregation(optional) - Aggregation within each series per time bucket (defaulted by type when omitted; SigNoz validates the combination). On a cumulative counter,latest,max,min,avg, andsumwork on its running total since it started, andcountcounts its samples; useincreasefor the count in each bucket orratefor per secondspaceAggregation(optional) - Aggregation across series (defaulted by type when omitted; percentiles are histogram-only). Summary metrics need both aggregations setgroupBy(optional) - Label names to group by, as an array or a comma-separated string. Metric labels hold resource and data-point attributes in one set, so names need no context prefix. An array item that is not a string is rejected with a coded errorfilter(optional) - Filter expression. Pass the expression text, not{"expression": ...}, which is rejected with a coded error. Regex matches useREGEXP, not PromQL's=~; a=~or!~that SigNoz rejects comes back with that hint. The formerqueryalias is rejected with a coded error that namesfiltertimeRange(optional) - Window ending now, as a duration such as '30m', '6h', '7d', or '2w'; units ares,m,h,d(24h), andw(7d) (default: '1h'; ignored whenstartis set)start/end(optional) - A fixed window: an RFC 3339 date-time withZor an offset, or Unix epoch milliseconds. Withstart, the window runs fromstarttoend(default now) andtimeRangeis ignored.endwithoutstartis rejected with thestartto add.stepInterval(optional) - Step in seconds (auto-calculated if omitted); a scalar request reduces one value per step. SigNoz starts steps at multiples of the step since the Unix epoch, so a step as long as the window is one step only when the window starts on such a multiple; otherwise the first step reaches back before the window or, for a cumulative histogram percentile, can be left outrequestType(optional) - Response format. Enum:time_series(default),scalar. Unknown values are rejected.reduceTo(required whenrequestTypeisscalar) - How to reduce each series, which holds one value per step, to one value:last,max,min,avg,sum,count,median. It has no default; SigNoz rejects a scalar request without it. For a total count usetimeAggregation: increasewithreduceTo: sum; summing rates is not a count. With a percentile, every reducer works on per-step percentiles, so none gives the window's percentile; for a single percentile of an explicit-bucket histogram, read each bucket's count withtimeAggregation: increase,spaceAggregation: sum,reduceTo: sum,leadded togroupBy, and alimitthat returns every bucket, then interpolateformula(optional) - Expression over named queries (e.g., "A / B * 100")formulaQueries(optional) - Array of additional named metric queries forformula, or a JSON-encoded string of that array. The item schema is typed:nameandmetricNameare required;metricType,isMonotonic,temporality,timeAggregation,spaceAggregation,reduceTo,groupBy(array or comma-separated string), andfiltermirror the top-level parameters and are auto-fetched or defaulted the same way.limit(optional) - Maximum number of groups (series) in the result (default: 100, max: 10000; higher values are clamped). With a formula, limit applies to the formula result; formula inputs are not limitedorderBy(optional) - Result order as<key> <direction>, where the key is__resultor agroupByfield (e.g.__result asc; default:__result desc)having(optional) - Condition on the primary query's aggregated values, applied after grouping (e.g.__result > 0.5). With a formula it filters query A's series before the formula runs; SigNoz ignores ahavingon the formula result itself, so the tool never sends one there. SigNoz validates itfunctions(optional) - Post-query transforms applied in order to each series, as an array of{name, args}objects (or a JSON-encoded string); each arg is{"value": <number>}.timeShiftreads the window that many seconds earlier and returns its points on the current window's timestamps;604800gives the same window last week. To compare two windows, call once withouttimeShiftand once with it. ForA - BorA / Bin one result, usesignoz_execute_builder_querywith two builder queries, the second withtimeShift, and abuilder_formula.cutOffMinandcutOffMaxdrop points below or above a threshold;clampMinandclampMaxset them to it.runningDiffgives the change from the point before;cumulativeSumgives a running total.ewma3,ewma5,ewma7,median3,median5, andmedian7smooth a series;fillZeroadds 0 at steps with no data;absolute,log2, andlog10transform each value. SigNoz validates names and args. On ascalarrequest the functions run on each series beforereduceTo.formulaQueriesitems take no functionssource(optional) - Data-source filter. Use"meter"to query Cost Meter data; omit for the default metrics storeResult bounds: standalone generated metric queries and formula results use
limit: 100with__result descunlesslimitororderBysays otherwise. Queries feeding a formula get no limit, because SigNoz applies input limits before formula evaluation and would drop groups from the result. The response decisions note reports the effective bounds.Key-not-found errors: a filter referencing a key absent from this workspace's metrics metadata fails with recovery guidance in the error text plus a machine-readable
missingKeysarray in the structured error content
signoz_get_top_metrics
Return top 100 metrics ranked by ingested sample volume with pre-computed percentages. Use this to identify which metrics are driving the most ingestion volume and cost. Wraps POST /api/v2/metrics/treemap. Response fields: metricName, percentage (share of total sample volume), totalValue (absolute sample count).
Parameters:
timeRange(optional) - Window ending now, as a duration such as '30m', '6h', '7d', or '2w'; units ares,m,h,d(24h), andw(7d) (default: '7d'; ignored whenstartis set). Start with 7d; if the query times out, retry with 3d, then 24hstart/end(optional) - A fixed window: an RFC 3339 date-time withZor an offset, or Unix epoch milliseconds. Withstart, the window runs fromstarttoend(default now) andtimeRangeis ignored.endwithoutstartis rejected with thestartto add.Completeness note: returns a fixed top 100 by ingested sample volume; the response appends a note flagging whether the list was truncated at that cap (
hasMore)
signoz_check_metric_usage
Given a list of metric names, return which dashboards and alerts reference each one. Wraps /api/v3/metrics/dashboards?metricName=... and /api/v2/metrics/alerts?metricName=... per metric.
Parameters:
metricNames(required) - Array of metric name strings to check (max 50 per call). Example:["system.disk.io", "k8s.node.condition"]. For larger lists, split into batches of 50 and merge results.
Response: per metric,
dashboards(list of dashboard names that reference the metric),alerts(list of alert names that reference the metric),error(non-empty when the lookup failed; do not treat the metric as unused in that case)Limits: Maximum 50 metrics per call; 30-second overall timeout (partial results returned on expiry)
signoz_check_metric_cardinality
Return label/attribute keys for one metric with cardinality counts and sample values, sorted highest first. Samples help distinguish unbounded values such as UUIDs from bounded dimensions such as status codes. This tool does not show whether the metric is used; call signoz_check_metric_usage before recommending a drop.
Parameters:
metricName(required) - Metric name to inspect. Example:k8s.container.memory_limittimeRange(optional) - Window ending now, as a duration such as '30m', '6h', '7d', or '2w'; units ares,m,h,d(24h), andw(7d) (default: '7d'; ignored whenstartis set)start/end(optional) - A fixed window: an RFC 3339 date-time withZor an offset, or Unix epoch milliseconds. Withstart, the window runs fromstarttoend(default now) andtimeRangeis ignored.endwithoutstartis rejected with thestartto add.
signoz_list_alerts
Lists currently firing/silenced/inhibited alert instances from Alertmanager, not rule definitions. Use signoz_list_alert_rules for configured rules, signoz_get_alert with an id for one full rule definition, or signoz_get_alert_history for the state timeline.
Parameters:
limit(optional) - Maximum number of alerts per page (default: 50)offset(optional) - Number of results to skip for pagination (default: 0)active/silenced/inhibited(optional) - Tri-state filters. Boolean (or the strings"true"/"false"). Omit to defer to the backend default (all states included). An invalid value is rejected rather than silently droppedfilter(optional) - Comma-separated alert-label comparisons using=,!=,=~(regex), or!~(negative regex), e.g.alertname="HighCPU",severity="critical"receiver(optional) - Regex to filter alerts by receiver name
signoz_list_alert_rules
Lists configured alert-rule summaries from GET /api/v3/rules, including inactive/OK and disabled rules. SigNoz applies filter and states before paging, so finding rules by name, label, severity, or state doesn't need a walk through every page. Use signoz_get_alert for one full definition; use signoz_list_alerts for current Alertmanager instances.
Parameters:
filter(optional) - Filter expression, at most 1024 characters. Keys:name(the rule title),severity,alert_type,rule_type,created_by,updated_by, andcreated_atorupdated_atwith RFC 3339 times. Any other key is a rule label, matched case-sensitively (cluster = 'prod');labels.<key>matches only the label. A bare word matches the name, description, or labels, ignoring case. Example:name CONTAINS 'High Response Time' AND severity IN ('critical', 'error')states(optional) - Only rules in these states:firing,pending,recovering,inactive,nodata, ordisabled, as an array or a comma-separated stringsort(optional) - Field to sort by:updated_at(default),created_at,name,state, orseverityorder(optional) -ascordesc(default)limit(optional) - Maximum number of rules to return per page (default: 50, max: 1000; higher values are clamped)offset(optional) - Number of rules to skip for pagination (default: 0)
signoz_get_alert
Gets one alert rule's full definition (GET /api/v2/rules/{id}). Use signoz_list_alert_rules to discover IDs. Before signoz_update_alert, call this only when a complete current definition is not already available for the prepared operation; reuse a still-current result and preserve unchanged fields.
Parameters:
id(required) - Alert rule ID (UUIDv7 on v2-capable servers).Note: Response shape depends on the SigNoz server version. Post-#10997 servers return the canonical
Ruletype withcreatedAt/updatedAt/createdBy/updatedBy; older servers returnGettableRulewithcreateAt/updateAt/createBy/updateBy(no 'd').
signoz_list_dashboards
Lists paginated tenant-dashboard summaries (name, UUID, description, tags, timestamps). Use signoz_get_dashboard for panel and query definitions, and page by raising offset by limit until you have covered total before concluding a dashboard is absent.
Parameters:
limit(default 50),offset(default 0) – offset-based paginationfilter(optional) – server-side filter DSL over dashboard metadata (name, description, tags, creator, timestamps, locked state)sort(optional) –updated_at(default),created_at, ornameorder(optional) –ascordesc(defaultdesc)
Only source: user dashboards can be updated, patched, or deleted. source is
not a server-side list-filter column; filter returned rows locally across pages
when needed.
The filter DSL is a boolean expression of key operator value terms and bare free-text words joined with AND/OR/NOT and parentheses (e.g. name CONTAINS 'overview' AND locked = true). Read signoz://dashboard/list-filter-guide for the full grammar, the filterable keys with their operators, value formats, and worked examples; the list response also echoes the authoritative reserved-key set in reservedKeywords.
signoz_get_dashboard
Gets one known tenant dashboard's complete layout, variables, panels, and queries. Use signoz_list_dashboards to discover the UUID.
Parameters:
id(required) - Dashboard UUID
signoz_create_dashboard
Creates a custom multi-panel dashboard. Use signoz_import_dashboard when a curated template fits, or signoz_create_view to save one Explorer query. Read signoz://dashboard/instructions, signoz://dashboard/widgets-instructions, and signoz://dashboard/widgets-examples before composing the payload. SigNoz saves a panel whose query returns no data, such as one on a key the workspace lacks, so dry-run each panel's query through signoz_execute_builder_query before saving; signoz_update_dashboard says the same for changed panels.
Parameters:
schemaVersion(required) – Must be"v6"name(DNS-1123 label) orgenerateName: trueto derive it fromspec.display.nametags(required) – Array of key/value tags (may be empty)spec(required) – Perses spec:display,variables(array),panels(map keyed by panel id),layouts(array)
Static Markdown panels use signoz/TextPanel with queries: [], plus
plugin.spec.mode: "markdown", text, presentation, and headerOptions.
Include the panel's layout reference. Query-bearing panels still require one
query; Text panels do not need a query dry run. Widget examples and patch
instructions include both kinds. Area charts use signoz/AreaChartPanel with
one time_series query; visualization.stack (none, normal, or
percent) stacks grouped series, and chartAppearance.fillMode is solid or
gradient. Dashboard inputs use canonical id; the
legacy uuid input is rejected on the changed dashboard tools.
signoz_import_dashboard
Creates a dashboard from a curated template hosted in the SigNoz/dashboards repo (main branch). The server fetches the template JSON and creates the dashboard in one call.
When the relative template path is unknown, call signoz_list_dashboard_templates first. Pass its path, not a URL or absolute path.
Parameters:
path(required) – Template path within the SigNoz/dashboards repo, e.g.hostmetrics/hostmetrics.json
signoz_list_dashboard_templates
Searches the bundled catalog of curated SigNoz dashboard templates and returns the matches as {"templates": [...], "total": N}, where each entry has id, title, path, description, category, and keywords. It does not list dashboards already created in the tenant; use signoz_list_dashboards for those.
Parameters:
searchText(optional) – Words matched case-insensitively against each template's id, title, path, category, description, and keywords; a template must match every word, e.g.postgresorkubernetes pod. At most 2048 characters. Omit to return the full catalog.
signoz_update_dashboard
Fully replaces an existing dashboard. Fetch it with signoz_get_dashboard, take the data object out of that response, merge only the requested changes into it, and send that object's fields at the top level, preserving every other field. The {status, data} response envelope is not accepted as input. Use signoz_update_view for a saved Explorer query.
Parameters:
id(required) – Dashboard id (the legacyuuidkey is also accepted)schemaVersion,name,tags,spec– the complete post-update state (see the tool's JSON Schema)
signoz_patch_dashboard
Applies an RFC 6902 JSON Patch to a dashboard: a partial update without re-sending the entire dashboard. Prefer this over signoz_update_dashboard for targeted edits (rename, add/edit one panel or query, tweak a variable). Adding a panel takes two ops, the panel and a grid item at /spec/layouts/0/spec/items/-; SigNoz saves a panel with no grid item but leaves it out of the layout. SigNoz also saves a query with no data, so dry-run changed queries through signoz_execute_builder_query. signoz://dashboard/patch-instructions has worked recipes and exact paths.
Parameters:
id(required) – Dashboard id (the legacyuuidkey is also accepted)patch(required) – Array of{op, path, value}operations; paths are JSON Pointers into the dashboard's postable shape, e.g./spec/display/name,/spec/panels/<panelId>,/spec/layouts/0/spec/items/-,/tags/-
signoz_list_services
Answers a service's request rate, error rate, or latency, and lists the APM services with trace activity in a time range, sorted by service name and paginated. It counts each service's requests at its entry spans, so numCalls is the request count and callRate is requests per second: numCalls divided by the whole requested window. p99 and avgDuration are latencies in nanoseconds, and errorRate and fourXXRate are percentages (0.5 means 0.5%). Absence means no trace activity in that window, not that the same service.name never appears in logs; use signoz_get_field_values with signal="logs" for log values.
Parameters:
timeRange(optional) - Window ending now, as a duration such as '30m', '6h', '7d', or '2w'; units ares,m,h,d(24h), andw(7d) (default: '6h'; ignored whenstartis set)start/end(optional) - A fixed window: an RFC 3339 date-time withZor an offset, or Unix epoch milliseconds. Withstart, the window runs fromstarttoend(default now) andtimeRangeis ignored.endwithoutstartis rejected with thestartto add.limit(optional) - Maximum services per page (default: 50, max: 1000; higher values are clamped)offset(optional) - Number of results to skip for pagination (default: 0)
Response:
data(services withwebUrlwhen available),pagination(total,offset,limit,hasMore,nextOffset),window(start,end,startMs,endMs), the window queried, andnoteswhen the limit was clamped
signoz_get_service_top_operations
Gets the built-in operation table for one traced service: the operations with the highest p99 latency first, up to limit, each with p50, p95, and p99 latency in nanoseconds, numCalls, and errorCount. The result is an array; when it fills limit, a note says the service likely has more operations. Use signoz_aggregate_traces for custom aggregation, grouping, time series, cross-service comparison, arbitrary trace filters, or operations ranked by calls or errors.
Parameters:
service(required) - Exact traced service name, typically fromsignoz_list_servicestimeRange(optional) - Window ending now, as a duration such as '30m', '6h', '7d', or '2w'; units ares,m,h,d(24h), andw(7d) (default: '6h'; ignored whenstartis set)start/end(optional) - A fixed window: an RFC 3339 date-time withZor an offset, or Unix epoch milliseconds. Withstart, the window runs fromstarttoend(default now) andtimeRangeis ignored.endwithoutstartis rejected with thestartto add.tags(optional) - JSON-encodedTagQueryParamarray passed as a string, for example[{"key":"http.method","tagType":"SpanAttribute","operator":"In","stringValues":["GET"]}]; omit for no tag filterlimit(optional) - Maximum operations to return, highest p99 first (default: 100, max: 5000; higher values are clamped)
signoz_get_service_map
Gets the service dependency graph that SigNoz's Service Map draws for a time window: one edge per caller (parent) and callee (child) with callCount, callRate (calls per second), errorRate (percent of calls that failed), and p50 to p99 latency in nanoseconds, taken from the callee's spans on an edge between services. Set service and direction to answer which services call a service or what it depends on in one call. Set environment, cluster, or namespace to narrow the graph. Databases and message systems are callees named by their system (for example redis or kafka), measured on the caller's own spans; a message system is the child of both its producers and its consumers. Edges are sorted by parent, then child, and paginated. Edges come from per-minute rollups of traced calls, so a window shorter than a minute can return nothing, and an uninstrumented caller leaves no edge. On an edge between two services, callCount and callRate count only the calls whose caller and callee spans SigNoz paired at ingestion, so they can be lower than a span count from signoz_aggregate_traces; database and message-system edges count every call. When the graph is empty, or no edge touches the requested service, a note says which.
Parameters:
service(optional) - Exactservice.namevalue whose edges to keep, or a database or message system named in an edge; discover service names withsignoz_get_field_values(signal=traces,fieldContext=resource,name=service.name); omit for the whole graphdirection(optional) -upstream(services that callservice),downstream(services, databases, and message systems it calls), orboth(default); requiresservicetimeRange(optional) - Window ending now, as a duration such as '30m', '6h', '7d', or '2w'; units ares,m,h,d(24h), andw(7d) (default: '6h'; ignored whenstartis set)start/end(optional) - A fixed window: an RFC 3339 date-time withZor an offset, or Unix epoch milliseconds. Withstart, the window runs fromstarttoend(default now) andtimeRangeis ignored.endwithoutstartis rejected with thestartto add.limit(optional) - Maximum edges per page (default: 50, max: 1000; higher values are clamped)offset(optional) - Number of edges to skip for pagination (default: 0)environment(optional) - Keep only edges recorded with thisdeployment.environmentresource value; discover values withsignoz_get_field_values(signal=traces,fieldContext=resource,name=deployment.environment)cluster(optional) - Keep only edges recorded with thisk8s.cluster.nameresource value; discover values withsignoz_get_field_values(signal=traces,fieldContext=resource,name=k8s.cluster.name)namespace(optional) - Keep only edges recorded with thisk8s.namespace.nameresource value; discover values withsignoz_get_field_values(signal=traces,fieldContext=resource,name=k8s.namespace.name)
Response:
data(edges),pagination(total,offset,limit,hasMore,nextOffset),window(start,end,startMs,endMs), the window queried, andnotes, which always states the units of the edge numbers
signoz_get_alert_history
Gets one configured rule's firing or state-transition history. Defaults to the last 6 hours. Use state and filter to narrow results. For the next page, pass data.nextCursor as cursor and repeat the original filters, time range, and order.
The response is { "status": "success", "data": { "items": [...], "total": <n>, "nextCursor": "<opaque>" } }; nextCursor is omitted on the final page.
Parameters:
id(required) - Alert rule ID fromsignoz_list_alert_rulestimeRange(optional) - Window ending now, as a duration such as '30m', '6h', '7d', or '2w'; units ares,m,h,d(24h), andw(7d) (default: '6h'; ignored whenstartis set)start/end(optional) - A fixed window: an RFC 3339 date-time withZor an offset, or Unix epoch milliseconds. Withstart, the window runs fromstarttoend(default now) andtimeRangeis ignored.endwithoutstartis rejected with thestartto add.state(optional) - Filter by alert state:inactive,pending,recovering,firing,nodata, ordisabled(omit for all transitions)filter(optional) - SigNoz query-builder expression over timeline labels. Combine conditions withAND,OR, and parentheses; quote strings with single quotes. Example:severity = 'critical' AND (team = 'payments' OR service.name = 'checkout'). To discover keys, first call without a filter and inspectdata.items[].labels[].key.name. The backend-shapedfilterExpressionalias remains accepted for compatibility, butfilteris canonical.cursor(optional) - Opaque continuation cursor. Repeat the original time range, state, filter, and order when fetching the next page. Omitcursorfor the first page.limit(optional) - Rows per page. Default: 20; max: 10000 (higher values are clamped).order(optional) - Sort order. Enum:asc,desc(default: 'asc')Legacy
offset: no longer supported; use the returned cursor instead.Completeness note: the response appends a note reporting
hasMorefromdata.nextCursorand names the cursor for the next page.
signoz_list_views
List saved Explorer views or discover a view UUID for one Logs, Traces, Metrics, or Cost Meter page. A view stores one reusable Explorer query spec; it is not a multi-panel dashboard. Apply name filters before pagination and follow pagination.nextOffset while pagination.hasMore is true.
Parameters:
source(optional) - Explorer to filter by, for exampletraces,logs,metrics, ormeter(Cost Meter, a distinct Explorer page); SigNoz validates the value. Omit to list views from every Explorername(optional) - Partial-match filter on view name (server-side)limit(optional) - Page size (default: 50, max: 1000; higher values are clamped)offset(optional) - Number of results to skip (default: 0)
signoz_get_view
Get one saved Explorer view's complete definition by UUID. Call this before signoz_update_view, which fully replaces the view.
Parameters:
id(required) - Saved view UUID
signoz_search_docs
Search official SigNoz documentation and return ranked pages with URLs and snippets for product, setup, instrumentation, configuration, API, deployment, or troubleshooting questions. Send 2 to 6 keywords for one topic and keep product and technology names as the user wrote them; split multi-intent questions into separate calls. If the top result is off-topic, retry with fewer or different terms. Do not use for live tenant data; use signoz_fetch_doc for the full content of a selected result or exact docs URL.
Parameters:
searchText(required) - 2 to 6 keywords for one topic, for example "Kubernetes pod logs". Keep product and technology names as the user wrote them.limit(optional) - Maximum results to return as a string (default: 10, max: 25; a numeric value is also accepted). The 25 ceiling is deliberate: each result hydrates document text out of the in-process docs index, so a larger limit inflates this server's resident memory.section_slug(optional) - Exact top-level docs section filter, such assetup,logs-management,apm-distributed-tracing,metrics,alerts,dashboards,signoz-apis,querying, orcollection-agents. Reuse thesection_slugfrom an earlier result when narrowing; an unknown slug returns zero resultssearchContext- User's original question
Docs search telemetry counts executed searches in signoz_docs_searches_total with
outcome=ok|error. Only successful searches have result_count_bucket (0, 1-4,
5-9, or 10+). signoz_docs_search_top_score records the top hit's raw Bleve score
only for successful non-empty searches. Scores are uncalibrated and depend on query
terms, boosts, and analyzer settings; they are not relevance probabilities or thresholds.
Search spans record mcp.docs.search_text (the executed query, truncated to 256 Unicode
runes), mcp.docs.section_slug, and mcp.docs.result_count. Successful non-empty searches
also record mcp.docs.top_score. These span attributes distinguish the client's keyword
query from the user's original request in mcp.search_context; query text is not a metric
attribute. If the query is invalid Bleve query-string syntax, search drops that clause,
continues with text matching, and records mcp.docs.query_string_dropped=true. Empty or
whitespace-only queries remain validation errors.
resources/read spans record mcp.resource.uri, the URI of the resource that was read. A
URI the server does not serve is recorded as unknown. The URI is not a metric attribute.
signoz_fetch_doc
Fetch one known official SigNoz docs page's full Markdown or a requested heading. Use signoz_search_docs to discover a page first; accepted inputs are https://signoz.io/docs/... URLs or /docs/... paths.
Parameters:
url(required) - Docs page URL or path. Asignoz://resource URI is rejected with a hint to read it withresources/readinsteadheading(optional) - Heading anchor ID or heading textsearchContext- User's original question
signoz_create_view
Save one reusable Explorer query spec. Use signoz_create_dashboard for a multi-panel dashboard. Set every builder_query signal to the view's source; SigNoz saves a mismatched view without complaint. Cost Meter views use source="meter" with signal="metrics" and builder-spec source="meter".
Parameters (v2 typed shape):
name(optional) - View name (DNS-1123 label). Required unlessgenerateNameis truegenerateName(optional) - When true, the server generatesnamefromspec.displayNameandnamemust be emptysource(required) - Which Explorer this view belongs to, for exampletraces,logs,metrics, ormeter; SigNoz validates the valuespec(required) - Typed view content:displayName,panelType,requestType,queries,selectedFields,displayschemaVersion(optional) - Alwaysv2; defaults when omitted
Required: Read both MCP resources
signoz://view/instructionsandsignoz://view/examplesbefore composing any payload.
signoz_update_view
Fully replace an existing saved Explorer view. Fetch it with signoz_get_view, modify its returned data object, preserve every unrequested field, and pass that full object as view. Upstream keeps name immutable on update; the display label lives in spec.displayName. When changing source or queries, keep every builder_query signal equal to source (metrics for a Cost Meter view); SigNoz saves a mismatch.
Parameters:
id(required) - UUID of the view to replaceview(required) - Fullsource/specpair (required); dropnameand server-populated fields
Migration: the retired flat shape (
sourceandspecbesideid) returns a codedVALIDATION_FAILEDerror naming theviewwrapper; pass{"id": "<uuid>", "view": {"source": ..., "spec": ...}}.Resource rule: Read
signoz://view/instructionsandsignoz://view/exampleswhen changingsourceorspec. Skip them for a pass-through of the fetched body. Callsignoz_get_viewfirst; partial bodies wipe unspecified fields.
signoz_delete_view
Permanently delete a confirmed saved Explorer view by UUID. Use signoz_list_views to discover the ID; use signoz_delete_dashboard for a dashboard.
Parameters:
id(required) - Saved view UUID
signoz_aggregate_logs
Return log counts, error counts, rates, averages, percentiles, or grouped/top-N breakdowns over logs rather than individual records. Use signoz_search_logs for log rows and message inspection. Discover unfamiliar keys with signoz_get_field_keys before filtering on them; signoz://logs/query-builder-guide has the filter grammar.
Parameters:
aggregations(required) - Aggregation expressions as the Query Builder writes them:count(),count_distinct(user_id),avg(duration),p99(duration),rate(), or a conditional such ascountIf(severity_text = 'ERROR'). One expression or an array (e.g.["count()", "p95(duration)", "p99(duration)"]), with no alias: SigNoz rejectscount() as total. Results come back as__result_0,__result_1, ... in that order. SigNoz validates the expressions. The formeraggregationandaggregateOninputs return a coded error naming this replacementgroupBy(optional) - Fields to group by, as an array or a comma-separated string (e.g.["service.name", "severity_text"]). An array of objects is rejected with a coded error naming both forms. Group by keyssignoz_get_field_keysreturns; an unknown key can come back as one empty group. A body field (body.<path>) can be grouped only whensignoz_get_field_keys(signal="logs",fieldContext="body") lists it, which happens only on workspaces that store JSON log bodies; otherwise SigNoz rejects it withcan be filtered but not selected or groupedorfield not found, so filter on it insteadhaving(optional) - Condition on the aggregation results, applied after grouping (e.g.count() > 100). SigNoz validates itfilter(optional) - Filter expression using SigNoz search syntax. Pass the expression text, not{"expression": ...}, which is rejected with a coded error. Combine conditions with AND, OR, and parentheses. An unknown key may not fail: SigNoz can match guessed attribute and body spellings and return akey ... not found in metadatawarning with no rows, so read that warning as an absent key. Ambiguous keys default to resource context. Log keys are workspace-specific; evenservice.nameis only present when the log pipeline sets it. Seesignoz://logs/query-builder-guideThere is nokey:value,STARTS WITH, orIS NULL; useLIKE 'prefix%'andEXISTS/NOT EXISTS.service(optional) - Shortcut filter for service name (addsresource.service.name = '<value>'; when the workspace's logs carry no resourceservice.name, the call usually returns no rows with akey ... not found in metadatawarning instead of failing)severity(optional) -severity_text, matched in any case and as a prefix, soWARNalso matcheswarningandWarning; pass the short form (ERR,WARN,INFO). DEBUG, INFO, WARN, ERROR, and FATAL are common examples, not an exhaustive enum. Discover values withsignoz_get_field_values(signal="logs", name="severity_text", fieldContext="log")orderBy(optional) - Order expression and direction. The expression must be one of the call's aggregations, written exactly as inaggregations, or agroupBykey (e.g.'count_distinct(trace_id) desc'when aggregatingcount_distinct(trace_id)); default: the first aggregation, descendinglimit(optional) - Maximum number of groups to return (default: 100, max: 10000; higher values are clamped to bound server memory)functions(optional) - Post-query transforms applied in order to each series, as an array of{name, args}objects (or a JSON-encoded string); each arg is{"value": <number>}.timeShiftreads the window that many seconds earlier and returns its points on the current window's timestamps;604800gives the same window last week. To compare two windows, call once withouttimeShiftand once with it. ForA - BorA / Bin one result, usesignoz_execute_builder_querywith two builder queries, the second withtimeShift, and abuilder_formula.cutOffMinandcutOffMaxdrop points below or above a threshold;clampMinandclampMaxset them to it.runningDiffgives the change from the point before;cumulativeSumgives a running total.ewma3,ewma5,ewma7,median3,median5, andmedian7smooth a series;fillZeroadds 0 at steps with no data;absolute,log2, andlog10transform each value. SigNoz validates names and args. On ascalarrequest SigNoz applies onlytimeShift, and the response notes any other function it skippedtimeRange(optional) - Window ending now, as a duration such as '30m', '6h', '7d', or '2w'; units ares,m,h,d(24h), andw(7d) (default: '1h'; ignored whenstartis set)start/end(optional) - A fixed window: an RFC 3339 date-time withZor an offset, or Unix epoch milliseconds. Withstart, the window runs fromstarttoend(default now) andtimeRangeis ignored.endwithoutstartis rejected with thestartto add.requestType(optional) -scalar(default; one aggregate value over the whole range) ortime_series(one value per time bucket). Unknown values are rejected.stepInterval(optional) - Time bucket size in seconds fortime_seriesmode. Accepts a number or numeric string (backend auto-selects when omitted)Time-series ranking note: the limit selects top groups over the whole requested window, not independently per bucket. Narrow the window or adjust the limit when a short-lived series could otherwise be hidden.
Key-not-found errors: a filter referencing a key absent from this workspace's logs metadata fails with recovery guidance in the error text plus a machine-readable
missingKeysarray in the structured error content
signoz_search_logs
Return individual paginated log records matching text, service, severity, or field filters. Use signoz_aggregate_logs for counts, trends, or grouped breakdowns.
Discover unfamiliar workspace fields with signoz_get_field_keys before filtering on them; signoz://logs/query-builder-guide has the filter grammar.
Parameters:
filter(optional) - Filter expression using SigNoz search syntax. Pass the expression text, not{"expression": ...}, which is rejected with a coded error. Combine conditions with AND, OR, and parentheses (e.g., "(severity_text = 'ERROR' OR body CONTAINS 'panic') AND service.name = 'payment-svc'"). Log keys are workspace-specific; evenservice.nameis only present when the log pipeline sets it. Seesignoz://logs/query-builder-guideThere is nokey:value,STARTS WITH, orIS NULL; useLIKE 'prefix%'andEXISTS/NOT EXISTS.service(optional) - Service name to filter by (addsresource.service.name = '<value>'; when the workspace's logs carry no resourceservice.name, the call usually returns no rows with akey ... not found in metadatawarning instead of failing)severity(optional) -severity_text, matched in any case and as a prefix, soWARNalso matcheswarningandWarning; pass the short form (ERR,WARN,INFO). DEBUG, INFO, WARN, ERROR, and FATAL are common examples, not an exhaustive enum. Discover values withsignoz_get_field_values(signal="logs", name="severity_text", fieldContext="log")searchText(optional) - Literal text to find, escaped automatically; combines withfilterusing AND. With the default scope it matches only the log message, so text stored in an attribute value needssearchScopeattributeorallsearchScope(optional) - WheresearchTextmatches:body(default,body CONTAINS),attributeorresource(keys and values), orall(unscopedsearch()over every searchable field). The wider scopes are slower; over long windows shorten the window or addserviceor another filter, or SigNoz may reject the query. Ignored, with a note in the result, whensearchTextis empty; an unknown scope is rejectedtimeRange(optional) - Window ending now, as a duration such as '30m', '6h', '7d', or '2w'; units ares,m,h,d(24h), andw(7d) (default: '1h'; ignored whenstartis set)start/end(optional) - A fixed window: an RFC 3339 date-time withZor an offset, or Unix epoch milliseconds. Withstart, the window runs fromstarttoend(default now) andtimeRangeis ignored.endwithoutstartis rejected with thestartto add.limit(optional) - Maximum number of logs to return (default: 20, max: 10000; higher values are clamped; paginate withoffset)offset(optional) - Offset for pagination (default: 0)orderBy(optional) - Row order as<field> <direction>(e.g.timestamp asc,severity_number desc; default:timestamp desc)selectFields(optional) - Fields to return on each row instead of the complete record; SigNoz always addstimestampandid. An array of names or a comma-separated string, at most 50. Names can be log columns (body,severity_text), resource attributes (service.name,k8s.pod.name), or log attributes (http.route); a body field (body.<path>) can be selected only whensignoz_get_field_keys(fieldContext="body") lists it, and is otherwise rejected withcan be filtered but not selected or groupedorfield not found, so filter on it instead; aresource.,attribute.,log., orbody.prefix picks the context. Discover names withsignoz_get_field_keys(signal="logs")Rows: with no
selectFields, each row is the complete log record: every log column plus theattributes_string,attributes_number,attributes_bool,resources_string, andscope_stringmaps. WithselectFields, each named field is a flat row keyOrdering: generated raw log queries use
timestamp desc, thenid desc, so offset pagination is deterministic when multiple rows share a timestamp. WhenorderBynamestimestamp,idfollows in the same direction.Completeness note: the response appends a note reporting
hasMore(inferred fromreturnedRows == limit) and thenextOffsetto fetch, so a truncated page is never mistaken for the full result setBody-only search note: when
searchTextsearched only the log body and the first page is empty, the response adds a note pointing atsearchScopeattributeorallKey-not-found errors: a filter referencing a key absent from this workspace's logs metadata fails with recovery guidance in the error text plus a machine-readable
missingKeysarray in the structured error content
Use filter: "search('timeout')" when the field containing a term is unknown.
Use search('checkout', body) to scope it, or combine the function with field
predicates using AND/OR/NOT. Scopes are body, attribute, resource, and
log. Once the field is known, prefer a field predicate. searchText with
searchScope builds these predicates for you. Escape backslashes and apostrophes
inside expression literals; explicit filters are passed through, not rewritten.
The same expressions work in log aggregations and saved-query specs.
signoz_get_field_keys
Discover field names available for filtering or grouping metrics, traces, or logs, including AI trace fields with queryType: builder_ai_query. This returns keys, not observed values; use signoz_get_field_values after selecting a key. Keys come from all retained metadata; the tool takes no time range. A data.complete of false means SigNoz cut the key list, and the result then carries a note with next steps: narrow with searchText or fieldContext, or raise limit.
Parameters:
signal(required) - Signal type. Enum:metrics,traces,logssearchText(optional) - Filter field keys by name substringmetricName(optional) - Filter by metric name (relevant for metrics signal)fieldContext(optional) - Restrict to a field context. Enum:resource,attribute,scope,log/span/metric(intrinsic columns),trace(fields of a whole trace rather than one span, such as values computed over all of its spans; written with thetrace.prefix),body(JSON log body). Useattribute, not the legacy Query Builder contexttag, which SigNoz does not read asattributehere.fieldDataType(optional) - Restrict to a data type:string,bool,int64,float64,number. An array form like[]stringis treated as its element type.source(optional) - For metrics, usemeterfor Cost Meter fields; omit for the default metrics storequeryType(optional) -builder_query(default) lists the fields ofsignal. Setbuilder_ai_queryfor AI observability queries; it also lists the trace-level fields, such astrace.estimated_total_cost, andgen_ai.*attributes.limit(optional) - Maximum number of keys to return for each signal, as an integer or string. Omit it for the SigNoz default. Intrinsic and materialized fields come on top of the limit, so the list can be longer.
signoz_get_field_values
Get observed values for a known field key. Use signoz_get_field_keys when the key is unknown, and match signal and fieldContext to the query that will use the value. Values come from all retained metadata; the tool takes no time range. A data.complete of false means SigNoz cut the value list, and the result then carries a note with next steps: narrow with searchText, or raise limit.
Parameters:
signal(required) - Signal type. Enum:metrics,traces,logsname(required) - Field key name to get values for (e.g.,service.name,http.method)searchText(optional) - Filter values by substringmetricName(optional) - Filter by metric name (relevant for metrics signal)fieldContext(optional) - Restrict the lookup to a field context (resource,attribute,scope,log/span/metric,body) when the same key name exists in more than one. Useattribute, not the legacy Query Builder contexttag, which SigNoz does not read asattributehere.source(optional) - For metrics, usemeterfor Cost Meter values; omit for the default metrics storelimit(optional) - Maximum number of values to return, as an integer or string. Omit it for the SigNoz default.
signoz_search_traces
Return individual paginated span rows matching service, operation, error, duration, or field filters, and use them to discover trace IDs. With requestType: trace it returns one row per trace instead. With queryType: builder_ai_query it searches AI traces, also filters on per-trace cost, token, and call counts, and its trace rows carry those per-trace values. Use signoz_aggregate_traces for statistics or signoz_get_trace_details for one known trace.
Parameters:
filter(optional) - Filter expression using SigNoz search syntax. Pass the expression text, not{"expression": ...}, which is rejected with a coded error. Combine conditions with AND, OR, and parentheses (e.g., "service.name = 'payment-svc' AND (has_error = true OR attribute.http.response.status_code >= 500)"). The formerqueryalias is rejected with a coded error that namesfilter. Every condition needs a key and an operator: there is no full-text search,key:value,STARTS WITH, orIS NULL; useLIKE 'prefix%'andEXISTS/NOT EXISTS.isRoot = trueandisEntryPoint = trueselect root and service entry spans. Seesignoz://traces/query-builder-guideservice(optional) - Service name to filter by (addsresource.service.name = '<value>')operation(optional) - Operation/span name to filter byerror(optional) - Filter by error status. Boolean (or the strings"true"/"false"). An invalid value is rejected rather than silently droppedminDuration/maxDuration(optional) - Min/max span duration as a duration such as'500ms'or'2s'(unitsns,us,ms,s,m,h). A bare number, string or JSON, is nanoseconds. SigNoz rejects any other valuetimeRange(optional) - Window ending now, as a duration such as '30m', '6h', '7d', or '2w'; units ares,m,h,d(24h), andw(7d) (default: '1h'; ignored whenstartis set)start/end(optional) - A fixed window: an RFC 3339 date-time withZor an offset, or Unix epoch milliseconds. Withstart, the window runs fromstarttoend(default now) andtimeRangeis ignored.endwithoutstartis rejected with thestartto add.limit(optional) - Maximum rows to return (default: 20, max: 10000; higher values are clamped; paginate withoffset)offset(optional) - Number of rows to skip (default: 0)selectFields(optional) - Fields to return on each span row instead of the complete record; SigNoz always addstimestamp,trace_id, andspan_id. An array of field names or a comma-separated string, at most 50. Names can be span columns (name,duration_nano), resource attributes (service.name,k8s.pod.name), or span attributes (http.route); aresource.,attribute., orspan.prefix picks the context. Discover names withsignoz_get_field_keys(signal="traces")Rows: with no
selectFields, each span row is the span's complete record: the span fields plusattributesandresourcemaps,events, andlinks, the same shapesignoz_get_trace_detailsreturns. WithselectFields, each named field is a flat row keyorderBy(optional) - Row order as'<expression> <direction>'(e.g.'duration_nano desc'; direction defaults todesc). Span rows order by span fields and default totimestamp desc.builder_ai_querytrace rows order by a trace-level field ortrace.last_activity_time, e.g.'trace.estimated_total_cost desc', and default to latest activity first.builder_querytrace rows always come back slowest first; SigNoz ignoresorderByfor themqueryType(optional) -builder_query(default) searches all traces. Setbuilder_ai_queryfor AI observability queries: it searches AI traces (traces with an LLM, tool, or agent span), its span rows are only those spans, andfilteralso accepts the trace-level fieldstrace.llm_call_count,trace.tool_call_count,trace.distinct_tool_count,trace.input_tokens,trace.output_tokens,trace.total_tokens,trace.estimated_total_cost, andtrace.max_llm_duration_nano, e.g.trace.tool_call_count > 10. An unknown value runs asbuilder_querywith an input validation noticerequestType(optional) -raw(default; one row per span) ortrace(one row per trace). Span-level filters, includingoperation,error,minDuration, andmaxDuration, keep the traces with at least one matching span, andselectFieldsdoes not apply to trace rows.builder_querytrace rows carrytrace_id, the root spanname,service.name,duration_nano, andspan_count(the spans matching the filter).builder_ai_querytrace rows carry the trace-level fields without thetrace.prefix (such asllm_call_count), plusroot_span_name,span_count,trace_duration_nano,error_count, and the input and output message JSON. An unknown value runs asrawwith an input validation noticeCompleteness note: the response appends a note reporting
hasMore(inferred fromreturnedRows == limit) and thenextOffsetto fetch, so a truncated page is never mistaken for the full result setOutput note: raw result row keys follow canonical Query Builder field names (for example
trace_id,span_id,duration_nano,has_error). Legacy caller-provided filters such ashasErrorstill pass through to the backend alias layer, but new response parsers should read the canonical snake_case keys.Key-not-found errors: a filter referencing a key absent from this workspace's traces metadata fails with recovery guidance in the error text plus a machine-readable
missingKeysarray in the structured error content
signoz_aggregate_traces
Return request counts, rates, latency percentiles, error counts, grouped/top-N breakdowns, or time series over spans rather than individual rows or a full trace hierarchy. SigNoz aggregates every span the filter matches: for a service's requests, filter on isEntryPoint = true OR isRoot = true, as signoz_list_services does. For one row per trace, such as the most expensive AI traces, use signoz_search_traces with requestType: trace. For one traced service's built-in operation table ranked by p99, use signoz_get_service_top_operations. signoz://traces/query-builder-guide has the filter grammar and span fields. For AI cost, token, or call-count statistics per trace, set queryType: builder_ai_query (see signoz://ai/query-builder-guide).
Parameters:
aggregations(required) - Aggregation expressions as the Query Builder writes them:count(),count_distinct(name),avg(duration_nano),p99(duration_nano),rate(), or a conditional such ascountIf(has_error = true);duration_nanois span latency in nanoseconds. One expression or an array (e.g.["count()", "p95(duration_nano)", "p99(duration_nano)"]), with no alias: SigNoz rejectscount() as total. Results come back as__result_0,__result_1, ... in that order. SigNoz validates the expressions. The formeraggregationandaggregateOninputs return a coded error naming this replacementgroupBy(optional) - Fields to group by, as an array or a comma-separated string (e.g.["service.name", "name"]). An array of objects is rejected with a coded error naming both forms. For values over time userequestType: time_series; grouping bytimestampfails. Client spans to different services can share a span name: to compare the services a caller calls, group by a destination attribute such asserver.address;signoz_get_field_keyslists the attributes spans carryhaving(optional) - Condition on the aggregation results, applied after grouping (e.g.p99(duration_nano) > 500000000). SigNoz validates itfilter(optional) - Filter expression using SigNoz search syntax. Pass the expression text, not{"expression": ...}, which is rejected with a coded error. Combine conditions with AND, OR, and parentheses. An unknown key may not fail: SigNoz can match a guessed attribute and return akey ... not found in metadatawarning with no rows, so read that warning as an absent key. Ambiguous keys default to resource context. Every condition needs a key and an operator: there is no full-text search,key:value,STARTS WITH, orIS NULL; useLIKE 'prefix%'andEXISTS/NOT EXISTS.isRoot = trueandisEntryPoint = trueselect root and service entry spans. Seesignoz://traces/query-builder-guideservice(optional) - Shortcut filter for service name (addsresource.service.name = '<value>')operation(optional) - Shortcut filter for span/operation nameerror(optional) - Shortcut filter for error spans. Boolean (or the strings"true"/"false"). An invalid value is rejected rather than silently droppedminDuration/maxDuration(optional) - Min/max span duration as a duration such as'500ms'or'2s'(unitsns,us,ms,s,m,h). A bare number, string or JSON, is nanoseconds. SigNoz rejects any other valueorderBy(optional) - Order expression and direction. The expression must be one of the call's aggregations, written exactly as inaggregations, or agroupBykey (e.g.'p99(duration_nano) desc'when aggregatingp99(duration_nano)); default: the first aggregation, descendinglimit(optional) - Maximum number of groups to return (default: 100, max: 10000; higher values are clamped to bound server memory)functions(optional) - Post-query transforms applied in order to each series, as an array of{name, args}objects (or a JSON-encoded string); each arg is{"value": <number>}.timeShiftreads the window that many seconds earlier and returns its points on the current window's timestamps;604800gives the same window last week. To compare two windows, call once withouttimeShiftand once with it. ForA - BorA / Bin one result, usesignoz_execute_builder_querywith two builder queries, the second withtimeShift, and abuilder_formula.cutOffMinandcutOffMaxdrop points below or above a threshold;clampMinandclampMaxset them to it.runningDiffgives the change from the point before;cumulativeSumgives a running total.ewma3,ewma5,ewma7,median3,median5, andmedian7smooth a series;fillZeroadds 0 at steps with no data;absolute,log2, andlog10transform each value. SigNoz validates names and args. On ascalarrequest SigNoz applies onlytimeShift, and the response notes any other function it skippedtimeRange(optional) - Window ending now, as a duration such as '30m', '6h', '7d', or '2w'; units ares,m,h,d(24h), andw(7d) (default: '1h'; ignored whenstartis set)start/end(optional) - A fixed window: an RFC 3339 date-time withZor an offset, or Unix epoch milliseconds. Withstart, the window runs fromstarttoend(default now) andtimeRangeis ignored.endwithoutstartis rejected with thestartto add.requestType(optional) -scalar(default; one aggregate value over the whole range) ortime_series(one value per time bucket). Unknown values are rejected.stepInterval(optional) - Time bucket size in seconds fortime_seriesmode. Accepts a number or numeric string (backend auto-selects when omitted)queryType(optional) -builder_query(default) aggregates spans of all traces. Setbuilder_ai_queryfor AI observability queries: it aggregates spans of AI traces, andaggregations,filter, andorderByalso accept the trace-level fields listed forsignoz_search_traces, e.g.avg(trace.estimated_total_cost). One call cannot mix trace-level and span-level aggregations. Count AI traces withcount_distinct(trace_id). An unknown value runs asbuilder_querywith an input validation noticeTime-series ranking note: the limit selects top groups over the whole requested window, not independently per bucket. Narrow the window or adjust the limit when a short-lived series could otherwise be hidden.
Key-not-found errors: a filter referencing a key absent from this workspace's traces metadata fails with recovery guidance in the error text plus a machine-readable
missingKeysarray in the structured error content
signoz_get_trace_details
For a known trace ID, return its spans and hierarchy. Each span comes back as its complete record: the span fields plus attributes and resource maps, events, and links. Use signoz_search_traces first when the ID is unknown. SigNoz locates the trace by its ID alone, so the tool takes no time window; an ID SigNoz does not know returns no spans.
Parameters:
traceId(required) - Known trace ID, usually discovered withsignoz_search_tracesincludeSpans(optional) - Has no effect: every call returns the trace's spans as complete records, up to 1,000. Boolean (or the strings"true"/"false")
signoz_get_ai_pricing
Return the AI model prices SigNoz uses to compute span cost, or the models that have no price. SigNoz stamps cost on each span at ingest: spans of a model no rule prices carry no cost, and a price change does not touch spans already stored. Prices are changed on the Model pricing tab of AI Observability in SigNoz.
Parameters:
view(optional) -rules(default): pricing rules with provider, model name and match patterns, input, output, and cache prices in USD per million tokens, andenabled.unpriced_models: models seen in spans during the last hour that no rule matches, with span countssearchText(optional) - Case-insensitive substring of the model name or provider (gpt-4oalso matchesgpt-4o-mini). An empty page withsearchTextmeans no entry matched; omit it to see whether any entries existlimit(optional) - Entries per page (default: 50, max: 1000; higher values are clamped)offset(optional) - Entries to skip; usepagination.nextOffsetfrom the previous page (default: 0)
Response:
view,data(SigNoz's pricing rule or unpriced model objects as returned), andpagination(total,offset,limit,hasMore,nextOffset)
signoz_list_ai_attribute_mappings
List the span attribute mapping groups that map vendor AI span attributes (OpenInference, OpenLLMetry, Vercel AI SDK, and others) to gen_ai.* keys at ingest. A group runs on spans whose attribute keys contain one of its condition substrings, and each mapper fills one gen_ai.* key from the first source key present, by priority. Mappings apply only to spans ingested afterwards and are changed on the Attribute Mapping tab of AI Observability in SigNoz.
Parameters: none besides
searchContextResponse:
data(each group as SigNoz returns it, plusmapperswith each mapper's sources),incomplete, and, when the mappers of some groups could not be read,failedGroups(groupId,name,code,status,message) andnextAction. Authentication and permission failures fail the whole call with a coded error
signoz_test_ai_attribute_mapping
Run sample spans through the mapping groups in a sandbox and return each span as SigNoz would store it. Nothing is saved and no real span changes. A span that gains gen_ai.request.model counts as a model call.
Parameters:
spans(required) - 1 to 100 sample spans, each{attributes, resource}with key-value maps. Example:[{"attributes":{"llm.model_name":"gpt-4o","llm.token_count.prompt":120,"llm.token_count.completion":45}}]groups(optional) - Mapping groups to test instead of the saved ones, in the shape SigNoz accepts (name,condition,enabled,mappers). Omit to test the saved groups; an empty list tests none. A group withoutmappersuses the saved mappers of the group with the same name. SigNoz skips disabled groups, mappers, and condition keys, so setenabled: trueon each
Response:
groupSource(savedorprovided),testedGroups(names of the enabled groups sent),spans(the mapped spans, in input order), andcollectorLogs.spansandgroupsreach SigNoz exactly as sent, so large integers keep their precision; a response without one mapped span per sample is a coded upstream error
signoz_create_alert
Create a new alert rule in SigNoz via POST /api/v2/rules.
Units and data: when a threshold sets
targetUnit, setcondition.compositeQuery.unitto the series unit; without it SigNoz compares the target unconverted, so a 1 s target meets a nanosecond series as 1. SigNoz saves a rule whose query returns no data, such as one on a metric the workspace lacks, so dry-run its queries throughsignoz_execute_builder_queryfirst, as aquery_rangerequest whosecompositeQueryholds onlyqueries.signoz_update_alertcarries the same unit rule.Parameters: JSON payload matching the SigNoz alert rule schema.
Schema: every
ruleType(threshold_rule,promql_rule,anomaly_rule) uses v2alpha1: structuredcondition.thresholds,evaluation,notificationSettings, andschemaVersion: "v2alpha1"set explicitly, since SigNoz rejects a rule that omits it.anomaly_ruleis metrics only, addscondition.seasonality, and compares each tier's signed target with the anomaly score (belowwith target-2fires on a drop of more than 2 standard deviations;outside_boundswith target2fires on a move of more than 2 either way).Notification routing: For direct routing, reuse a fully paginated
signoz_list_notification_channelsresult only from the same still-current prepared operation; otherwise call it, refreshing only if state may have changed. V2 needs an exact returned displayName on every tier: SigNoz rejects a tier with no channels or a channel name that does not exist. If none fits, ask the user or offersignoz_create_notification_channelwith user-provided config; never create automatically. Confirmed v2 policy routing may omit tier channels.Tip: Reuse alert resources only when already read for the same prepared operation; otherwise read
signoz://alert/instructionsandsignoz://alert/examples. For PromQL, readsignoz://promql/instructionswhen needed.
signoz_update_alert
Update an existing alert rule via PUT /api/v2/rules/{id}. This fully replaces the rule: reuse signoz_get_alert, signoz://alert/instructions, signoz://alert/examples, and fully paginated signoz_list_notification_channels results only from the same still-current prepared operation; otherwise read/call them, refreshing only if state may have changed, then preserve unchanged fields. Direct v2 needs an exact listed displayName on every tier; confirmed v2 policy routing may omit them. SigNoz saves a rule whose query has no data, so dry-run changed queries through signoz_execute_builder_query.
Parameters:
id(required) - UUIDv7 of the rule to update (obtain fromsignoz_list_alert_rules/signoz_get_alert).Plus all fields of the alert rule schema (same shape as
signoz_create_alert).
signoz_delete_alert
Delete an alert rule via DELETE /api/v2/rules/{id}. Irreversible: discover the ID with signoz_list_alert_rules and confirm the exact rule first. When both steps are already complete, call the delete tool directly without repeating list/get preflight.
Parameters:
id(required) - UUIDv7 of the rule to delete. The server rejects non-UUIDv7 values withinvalid_input.
signoz_delete_dashboard
Permanently delete a confirmed tenant dashboard by ID. The deletion is irreversible; use signoz_list_dashboards to discover the UUID. Use signoz_delete_view for a saved Explorer view.
Parameters:
id(required) - Dashboard UUID to delete
signoz_list_notification_channels
List paginated v2 channel summaries (id, name, displayName, kind, timestamps).
Alert routing uses displayName; name is the immutable machine identifier.
Results omit provider settings and credentials. Use signoz_get_notification_channel
for the complete configuration, and cover every page before declaring a channel absent.
Parameters:
querysearches display names;kindfilters provider kind;sortisupdated_at,created_at, orname;orderisascordesc.limitdefaults to 20 and is capped at 200;offsetdefaults to 0.Defaults: newest update first. The response includes the filtered total and explicit pagination metadata. Follow
pagination.nextOffsetwhilepagination.hasMoreis true;pagination.limitreports the effective cap.
signoz_create_notification_channel
Create a notification channel from config: {kind, spec}. Check existing
display names before creating a channel.
Parameters:
configis required. Supply a DNS1123name, or usegenerateName: truewith adisplayName. SigNoz defaultsdisplayNamefrom an explicitnamewhen omitted. Both names become immutable after creation. Alert routing references usedisplayName, notname.Provider kinds:
signoz://notification-channel/exampleslists every kind the pinned SigNoz release accepts, each kind'sconfig.specfields, and a worked payload per kind; it is generated from the SigNoz OpenAPI spec bymake gen. SigNoz validates the kind and its rejection lists the kinds it accepts. SigNoz also rejects an unknown or missingconfig.specfield with the exact requirement, and a duplicate name withalready-exists.Resolve notifications:
config.spec.sendResolveduses the provider's default when omitted. Get returns its effective value; preserve it on update.Test sends:
testdefaults tofalse. Settest: trueonly when a test notification is intended. A failed test does not undo the created channel; inspect its reported status before retrying. Post-write authorization errors includemutationCommitted: trueand the known ID so callers can authenticate and inspect the existing channel without creating another one.
Example without a test send:
{
"name": "checkout-oncall",
"displayName": "Checkout on-call",
"config": {
"kind": "webhook",
"spec": {"url": "https://alerts.example.com/signoz", "sendResolved": true}
},
"test": false
}signoz_update_notification_channel
Fully replace one channel's config using id and the complete canonical
config: {kind, spec} object. Fetch the channel, copy its config, change only
requested fields, then submit the complete object. Names cannot be changed.
Preserve every untouched setting and credential without echoing secrets. A
fetched config is writable as-is; to unset an optional field, omit it, because
SigNoz rejects an empty string for template-backed fields such as titles and
messages.
test defaults to false; an explicit true sends a test after the update.
A test failure does not undo the update. Do not replay an ambiguous write or
an opt-in test automatically.
signoz_get_notification_channel
Get one channel's canonical id, machine name, displayName, timestamps,
and full config. The config.spec can contain plaintext credentials; use it
for updates without displaying or logging secrets. Parameter: id.
signoz_delete_notification_channel
Permanently delete a confirmed channel by id. Resolve and confirm the exact
channel first; call directly when those steps are already complete. SigNoz
rejects deleting a channel that an alert rule or routing policy routes to and
names those routing policies. For a name that is a UUID, signoz_get_alert
shows whether that rule routes to the channel; if it does not, or for any other
name, it is a routing policy in SigNoz settings. The error adds a recovery note
saying so.
signoz_submit_feedback
Lets the agent send feedback to the SigNoz team in two cases. The agent hit a problem with this MCP server: a tool error it could not explain, a confusing description, schema, or result, a missing capability, or unclear documentation. Or the user has feedback about SigNoz, such as a bug, a request, or praise. The tool description tells the agent to mask personal and sensitive data (names, email addresses, IP addresses, hostnames, IDs, credentials, telemetry values) before sending. See Agent feedback for what leaves the server and how to turn it off.
Parameters:
message(required) - What the agent tried, expected, and saw, or what the user said about SigNoz. At most 2000 characters (maxLengthin the schema)category(optional) - One oftool_error,confusing_output,missing_capability,documentation,user_feedback,user_frustration,othertoolName(optional) - Name of the tool the report is about. At most 128 characters (maxLengthin the schema)model(optional) - Name or ID of the model the agent runs as, with its effort or thinking level, when it knows them. At most 128 characters (maxLengthin the schema)searchContext- User's original question
Result:
Feedback queued for delivery to the SigNoz team.on success. Delivery is batched after the call returns, so a report can still be lost when the server cannot reach Segment; the server logs that failure. When feedback is turned off, a codedUNSUPPORTEDerror says so and nothing is sent. Invalid arguments returnVALIDATION_FAILEDnaming the field.Annotations: not read-only and not idempotent, because each call sends one report outside the server.
signoz_execute_builder_query
Runs a SigNoz Query Builder v5 request that the dedicated tools cannot express, such as multi-query requests, formulas, PromQL, or ClickHouse SQL. Prefer signoz_search_logs / signoz_search_traces for rows, signoz_aggregate_logs / signoz_aggregate_traces for grouped results, and signoz_query_metrics for ordinary metrics. A trace count, rate, or latency for one service covers every matching span unless the filter has isEntryPoint = true OR isRoot = true, and scalar metric queries reduce one value per step: reduceTo: avg of a percentile is not the window's percentile, and reduceTo: sum of a rate is not a count.
Parameters:
query(required) - the completequery_rangerequest. The input schema describes its top-level fields (start,end,requestType,compositeQuery,variables,formatOptions,noCache) with the descriptions from the SigNoz OpenAPI spec; the query envelopes insidecompositeQuery.queriesare open objects the guides andsignoz://query-builder/examplescover.Query types: the per-envelope
compositeQuery.queries[i].typeselects the spec shape:builder_query: signal-specific spec (logs/traces/metrics) with filter, aggregations, groupBy, etc.builder_ai_query: a traces builder spec run over AI traces, with the per-tracetrace.keys. Seesignoz://ai/query-builder-guide.builder_formula: formula expression referencing other query names (e.g.A / B * 100).promql:{name, query, disabled, step?, legend?}. PromQL for OTel metrics requires the Prometheus 3.x UTF-8 quoted-selector form{"metric.name.with.dots"}; read thesignoz://promql/instructionsresource for details.clickhouse_sql:{name, query, disabled, legend?}.
Builder result bounds: for predictable authored queries, explicitly supply a positive
spec.limitand non-empty v5spec.order(not dashboard/editororderBy) on everybuilder_formulaand on eachbuilder_queryno formula references. When omitted, null, or zero, standalone limits and formula-result limits default to100. A builder query referenced by a formula gets no inserted limit or order, because SigNoz applies base-query limits before formula evaluation and they drop groups from the result. Raw logs order bytimestamp desc, id desc; raw traces bytimestamp desc; metric scalar/time-series queries and formulas by__result desc; and log/trace scalar/time-series queries by the primary aggregation descending. Abuilder_ai_querygets the same default limit as abuilder_queryof its request type and no default order, because SigNoz orders AI trace rows by last activity. Caller-supplied values are forwarded unchanged. The response appends a decisions note when defaults are inserted.Validation: apart from inserted bounds, the request reaches SigNoz verbatim and SigNoz validates it.
requestTypehas no default (raw,trace,time_series, orscalar), andstartandendare required Unix-millisecond timestamps. A request in the olderbuilderQueries,promQueries, orchQueriesshape fails with SigNoz'satleast one query is required, and the error adds thatcompositeQuery.queriestakes{type, spec}envelopes.Guide routing: read
signoz://logs/query-builder-guidefor logs,signoz://traces/query-builder-guidefor traces,signoz://ai/query-builder-guideforbuilder_ai_query,signoz://metrics-aggregation-guidefor metrics/formulas, andsignoz://promql/instructionsfor PromQL.Time-series ranking caveat: top-N groups are ranked over the entire requested window. A short-lived spike can be omitted even when it dominates one bucket; narrow the window or adjust the limit when that matters.
Backend warnings: non-fatal warnings the backend returns (e.g. ambiguous-key resolution) stay in the response's
data.warningblock and are WARN-logged, as in the search, aggregate, and query_metrics tools. They are not repeated in a note.Key-not-found errors: a filter referencing a key absent from the workspace's metadata for the queried signal fails with recovery guidance in the error text plus a machine-readable
missingKeysarray in the structured error contentDocumentation: See SigNoz Query Builder v5 docs
Environment Variables
Variable | Description | Required |
| SigNoz instance URL | Yes (stdio); Optional (http with OAuth) |
| SigNoz API key (get from Settings → API Keys in the SigNoz UI) | Yes (stdio); Optional (http with OAuth) |
| Logging level: | No |
| MCP transport mode: | No |
| Host/interface for HTTP transport mode (default: empty, which listens on all interfaces). Set to | No |
| Port for HTTP transport mode (default: | No |
| Max inbound MCP HTTP request body size in bytes (default: | No |
| Maximum cached tenant clients in multi-tenant HTTP mode (default: | No |
| Tenant-client cache lifetime in minutes (default: | No |
| Interval for the single docs refresh schedule (Go duration, default | No |
| Deprecated. Used only when | No |
| Enable OAuth 2.1 authentication flow ( | No (default: |
| Encryption key for OAuth tokens (min 32 bytes, e.g. | Yes when |
| Public URL of this MCP server (used in OAuth metadata discovery) | Yes when |
| Access token lifetime in minutes (default: 60) | No |
| Refresh token lifetime in minutes (default: 43200 / 30d) | No |
| Authorization code lifetime in seconds (default: 600 / 10min) | No |
| Extra HTTP headers added to every API request, useful when SigNoz is behind a reverse proxy requiring auth (e.g. | No |
| Multi-tenant (http) only: comma-separated allowlist of SigNoz backend hosts the server will proxy to. Entries are exact hosts ( | No |
| Enable product analytics ( | No |
| Segment write key. Product analytics uses it only when | No |
|
| No |
| OTLP gRPC endpoint for the MCP server's own traces and metrics. Internal telemetry export is disabled when no OTLP endpoint/exporter is configured. For plaintext collectors, use an | No |
| Trace-specific OTLP gRPC endpoint; overrides | No |
| Metrics-specific OTLP gRPC endpoint; overrides | No |
| Set to | No |
| Set to | No |
The MCP server does not run an OTLP log exporter; logs are emitted as JSON to stderr. OTEL_LOGS_EXPORTER is therefore not used.
Agent feedback
Release binaries and Docker images send one thing to SigNoz by default: the reports an agent submits with signoz_submit_feedback, about a problem it hit with this server or on behalf of a user who has feedback about SigNoz. A report leaves the server only when the agent calls that tool. Nothing is sent in the background, and no usage events are sent.
Each report carries:
Property | Description |
| The report, at most 2000 characters. The tool tells the agent to mask personal and sensitive data first |
| The optional category and tool name the agent passed |
| The model, and effort or thinking level, the agent says it runs as, when it passed one. The server cannot check it |
| The MCP client that made the call |
| Whether the call came from a user's MCP client or the SigNoz AI assistant |
| This server's version |
|
|
Who a report is attributed to depends on the SigNoz instance the call targets:
Self-hosted SigNoz: an HMAC-SHA256 hash of your SigNoz org ID. The hash is the same for every report from one org and cannot be turned back into the ID. No instance URL, user ID, name, or email address is sent.
SigNoz Cloud (a SigNoz URL under
signoz.cloud): the identity SigNoz Cloud already holds for the caller, in place of the hash:orgId.
No API key, tool arguments, or query results are sent in either case. The server logs one line at startup when feedback is on.
The server also records each report it accepts in its own telemetry, before delivery: an agent feedback received log line, and the tool call's trace span when an OTLP endpoint is configured. Both carry mcp.feedback.message (the full report), mcp.feedback.category, mcp.feedback.tool_name, and mcp.feedback.model. They go where your logs and traces already go, and a report that could not be delivered is still there.
To turn feedback off, set this before the server starts:
FEEDBACK_ENABLED=falseThe tool then returns a coded UNSUPPORTED error and sends nothing.
Browser links for self-hosted SigNoz
Note: Set
global.external_urlon the SigNoz server to the URL users open in their browser. The MCP server reads it fromGET /api/v1/global/config, so the instance URL is configured in one place.
For example, add this environment variable to the SigNoz deployment and restart SigNoz:
SIGNOZ_GLOBAL_EXTERNAL__URL=https://observe.example.comThere are two underscores before URL. The equivalent SigNoz YAML configuration is:
global:
external_url: https://observe.example.comKeep SIGNOZ_URL on the MCP server pointed at its reachable API address, such as http://signoz:8080. If the deployment uses a path prefix, include it in the API address as required by SigNoz and your proxy routing. Configure a backend path in SIGNOZ_URL: per-request URLs supplied through OAuth or X-SigNoz-URL currently support origins only.
Browser links use the discovered URL, including any configured base path, while API requests retain their destination and credentials. Each tenant client caches discovery for 15 minutes. An unset external URL uses the request's API URL; unavailable or invalid global configuration logs a warning and retries discovery after one minute. Authentication and permission errors are returned to the client.
Claude Desktop Extension
Building the Bundle
Requires Node.js. See Anthropic MCPB for details.
make bundleInstalling
Open Claude Desktop → Settings → Developer → Edit Config → Add bundle.mcpb
Select
./bundle/bundle.mcpbEnter your
SIGNOZ_URL,SIGNOZ_API_KEY, and optionallyLOG_LEVELRestart Claude Desktop
For browser links, configure SigNoz's global external URL.
End-to-End Tests
The e2e suite under tests/ runs the server (built from the working tree) against a real SigNoz instance provisioned by foundry and drives it over the MCP HTTP transport:
make test-e2e # cast SigNoz, run the suites, tear down
make test-e2e-reuse # rerun against the cached environmentRequires Docker, foundryctl, Go, and uv. See tests/README.md for the full workflow.
Architecture
For a detailed overview of request flow, component interactions, and design decisions, see docs/architecture.md.
Contributing
See CONTRIBUTING.md for development workflow, required docs/manifest sync for MCP changes, and PR checklist.
Made with ❤️ for the observability community
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
This server cannot be deployed
Maintenance
Related MCP Connectors
Lets AI agents analyze API metrics, request logs, and traces, and manage apps and alerts.
Manage uptime monitors and incidents and search logs, metrics and traces from an AI assistant.
- LogspotDeprecatedio.logspot
Query your Logspot analytics, companies, and revenue from any AI assistant, and run your actions.
Query BigQuery, Snowflake, Redshift & Azure Synapse with natural language
Related MCP Servers
- AlicenseNot gradedqualityDmaintenanceAn MCP server that enables AI assistants to interact with Signoz observability platform, providing tools to query dashboards, metrics, traces, logs, and APM data with time range support.14MIT
- AlicenseNot gradedqualityDmaintenanceEnables natural language querying and analysis of OpenTelemetry traces, metrics, and logs stored in Elasticsearch/OpenSearch, allowing AI assistants to investigate performance issues, find root causes, and explore system behavior.14MIT
- FlicenseNot gradedqualityDmaintenanceProvides New Relic observability tools for AI assistants, enabling discovery, data access, alerting, incident response, and performance analytics via natural language queries.-
- AlicenseNot gradedqualityDmaintenanceEnables AI agents to query Grafana dashboards, alerts, and datasources for observability insights and incident investigation.MIT