Skip to content

[FEATURE] Add createVolumeQuery interface and volume interval utility#103

Merged
jgbernalp merged 1 commit intoperses:mainfrom
rickardsjp:log-volume-query
Apr 20, 2026
Merged

[FEATURE] Add createVolumeQuery interface and volume interval utility#103
jgbernalp merged 1 commit intoperses:mainfrom
rickardsjp:log-volume-query

Conversation

@rickardsjp
Copy link
Copy Markdown
Contributor

Description

Adds createVolumeQuery as an optional method on the LogQueryPlugin interface, allowing log query plugins to generate time-series volume queries for histogram visualization. Also extracts calculateVolumeInterval into a shared utility so log datasource plugins (Loki, VictoriaLogs, etc.) don't need to duplicate the interval calculation logic.

This supports the LogExplorer plugin being added in perses/plugins#577.

Screenshots

n/a

Checklist

  • Pull request has a descriptive title and context useful to a reviewer.
  • Pull request title follows the [<catalog_entry>] <commit message> naming convention using one of the
    following catalog_entry values: FEATURE, ENHANCEMENT, BUGFIX, BREAKINGCHANGE, DOC,IGNORE.
  • All commits have DCO signoffs.

UI Changes

n/a

@rickardsjp rickardsjp requested a review from a team as a code owner April 13, 2026 14:48
Comment thread plugin-system/src/model/log-queries.ts Outdated
…erval utility

Signed-off-by: Jeremy Rickards <jeremy.rickards@sap.com>
Copy link
Copy Markdown
Member

@Gladorme Gladorme left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm

@jgbernalp jgbernalp merged commit 1705c5b into perses:main Apr 20, 2026
12 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants