Skip to content

time() function with error #13292

@songjiayang

Description

@songjiayang

What did you do?

Run time() function in prometheus web console.

What did you expect to see?

work well

What did you see instead? Under which circumstances?

Got errors:

Error executing query: Cannot convert undefined or null to object

System information

No response

Prometheus version

Version	2.49.0-rc.0
Revision	c4c8d59c14ea558a4878fb014cc954347c317978
Branch	HEAD
BuildUser	root@e59256874f10
BuildDate	20231212-11:17:29
GoVersion	go1.21.5

Prometheus configuration file

No response

Alertmanager version

No response

Alertmanager configuration file

No response

Logs

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions