unstale

npm / @grafana/prometheus

@grafana/prometheus

What changed in @grafana/prometheus 13, from its official release notes, upgrade guides and advisories. Sources checked 2026-10-26.

3 breaking2 new APIs and options1 performance5 behavior and defaults4 fixes and other

See which of these apply to your code, ranked, in your agent:

npx @unstale/cli init

@unstale/cli 0.2.7 on npm

@grafana/prometheus 1315 changes

Breaking changes 3

  • Metric and label discovery now uses the Search API.

    13.2.1release notes

  • The package now requires @grafana/runtime >=11.6.0.

    13.2.0release notes

  • POST-friendly metadata endpoints default to POST when no HTTP method is configured, matching the config editor's default.

    13.2.0release notes

New APIs and options 2

  • PromQL anchored and smoothed range selectors are supported in the query builder, code editor, scope filtering, and label suggestions.

    13.2.0release notes

  • A Search API toggle is available in the configuration editor.

    13.2.0release notes

Performance 1

  • Search API ranking is improved and streamed response memory is bounded.

    13.2.1release notes

Behavior and default changes 5

  • Loads metric combobox names in alphabetical order without metadata.

    13.2.2release notes

  • Shows metric names as each search batch arrives.

    13.2.2release notes

  • Streams metric names from the Search API.

    13.2.2release notes

  • Caps search results and indicates when the list is incomplete.

    13.2.2release notes

  • Suggestions are shown as batches arrive.

    13.2.2release notes

Fixes and other changes 4

  • Preserves label values when switching between Prometheus Builder and Code modes.

    13.2.2release notes

  • The PromQL query editor recognizes native-histogram trim operators.

    13.2.0release notes

  • The config editor no longer crashes when customQueryParameters is provisioned as a non-string value.

    13.2.0release notes

  • Discovery falls back to standard Prometheus discovery when the Search API is unavailable.

    13.2.0release notes