build_url {promr}R Documentation

Construct a URL for the specified query.

Description

Construct a URL for the specified query.

Usage

build_url(base, query, start, end, step, timeout = NA)

Arguments

base

A hostname and schema to base the generated path off of.

query

A PromQL query.

start

A RFC3339 timestamp string, numerical unix timestamp, or POSIXct object.

end

A RFC3339 timestamp string, numerical unix timestamp, or POSIXct object.

step

A query resolution step width.

timeout

An optional query timeout value, defaulting to server-side limit. Note this timeout is capped to the server-side value.

Value

A URL to execute the query.


[Package promr version 0.1.3 Index]