Skip to content

Dataset

Prometheus metrics and Grafana dashboard datasets for AI training

A Prometheus dataset is an export of the numeric time series a company's Prometheus servers scraped from its services and hosts, each identified by a metric name and label set, with the recording rules and alerting rules evaluated against them and the Grafana dashboards, panel queries, alert rules and annotations its engineers built on top. SourceX sources it to a buyer's spec from established businesses that run Prometheus and Grafana. Each dataset is de-identified, with customer names, host names and tenant identifiers in label values replaced by consistent keys, and licensed for an agreed permitted use.

Dataset manifest

Sourced to your spec
What it is
Scraped time series keyed by label sets, the rules written against them, and the Grafana dashboards, panel queries and annotations built on top
Typical systems
Prometheus servers with Alertmanager, a long-term store such as Thanos, Cortex or Mimir where remote storage was set up, and Grafana with Grafana Alerting
Typical history
Specified by the buyer; bounded by local TSDB retention unless a remote store kept more, sometimes only at a downsampled resolution
Modality
Numeric samples with millisecond timestamps; YAML rule files; JSON dashboard models, alert rules and annotations
Delivery formats
Agreed per order; samples as Parquet, OpenMetrics text or copied TSDB blocks, rule files as YAML, dashboards and annotations as JSON
Preparation
Label values that name customers or tenants, instance addresses and internal host names replaced with consistent keys across series, rule expressions, panel queries and dashboard titles
Licensing
Rights reviewed per company; permitted use set in the license
Availability
Sourced to your spec from companies that agree; supply is not guaranteed
Sensor dataIllustrative

What a delivery contains

Fields vary by source system and are fixed per order. A typical delivery includes:

FieldTypeWhat it holds
metric_namestringThe series' metric name, stored by Prometheus as the __name__ label.
labelsobjectThe label set that, with the metric name, identifies one series, including job and instance, values keyed.
metric_metadataobjectThe TYPE, HELP and UNIT text the scrape target exposed, where captured from the metadata API at export.
samplesarrayThe series' samples as stored, each a millisecond timestamp and a float value, or a native histogram where those are in use.
storage_sourceobjectWhere samples were read from: local TSDB blocks, a snapshot or a remote store such as Thanos or Mimir, with resolution and external labels.
scrape_targetobjectThe scrape target behind the series: job, keyed instance, scrape interval and the up series written for every scrape.
recording_ruleobjectA recording rule's record name, PromQL expr and added labels, with its rule group and file.
alerting_ruleobjectAn alerting rule's alert name, PromQL expr, for duration, labels and annotation templates.
alert_statesarrayPending and firing intervals per alert, rebuilt from the ALERTS series that rule evaluation writes.
silencesarrayAlertmanager silences held at export: matchers, start and end times and comment, creator keyed.
dashboardobjectA Grafana dashboard's uid, title, folder, tags, version and template variables from its JSON model.
panelsarrayThe dashboard's panels: id, type, title, data source reference and targets, each a refId and a query such as a PromQL expr.
annotationsarrayAnnotations stored in Grafana: time, end time, text, tags, dashboard and panel, plus previous and new state for recorded alert state changes.
Sample recordIllustrative

Field names from the table above; values are masked placeholders.

Example record

{
  "metric_name": "http_request_duration_seconds_bucket",
  "labels": {
    "job": "checkout-api",
    "instance": "host_0412:9102",
    "namespace": "ns_payments",
    "route": "/v1/orders",
    "le": "0.5"
  },
  "metric_metadata": {
    "type": "histogram"
  },
  "samples": [
    [
      1715678460000,
      18422
    ],
    [
      1715678475000,
      18431
    ]
  ],
  "storage_source": {
    "store": "local_tsdb_snapshot",
    "resolution": "raw",
    "external_labels": {
      "cluster": "cl_03",
      "replica": "a"
    }
  },
  "scrape_target": {
    "job": "checkout-api",
    "scrape_interval": "15s",
    "up": 1
  },
  "alerting_rule": {
    "group": "checkout.rules",
    "alert": "CheckoutLatencyHigh",
    "expr": "histogram_quantile(0.99, sum by (le) (rate(http_request_duration_seconds_bucket{job=\"checkout-api\"}[5m]))) > 1",
    "for": "10m",
    "labels": {
      "severity": "page"
    },
    "annotations": {
      "summary": "p99 latency above 1s on {{ $labels.job }}"
    }
  },
  "alert_states": [
    {
      "alertname": "CheckoutLatencyHigh",
      "alertstate": "pending",
      "from": "2024-05-14T09:21:00Z",
      "to": "2024-05-14T09:31:00Z"
    },
    {
      "alertname": "CheckoutLatencyHigh",
      "alertstate": "firing",
      "from": "2024-05-14T09:31:00Z",
      "to": "2024-05-14T09:52:00Z"
    }
  ],
  "dashboard": {
    "uid": "db_7f3k2a",
    "title": "Checkout API overview",
    "folder": "Payments",
    "version": 41,
    "templating": [
      {
        "name": "namespace",
        "type": "query",
        "query": "label_values(up, namespace)"
      }
    ]
  },
  "panels": [
    {
      "id": 4,
      "type": "timeseries",
      "title": "p99 latency",
      "datasource": {
        "type": "prometheus",
        "uid": "ds_prom_01"
      },
      "targets": [
        {
          "refId": "A",
          "expr": "histogram_quantile(0.99, sum by (le) (rate(http_request_duration_seconds_bucket{namespace=\"$namespace\"}[$__rate_interval])))"
        }
      ]
    }
  ],
  "annotations": [
    {
      "time": 1715678400000,
      "text": "deploy checkout-api build_2291",
      "tags": [
        "deploy"
      ],
      "dashboard_uid": "db_7f3k2a"
    }
  ]
}

