Skip to content

PromQL: presence functions (absent/absent_over_time/present_over_time) unsupported #47

Description

@zzylol

Summary

Presence functions absent, absent_over_time, present_over_time parse but are rejected (UnsupportedFunction).

Corpus impact

65 rejections (3.4%).

Examples

absent(up{job="prometheus"})
absent_over_time(node_exporter_build_info[1h])

Notes

  • Error variant: LoweringError::UnsupportedFunction.
  • absent/absent_over_time have a pin-test (absent_function_is_rejected__GAP, unsupported_functions_are_rejected) but no tracking issue.
  • Semantics: emit a 1-element vector when the argument has NO matching series — requires representing "empty result → synthesized sample", which the intent algebra has no node for yet.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or requestpromqlPromQL front-end lowering (L1→L2)

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions