On This Page

Home / Search/Explore Metrics in Cribl Search

Explore Metrics in Cribl Search ​

Preview Feature ​

Cribl is still developing this Preview feature. We don’t recommend using it in a production environment, because the feature might not be fully tested or optimized for performance, and related documentation could be incomplete.

Please continue to submit feedback through normal Cribl support channels, but assistance might be limited while the feature remains in Preview.

Explore, filter, and visualize your metrics in Cribl Search, alongside your logs.


About Metrics ​

Cribl Search ingests metrics into a lakehouse engine - the same storage that accelerates your logs - and their simple, consistent shape lets Cribl Search query and visualize them quickly, even across very large volumes.

Metrics Explorer
Metrics Explorer

Because metrics live alongside your logs, they make a fast starting point for investigation: chart a metric to spot an anomaly, such as a latency spike or a drop in throughput, then pivot into your logs, an Investigation, or a Notebook to find the cause.

The Metrics experience is made up of four parts:

  • Metrics ingest: Sending metrics into Cribl Search, through the Prometheus Remote Write, OpenTelemetry, Datadog Agent, or Cribl HTTP Source. See Ingest Metrics into Cribl Search.
  • Metrics storage: Where your metrics land. Cribl Search auto-provisions a metrics Dataset for each lakehouse engine, and Metric Dataset rules decide which one receives the metrics from a given Source.
  • Metrics Explorer: The visual explorer where you query and visualize individual metrics. See Build a Metrics Query.
  • Monitors: Alerting on metric conditions such as thresholds, changes, and anomalies.

You can also add metrics to Dashboards and Notebooks.

Metric Types ​

Cribl Search recognizes the standard Prometheus metric types, and shows each metric’s type in the Metrics Explorer:

  • Counter: A cumulative value that only increases and resets to zero on restart, such as total requests served. Query counters with the rate transformation to see the per-second rate of change.
  • Gauge: A value that can go up or down, such as memory usage or queue depth. Read a gauge directly, without rate.
  • Histogram: Samples observations into buckets, along with a running sum and count. Use histograms to analyze distributions, such as request latency, with the PromQL functions histogram_quantile, histogram_fraction, histogram_count, and histogram_sum in Code mode.

Cribl Search stores a Datadog count as a Counter with delta temporality, because a count is the change over a flush interval and not a running total. See Supported Datadog Metrics.

If you send metrics through the OpenTelemetry Source, Cribl Search maps each OTLP metric type to one of these types, and translates OTLP metric and label names into Prometheus-compatible names. A metric can therefore appear in the Metrics Explorer under a different name than the one your collector sends. For details, see Supported OTLP Metrics.

Ingest Metrics ​

Add a lakehouse engine, connect a Source that supports metrics, and route the metrics to a metrics Dataset. See: Ingest Metrics into Cribl Search.

Build a Metrics Query ​

Open the Metrics Explorer, choose a metric, filter and split it by dimensions, apply transformations, combine queries, or switch to PromQL. See: Build a Metrics Query.

View and Share Results ​

Display results as a chart or table, refine the Explorer view with Scope and Pinned views, share an investigation by URL, and add a query to a Dashboard, Notebook, Investigation, or Monitor. See: View and Share Metrics Results.

Explore the Metrics Catalog ​

Browse every metric in a Dataset and review its cardinality. See: Explore the Metrics Catalog.

Control Access to Metrics ​

Learn which Permissions let Members open Metrics and Monitors, query a metrics Dataset, and change metrics and Monitors. See: Metrics Permissions.

Convert Logs to Metrics ​

Turn a log search into a metric that you can chart and alert on. See: Convert Logs to Metrics.

Add Metrics to Dashboards and Notebooks ​

Chart a metrics query next to your log searches. See: Metrics Query for Dashboards and Add a Metrics Cell for Notebooks.

Alert on Metrics ​

Get alerted when a metric crosses a threshold, changes sharply, or behaves anomalously. See: Create Monitors in Cribl Search.

Query Metrics from Grafana ​

Connect Grafana to the Prometheus-compatible endpoint on a metrics Dataset. See: Query Metrics from Grafana.

Migrate from Grafana ​

Bring Grafana Dashboards and alert rules into Cribl Search. See: Migrate from Grafana.