Skip to main content

traceX

traceX is a trace explorer Grafana app built into Base14 Scout. It provides deep visibility into your OpenTelemetry traces with waterfall visualizations, service flow diagrams, and advanced filtering.

traceX queries traces stored in the Scout Telemetry Data Lake and integrates with other Base14 Scout apps like logX for complete observability.

traceX Overview


Interface Overview​

The traceX interface consists of:

SectionDescription
FiltersService name, environment, span name dropdowns, time picker
Filter SidebarCollapsible panel for attribute-based filtering
Active FiltersBadges showing currently applied filters
HeatmapDuration distribution visualization over time
TableList of spans with expandable details

Getting Started​

Select Service and Environment​

  1. Use the Service Name dropdown to select one or more services
  2. Use the Environment dropdown to filter by environment
  3. Optionally select a Span Name to focus on specific operations
  4. Set the Time Range using the time picker

Time Range Settings​

SettingDefaultDescription
Max Time Range1hMaximum time range for queries
Max Unfiltered Range15mMaximum time range when no service/environment is selected
  • For time ranges up to 15 minutes: Select any time range and browse traces directly
  • For time ranges longer than 15 minutes: Select a Service Name and Environment first

Browse Traces​

Traces appear in the Traces Panel showing:

  • Timestamp
  • Trace ID
  • Service name
  • Span count
  • Duration
  • Status

Click any trace to open the detailed view.


Trace Details View​

When you click a trace, you'll see comprehensive trace analysis:

Trace Details

Waterfall Visualization​

  • Hierarchical view of all spans in the trace
  • Horizontal timeline showing duration and timing
  • Color-coded by service
  • Click any span to see its details on the right sidebar

Service Flowchart​

  • Interactive diagram showing service-to-service calls
  • Nodes represent services involved in the trace
  • Edges show call relationships
  • Error badges on services with failures
  • Click a service to see its spans

Service Flow

Span Details​

When you select a span, you'll see:


Heatmap​

The heatmap shows span duration distribution over time:

Heatmap

  • X-axis: Time
  • Y-axis: Duration buckets
  • Color intensity: Frequency of spans in that bucket

Use the heatmap to:

  • Identify latency patterns
  • Spot performance degradation
  • Find outlier requests

Filtering Traces​

Using the Filter Sidebar​

  1. Click the expand(>) icon to open the sidebar
  2. Choose a category: Resource Attributes, Span Attributes, or Trace Fields
  3. Click an attribute to see available values
  4. Select values to add filters (use + to include, - to exclude)

Using Active Filters​

  • Active filters appear as badges above the heatmap
  • Click - on a badge to remove that filter
  • Click Clear all to remove all filters

Duration Filtering​

Filter traces by duration to find slow requests or quick operations.


logX Integration​

traceX integrates with logX for log-trace correlation:

  1. View a trace in traceX
  2. See correlated logs in logX using the View Logs button in Span Details on the right sidebar.
  3. Navigate between logs and traces seamlessly

Configuration​

Access configuration at Administration → Plugins → traceX → Configuration.

SettingDescriptionDefault
Database NameClickHouse databasedefault
EnvironmentsComma-separated liststaging,production
Environment Attribute KeyResource attribute for envenvironment
Max Time RangeMaximum query range1h
Max Unfiltered RangeMax range without filters15m
Max Variable OptionsDropdown option limit100
Show Search BarToggle search panelfalse
Enable RBAC FilteringTeam-based service filteringfalse

RBAC (Role-Based Access Control)​

When enabled, service visibility is restricted based on Grafana team membership:

  • Teams must follow naming pattern: {ServiceName}-{Role} (e.g., api-gateway-Viewer)
  • Users only see services from teams they belong to
  • All queries are automatically filtered to permitted services

URL Parameters​

traceX state is persisted in the URL for bookmarking and sharing:

ParameterDescription
from / toTime range
var-service_nameSelected services
var-environmentSelected environment
var-span_nameSelected span name
traceIdOpen specific trace details

Share the URL to give others the exact same view.


  • logX — Log explorer with trace correlation
Was this page helpful?