Synthetic record for illustration. Field names, structure and format are agreed per order.

What AI teams use it for

Detect anomalies in service metrics

Series at scrape resolution with deploy annotations and alert intervals give labeled windows of normal and abnormal behavior.

Generate and repair PromQL

Recording rules, alerting rules and panel targets pair a working expression with the metric names and labels it was written for.

Tune alert thresholds

An alerting rule's expr and for duration, set against its ALERTS intervals, show which rules flapped and which fired late.

Teach agents which signals to check

A dashboard's panels and PromQL targets are the series one team opens first for a service.

Evaluate metric reasoning

Counter resets, histogram buckets and stale series test whether a model reads Prometheus data correctly.

Use-case guides: Coding agents, Enterprise and computer-use agents, Private evaluation sets

What makes this data valuable

Scrape-resolution samples

Samples were read from blocks or remote read, not from a stepped range query.

History past local retention

A remote store kept raw samples for the window you need.

Rules under version control

Rule files come with commit history, so the expression in force on a given day is known.

Stable label scheme

Service, namespace and cluster labels stay the same across deploys and teams.

Consistent keys

One replacement per label value across series, rule expressions and panel queries, so they still join.

Stored annotations

Deploys and alert state changes were written to Grafana with times and tags.

Record timeline

Prometheus dataset

This page covers prometheus metrics and Grafana dashboards.Illustrative

Numbers keyed by labels, and dashboards that hold no data

Prometheus stores one kind of thing. A time series is identified by a metric name and a set of labels, and its samples are each a millisecond timestamp and a float. Newer servers can also store a whole histogram as one sample, a native histogram, so ask which form is in use. There are no log lines and no request records: a counter such as http_requests_total says how many requests a target had served when it was scraped, and nothing about any one of them. A classic histogram is stored as one cumulative series per bucket, told apart by the le label, with _sum and _count series beside them, so a latency distribution is only as fine as the bucket bounds the team chose. Counters fall back to zero when a process restarts, so raw values make sense only through functions such as rate.

Labels carry all the context. Prometheus attaches job and instance at scrape time, and relabeling rules can drop or rewrite labels before anything is stored. Every distinct label combination is its own series, so a deploy that changes a pod label ends one series with a staleness marker and starts another. Rules sit beside the data as YAML files, and Prometheus keeps no versions of them. It does write a synthetic ALERTS series, labeled pending or firing, while an alert is active, which makes the TSDB the place where alert history survives.

Grafana stores no telemetry at all. A dashboard is a JSON model whose panels hold targets, and a target is a query string with a reference to a data source, run when someone opens the panel. The queries are templates, with variables such as $namespace and $__rate_interval filled in at view time, so a panel expr does not run as written. What a dashboard records is which signals engineers chose to watch and how they queried them. Annotations saved in Grafana's own database are the exception, being dated events such as deploy markers and, where Grafana Alerting is set to record them there, alert state changes.

What retention, downsampling and Alertmanager leave behind

Local Prometheus storage keeps 15 days by default, and a server holds more or less only if its time or size retention flags were set. Longer history exists where remote storage was set up: Thanos shipping blocks to object storage, or remote write into Cortex or Mimir. Thanos can compact old blocks into downsampled ones that hold aggregates per window in place of the scraped samples, and whether raw resolution was also kept depends on separate retention settings.

A range query through the HTTP API returns an expression evaluated at the step the caller asked for, so scrape timestamps, gaps and staleness are lost. A TSDB snapshot, a block dump with promtool or a remote read returns samples as stored. A metric's TYPE and HELP text comes from the targets being scraped, so ask for the metadata API output captured at export time. Grafana returns the current dashboard model and only as many earlier versions as the instance is set to keep. Data source secrets are stored apart from dashboards, so check that none appear in an export.

Alertmanager keeps no durable record of past notifications. It holds the alerts active now, the silences and a short-lived notification log, so who was paged lives in the paging tool. To test a sample, pick one alerting rule and confirm that its ALERTS series shows pending and firing intervals, that the series in its expr cover the same hours at scrape resolution, and that a delivered panel queries the same metric. Then search label values, annotation text and dashboard titles for customer names, tenant IDs and internal host names.

What to check before licensing

  • Search label values, annotation text and dashboard titles in the sample for customer names, tenant IDs and internal host names, and ask how each was replaced.
  • Ask what the retention flags were on each Prometheus server, and whether Thanos, Cortex or Mimir kept older data and at what resolution.
  • Ask whether samples were read from TSDB blocks, a snapshot or remote read, or from range queries at a step.
  • Run a few delivered rule expressions and panel queries against the delivered series to confirm that replaced label values still match.
  • Ask where rule files and provisioned dashboards were versioned, and whether that commit history is in scope.
  • Ask how alert history was obtained, since Alertmanager does not keep it, and confirm the ALERTS series or a paging tool export covers the window.
  • Have counsel for the buyer and the data owner read the license and terms of the Prometheus and Grafana editions in use, including any hosted service's terms on exported data and API use.

Delivery No files move before a signed license. A listing or a request grants no files by itself.

How licensing works through SourceX

  1. 1

    Define

    Send the domain, modality, volume, format, timeline and permitted use you need.

  2. 2

    Source

    SourceX identifies businesses that hold matching data and are open to licensing it.

  3. 3

    Qualify

    Fit, rights and quality are checked, and you review samples before committing.

  4. 4

    License

    Scope, permitted use, exclusivity, price and obligations are agreed in writing.

  5. 5

    Deliver

    Approved data is prepared, de-identified where required and transferred securely.

Questions Acquisition Partners ask

What does a Prometheus dataset contain?

It contains numeric time series and the definitions around them: samples for chosen metrics and label sets, recording and alerting rule files, and alert intervals rebuilt from the ALERTS series, plus Grafana dashboard models, panel queries and stored annotations. It holds no log lines, traces or request records, because Prometheus does not store them.

How far back does Prometheus data go?

Only as far as the storage that was configured. A server's local TSDB deletes blocks older than its retention setting, which is 15 days unless it was changed, so longer history exists only where the company added remote storage such as Thanos, Cortex or Mimir. Older data there may be downsampled. State the window and resolution you need.

Can alert history be recovered from Prometheus?

Partly. While an alert is pending or firing, Prometheus writes an ALERTS series labeled with that state, so the intervals in which an alert was active can be rebuilt for as long as those series are retained. Alertmanager keeps no durable record of notifications sent, so who was paged and who acknowledged comes from the paging tool.

Does a Grafana dashboard export include the data shown on it?

No. A dashboard is a JSON model of panels, queries, variables and display settings, and Grafana fetches data from a data source each time a panel is viewed. An export gives queries and layout only. The series must be delivered from Prometheus, with label values replaced the same way in both so that panel queries still match.

How are label values and host names de-identified?

Label values that identify a customer, tenant or host are replaced with consistent keys before delivery, and the buyer should check the result on a sample. Labels often carry customer names, tenant IDs, internal host names and URL paths, and the same values appear inside rule expressions, panel queries and dashboard titles. No method is perfect, so agree which labels are kept, keyed or dropped.

Is SourceX affiliated with the Cloud Native Computing Foundation or Grafana Labs?

Prometheus and Grafana are named to identify the systems the records come from. That does not imply a partnership with or endorsement by the Cloud Native Computing Foundation or Grafana Labs. The records belong to the business that runs Prometheus and Grafana, which licenses them under a signed agreement, and a request does not guarantee a matching dataset. Buyers should still confirm with counsel that the vendor's terms allow the intended use of exported data.

Evaluating this data for procurement?

Diligence packets are prepared per dataset. Rights, privacy processing and quality differ between datasets.

Request dataset diligence

Tell us what your models need

Send your spec — domain, volume, format, timeline and permitted use — and SourceX will match it against partner data and come back with what can be licensed.

Updated 26 November 2026.

See if your company qualifies