agentleFS
DROOdotFOODROOdotFOO/agent-skills/skills/signoz/SKILL.md

signoz

Skill1 starsChanged 3 months agoMITView on GitHub

SigNoz MCP tool reference for querying a live observability backend (OTel metrics, traces, logs) plus alerts, dashboards, saved views, and notification channels. Covers all ~41 signoz_* tools, the 4 built-in MCP prompts, the resource-attribute-first filtering rule, and the regen incident -> SigNoz correlation loop on the mini-axol/Riddler deployment. TRIGGER when: user asks to query SigNoz, inspect a service's errors/latency, search OTel logs or traces, read/aggregate metrics, triage an alert, or uses signoz_* MCP tools; or pivots from a regen incident into telemetry. DO NOT TRIGGER when: user wants to DESIGN SLOs/alerts/dashboards conceptually (use observability-designer skill), or READ/ack/resolve incidents in Regen itself (use the regen agent/skill -- signoz is the telemetry side of that loop).

The file

We split this skill into the rules it gives an agent

3 rules. About 0 are common, 2 are distinctive, and 1 is very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈2

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 1

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    Do not run broad, unfiltered log/trace scans.

    line 44
  2. Very specific:

    string: all of the above plus LIKE ILIKE CONTAINS REGEXP IN NOT IN.

    line 60
  3. Distinctive:

    Signal ambiguity: if it isn't clear whether the answer lives in metrics, traces, or logs, ask before querying.

    line 67

≈ “Common” is an estimate: at least 1 in 5 of the 213,897 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

SigNoz MCP

Query a live SigNoz instance over MCP (server already configured). ~41 signoz_* tools across telemetry (metrics/traces/logs), alerts, dashboards, saved views, notification channels, and docs -- plus 4 built-in workflow prompts.

This skill is for reading and operating a running SigNoz. For designing SLOs, alert thresholds, or dashboards from first principles use observability-designer. For reading/acking incidents use the regen agent -- SigNoz is where you land after extracting an incident's correlation keys.

Two rules that make queries fast (and correct)

1. Filter by resource attributes first. Resource attributes (service.name, k8s.namespace.name, host.name) are indexed and dramatically speed up backend queries. If you don't already have one:

signoz_get_field_keys(signal="logs", fieldContext="resource")   # discover keys
signoz_get_field_values(signal="logs", name="service.name")     # discover values

Then always scope queries with a service (or filter: service.name = '...'). Do not run broad, unfiltered log/trace scans.

2. Pick the operator to match intent AND data type.

IntentOperatorExample
Field existsEXISTStrace_id EXISTS
Field absentNOT EXISTSk8s.pod.name NOT EXISTS
Exact match=service.name = 'frontend'
Exclude (field must exist)EXISTS AND !=service.name EXISTS AND service.name != 'redis'
One of severalINseverity_text IN ('ERROR','WARN','FATAL')
SubstringLIKE / ILIKEbody ILIKE '%timeout%'
ContainmentCONTAINSbody CONTAINS 'timeout'
RegexREGEXPname REGEXP '^grpc\.'

Safe operators by type: bool = != EXISTS; int64 = != > >= < <= IN EXISTS; string all of the above plus LIKE ILIKE CONTAINS REGEXP IN NOT IN.

Caveat: negative operators (!=, NOT LIKE, NOT IN) only match rows where the field is present -- rows missing the field are silently dropped. To include them, OR in a NOT EXISTS, or gate with EXISTS AND != when you mean "present but not X".

Signal ambiguity: if it isn't clear whether the answer lives in metrics, traces, or logs, ask before querying.

The mini-axol / Riddler deployment

The configured signoz MCP points at a self-hosted SigNoz on the tailnet:

  • signoz_url = http://mini-axol.tail9b2ce8.ts.net:3301 -- Tailscale must be up (a connection failure is almost always a down tailnet, not a SigNoz outage).
  • Telemetry source is Riddler OTel; custom metrics are named riddler_*.
  • Primary filter is always service.name. Start any investigation with signoz_list_services to confirm reachability and the live service names.

Tool map (~41 tools)

Full argument detail in tools-reference.md; workflows in usage-patterns.md.

GroupTools
Discoverysignoz_list_services, signoz_get_service_top_operations, signoz_list_metrics, signoz_get_top_metrics, signoz_get_field_keys, signoz_get_field_values
Metricssignoz_query_metrics, signoz_execute_builder_query, signoz_check_metric_cardinality, signoz_check_metric_usage
Logssignoz_search_logs, signoz_aggregate_logs
Tracessignoz_search_traces, signoz_aggregate_traces, signoz_get_trace_details
Alertssignoz_list_alerts, signoz_list_alert_rules, signoz_get_alert, signoz_get_alert_history, signoz_create_alert, signoz_update_alert, signoz_delete_alert
Dashboardssignoz_list_dashboards, signoz_get_dashboard, signoz_create_dashboard, signoz_update_dashboard, signoz_delete_dashboard, signoz_import_dashboard, signoz_list_dashboard_templates
Saved viewssignoz_list_views, signoz_get_view, signoz_create_view, signoz_update_view, signoz_delete_view
Notification channelssignoz_list_notification_channels, signoz_get_notification_channel, signoz_create_notification_channel, signoz_update_notification_channel, signoz_delete_notification_channel
Docssignoz_search_docs, signoz_fetch_doc

Built-in MCP prompts

The server ships 4 slash-command prompts (they surface as /signoz:<name>). They are ready-made workflows, not clutter -- reach for them first when they fit:

PromptArgsRuns
/signoz:debug_service_errorsservice, timeRangeerror logs + error-trace aggregate + top operations
/signoz:latency_analysisservice, timeRangep99 latency metrics + trace-duration aggregate + slow ops
/signoz:compare_metricsmetricName, period1, period2one metric across two windows to spot regressions
/signoz:incident_triagealertIdalert details + history + related logs & traces

These prompts cannot be individually hidden in Claude Code (no supported toggle); see usage-patterns.md for the optional build-time opt-out and why keeping them is recommended.

What You Get

  • Reference documentation for all ~41 SigNoz MCP tools grouped by signal and function.
  • The resource-attribute-first rule and a filter-operator cheat sheet that prevent slow scans and silently-dropped rows.
  • Concrete workflows including the regen incident -> OTel correlation loop against the mini-axol/Riddler deployment.

See also

  • regen -- reads Fluidify Regen incidents and emits the service.name + labels + time window to feed into these tools (the incident side of the loop; see usage-patterns.md)
  • observability-designer -- design SLOs, alert rules, and dashboards conceptually
  • ethskills -- Ethereum tooling context for the Riddler stack being observed

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.