prometheus/docs
Arve Knudsen cdfacef1b6 feat: add OTel resource/scope attributes persistence per time series
Add support for persisting OTel resource/scope attributes alongside time series
data in TSDB, enabling the info() PromQL function to enrich metrics with
resource context without relying on target_info metric scraping.

Storage layer:
- Add ResourceUpdater interface with UpdateResource() to storage.Appender
- Add ResourceContext to AppendV2Options for passing resource attributes
- Add ResourceQuerier interface for querying stored resource attributes
- Add EntityData type for passing OTel entity information through storage

TSDB seriesmetadata subsystem:
- Add Entity type with OTel entity data model (type, ID, description)
- Add ResourceVersion with versioned identifying/descriptive attributes
- Add VersionedResource for tracking attribute changes over time
- Add MemResourceStore for in-memory resource storage with versioning
- Extend Parquet schema with resource namespace, nested attribute lists,
  and entity rows
- Add zstd compression, row sorting, and footer metadata to Parquet writer

OTLP integration:
- Extend CombinedAppender to extract and persist resource attributes from
  OTLP ResourceMetrics during ingestion

PromQL info() function:
- Rewrite to use stored resource attributes instead of fetching target_info
  series, with attribute name translation via LabelNamer mappings

Web API:
- Add /api/v1/resources endpoint for querying stored resource attributes
- Support format=attributes for autocomplete use cases
- Add OpenAPI documentation for the new endpoint

Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com>
2026-03-20 17:56:16 +01:00
..
command-line feat: add OTel resource/scope attributes persistence per time series 2026-03-20 17:56:16 +01:00
configuration Merge pull request #18200 from roidelapluie/roidelapluie/retention-validation 2026-03-20 12:27:37 +01:00
images prometheus-agent-documentation 2024-07-27 14:21:24 +01:00
querying docs: clarify that histogram_avg/count/sum/stddev/stdvar are native-histogram-only 2026-03-19 14:33:05 +01:00
feature_flags.md feat: add OTel resource/scope attributes persistence per time series 2026-03-20 17:56:16 +01:00
federation.md feat(nh): mark native histograms as stable in docs 2025-10-24 12:31:42 +02:00
getting_started.md docs(): fix gettingStarted outdated graph reference 2025-09-15 17:31:18 +02:00
http_sd.md docs: add HTTP SD integrations cross-reference (#18278) 2026-03-16 14:09:54 +01:00
index.md Update Prometheus Agent doc (#17591) 2025-11-21 11:34:19 +01:00
installation.md Standardize doc page title handling 2025-05-28 21:37:27 +02:00
management_api.md Standardize doc page title handling 2025-05-28 21:37:27 +02:00
migration.md cmd: Make feature flag native-histograms a no-op. 2025-11-16 23:22:02 +01:00
prometheus_agent.md fix(docs): typo in prometheus_agent.md doc 2026-02-08 19:02:56 +03:30
stability.md chore: exclude experimental /v1/ endpoints from stability guarantees 2025-08-12 16:45:17 +02:00
storage.md Merge pull request #14317 from anarcat/wal-backups 2025-12-16 11:35:43 +00:00