influxdata / influxdata/influxdb

Custom Aggregate Function Not Updating Correctly in Influxdb UI When Set Using the ConfigBuilder API

Open
#24,794 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Rust
Stars
31.7k
Forks
3.7k
Avg merge
13h 37m
Merged PRs (30d)
8

Description

__Steps to reproduce:__

1. Update a cell using the influxdb-client Typescript API. Set the aggregate function to be anything other than mean, median, or last (for example count). Use the builder QueryEditMode.
2. Go to that dashboard in influxdb UI.
3. Open the configuration in builder mode

__Expected behaviour:__

The aggregate function is set to **custom->count** and data is shown correctly.

__Actual behaviour:__

Data is shown correctly (shows count data), but the aggregate function is set to **auto->mean**

__Environment info:__

Influx version 2.7.5

Contributor guide

Open the contributing guide

Research direction

Start with the influxdb-client TypeScript API flow that writes aggregate functions through QueryEditMode, then inspect how the dashboard builder reads that configuration. Reproduce the custom-count case and compare the stored or returned value with the UI's auto-mean selection; done means the builder displays custom-count while showing the correct data.

Written by the indexing model from the issue text.

Assessment

Tech stack
typescript
Domain
database, frontend
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
42/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.