Grafana Tempo Query
by narqo
Query and explore distributed traces in Grafana Tempo. Use when a user asks to pull tracing data for analysis.
Skill Details
Repository Files
1 file in this skill directory
name: grafana-tempo-query description: Query and explore distributed traces in Grafana Tempo. Use when a user asks to pull tracing data for analysis. allowed-tools: Bash(curl --get:*)
Read from Grafana Tempo
Instructions
When a user refers to a date or a range of dates, use the "unix epoch seconds" format. Always assume the time is UTC unless specified explicitly.
Prefer storing the output in a temporal text file to run any analysis on the fetched data offline.
Examples
Retrieve a trace:
curl --get -g 'https://tempo-ops-01-ops-eu-south-0.grafana-ops.net/tempo/api/v2/traces/<trace>' \
-u 1:`cat $HOME/.config/gcom/gcom-ops.token` \
--data-urlencode 'start=<unixts>' --data-urlencode 'end=<unixts>'
The user "1" is the well-known "ops tenant". The API password for the tenant is stored in the mentioned file.
Use the "ops" instance to pull logs for all non-dev workloads.
Run the query against the dev Tempo instance (note user "3"):
curl --get -g 'https://tempo-dev-01-dev-us-central-0.grafana.net/tempo/api/v2/traces/<trace>' \
-u 3:`cat $HOME/.config/gcom/gcom-dev.token` \
--data-urlencode 'start=<unixts>' --data-urlencode 'end=<unixts>'
Retrieve the trace ee309726a47bd91c00d48037ef0eacb4 from a time range from 2025/12/09 10:55 until 2025/12/09 11:05 (time is in UTC):
curl --get -g "https://tempo-ops-01-ops-eu-south-0.grafana-ops.net/tempo/api/v2/traces/ee309726a47bd91c00d48037ef0eacb4" \
-u 1:`cat ~/.config/gcom/gcom-ops.token` \
--data-urlencode 'start=1765277700' --data-urlencode 'end=1765278300'
Reference
The complete online reference for Grafana Tempo API is available at https://grafana.com/docs/tempo/latest/api_docs/
Related Skills
Xlsx
Comprehensive spreadsheet creation, editing, and analysis with support for formulas, formatting, data analysis, and visualization. When Claude needs to work with spreadsheets (.xlsx, .xlsm, .csv, .tsv, etc) for: (1) Creating new spreadsheets with formulas and formatting, (2) Reading or analyzing data, (3) Modify existing spreadsheets while preserving formulas, (4) Data analysis and visualization in spreadsheets, or (5) Recalculating formulas
Clickhouse Io
ClickHouse database patterns, query optimization, analytics, and data engineering best practices for high-performance analytical workloads.
Clickhouse Io
ClickHouse database patterns, query optimization, analytics, and data engineering best practices for high-performance analytical workloads.
Analyzing Financial Statements
This skill calculates key financial ratios and metrics from financial statement data for investment analysis
Data Storytelling
Transform data into compelling narratives using visualization, context, and persuasive structure. Use when presenting analytics to stakeholders, creating data reports, or building executive presentations.
Kpi Dashboard Design
Design effective KPI dashboards with metrics selection, visualization best practices, and real-time monitoring patterns. Use when building business dashboards, selecting metrics, or designing data visualization layouts.
Dbt Transformation Patterns
Master dbt (data build tool) for analytics engineering with model organization, testing, documentation, and incremental strategies. Use when building data transformations, creating data models, or implementing analytics engineering best practices.
Sql Optimization Patterns
Master SQL query optimization, indexing strategies, and EXPLAIN analysis to dramatically improve database performance and eliminate slow queries. Use when debugging slow queries, designing database schemas, or optimizing application performance.
Anndata
This skill should be used when working with annotated data matrices in Python, particularly for single-cell genomics analysis, managing experimental measurements with metadata, or handling large-scale biological datasets. Use when tasks involve AnnData objects, h5ad files, single-cell RNA-seq data, or integration with scanpy/scverse tools.
Xlsx
Spreadsheet toolkit (.xlsx/.csv). Create/edit with formulas/formatting, analyze data, visualization, recalculate formulas, for spreadsheet processing and analysis.
