docs/reference/query-languages/promql/functions.md
These functions are based on the Prometheus query functions. Refer to the Prometheus documentation for the full semantics, and note any {{es}}-specific differences called out per function.
Functions that take a range vector and return an instant vector.
::::{dropdown} Range vector function list :open: :::{include} _snippets/generated/x-pack-esql/functions/lists/range-vector-overview.md ::: ::::
Functions that aggregate an instant vector across series.
::::{dropdown} Aggregation function list :open: :::{include} _snippets/generated/x-pack-esql/functions/lists/aggregation-overview.md ::: ::::
Functions that operate on histogram metrics.
::::{dropdown} Histogram function list :open: :::{include} _snippets/generated/x-pack-esql/functions/lists/histogram-overview.md ::: ::::
Mathematical, trigonometric, and rounding functions.
::::{dropdown} Math function list :open: :::{include} _snippets/generated/x-pack-esql/functions/lists/math-overview.md ::: ::::
Functions that extract date and time components from timestamps.
::::{dropdown} Date and time function list :open: :::{include} _snippets/generated/x-pack-esql/functions/lists/date-time-overview.md ::: ::::
Functions that convert between scalars and instant vectors.
::::{dropdown} Conversion function list :open: :::{include} _snippets/generated/x-pack-esql/functions/lists/conversion-overview.md ::: ::::
The following PromQL functions are recognized but not yet supported in {{es}}. Using them returns a client error (4xx):
:::{include} _snippets/generated/x-pack-esql/functions/not-supported.md :::