axiom-apl

द्वारा axiomhq

APL क्वेरी भाषा संदर्भ Axiom के लिए। ऑपरेटर, फ़ंक्शन, पैटर्न और CLI उपयोग प्रदान करता है। विशेष Axiom कौशल द्वारा लिखते समय या... स्वचालित रूप से आहूत किया जाता है।

npx skills add https://github.com/axiomhq/cli --skill axiom-apl

Axiom Processing Language (APL)

APL is Axiom's query language for analyzing observability data. This skill provides comprehensive guidance for writing, debugging, and optimizing APL queries.

Quick Reference

Documentation: https://axiom.co/docs/apl/introduction

CLI usage: See references/cli.md

Core Workflow

1. List Available Datasets

axiom dataset list -f json

2. Discover Schema (CRITICAL - Always Do First)

['<dataset>'] | getschema

Never guess field names. The schema shows all fields with their types.

3. Sample Data

['<dataset>'] | limit 10

4. Write Query

See references for operators, functions, and patterns.

APL Syntax Essentials

Dataset Reference

['dataset-name']           // Bracket notation (required for names with dots/dashes)
dataset_name               // Plain identifier (only for simple names)

Field Reference

field_name                 // Plain field
['field.with.dots']        // Bracket notation for dotted fields
['service.name']           // OTel data (see references/otel.md for field mappings)

Basic Query Structure

['dataset']
| where <condition>
| extend <new_field> = <expression>
| summarize <aggregation> by <grouping>
| project <fields>
| sort by <field> desc
| limit 100

Time Handling

Always filter by time first - it's the most selective filter.

// Relative time
| where _time >= ago(1h)
| where _time >= ago(24h) and _time < ago(1h)

// Absolute time
| where _time >= datetime(2024-01-15T10:00:00Z)
| where _time between (datetime(2024-01-15) .. datetime(2024-01-16))

Time functions:

  • ago(timespan) - Relative past time
  • now() - Current time
  • datetime(string) - Parse datetime
  • bin(_time, 5m) - Time bucketing
  • bin_auto(_time) - Automatic bucketing

When NOT to Use

  • Simple field lookup: Use getschema directly instead of invoking the full skill
  • Known query patterns: If you already have a working query, don't re-invoke for syntax help
  • Real-time alerting: Use Axiom Monitors for continuous alerting, not ad-hoc queries

References

axiomhq की और Skills

detect-anomalies
axiomhq
Axiom डेटासेट में सांख्यिकीय विश्लेषण का उपयोग करके विसंगतियों का पता लगाएं। असामान्य पैटर्न, वॉल्यूम स्पाइक्स, आउटलायर्स या नए त्रुटि प्रकारों की खोज करते समय उपयोग करें…
official
explore-dataset
axiomhq
एक्सिओम डेटासेट का अन्वेषण करें ताकि इसकी स्कीमा, फ़ील्ड, वॉल्यूम और पैटर्न को समझ सकें। नए डेटासेट की खोज करते समय, डेटा संरचना की जांच करते समय, या…
official
find-traces
axiomhq
Axiom से OpenTelemetry वितरित ट्रेस का विश्लेषण करें। ट्रेस आईडी की जांच करते समय, मानदंडों (त्रुटियाँ, विलंबता, सेवा) के आधार पर ट्रेस ढूंढते समय, या डीबगिंग करते समय उपयोग करें…
official
gilfoyle
axiomhq
वह SRE एजेंट जो वह करता है जो आप नहीं कर सकते। आपके ऑब्ज़र्वेबिलिटी स्टैक को क्वेरी करता है। मूल कारण ढूंढता है। घबराता नहीं है। अनुमान नहीं लगाता। आपकी भावनाओं की परवाह नहीं करता। उपयोग करें…
official
axiom-sre
axiomhq
इंसिडेंट और डीबगिंग के लिए विशेषज्ञ SRE अन्वेषक। परिकल्पना-संचालित पद्धति और व्यवस्थित ट्राइएज का उपयोग करता है। उपलब्ध होने पर Axiom ऑब्ज़र्वेबिलिटी को क्वेरी कर सकता है।…
official
building-dashboards
axiomhq
एक्सिओम डैशबोर्ड को API के माध्यम से डिज़ाइन और बनाता है। इसमें चार्ट प्रकार, APL और मेट्रिक्स/MPL क्वेरी पैटर्न, स्मार्टफ़िल्टर, लेआउट और कॉन्फ़िगरेशन विकल्प शामिल हैं। इसका उपयोग तब करें जब...
official
controlling-costs
axiomhq
Axiom क्वेरी पैटर्न का विश्लेषण करके अप्रयुक्त डेटा ढूंढता है, फिर लागत अनुकूलन के लिए डैशबोर्ड और मॉनिटर बनाता है। जब Axiom लागत कम करने, अप्रयुक्त डेटा खोजने के लिए कहा जाए तो इसका उपयोग करें…
official
query-metrics
axiomhq
Axiom MetricsDB के विरुद्ध स्क्रिप्ट के माध्यम से मेट्रिक्स क्वेरी चलाता है। उपलब्ध मेट्रिक्स, टैग और टैग मान खोजता है। जब मेट्रिक्स क्वेरी करने, मेट्रिक्स खोजने के लिए कहा जाए तो उपयोग करें…
official