Skip to content

Auto-complete keeps inserting a 'd' when trying to change rate duration #15452

@modelbitjason

Description

@modelbitjason

What did you do?

  1. Graph a rate rate(foo_count[5m])
  2. Attempt to graph a different duration
  3. 'd' is always inserted by autocomplete

What did you expect to see?

A rate with say 1 or 10 minute buckets not an error.

Ideally the autocomplete would see that my expression would be more valid if it did nothing rather than creating a broken duration.

What did you see instead? Under which circumstances?

An error message unless I also press escape first, then enter.

prom_bug.webm

System information

Chrome on linux 129.0.6668.70 (Official Build) (64-bit)

Prometheus version

{"version":"3.0.0","revision":"c5d009d57fcccb7247e1191a0b10d74b06295388","branch":"HEAD","buildUser":"root@aa286d0eb00a","buildDate":"20241114-16:40:43","goVersion":"go1.23.3"}

Prometheus configuration file

No response

Alertmanager version

No response

Alertmanager configuration file

No response

Logs

No response

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions