promql.promqlDayOfWeek() function

promql.promqlDayOfWeek() implements functionality equivalent to PromQL’s day_of_week() function.

Important: The internal/promql package is not meant for external use.

Function type signature
(timestamp: float) => float

For more information, see Function type signatures.

Parameters

timestamp

(Required) Time as a floating point value.


Was this page helpful?

Thank you for your feedback!