Module greptime_handler

Source
Expand description

Handler for Greptime Database service. Itโ€™s implemented by frontend.

Structsยง

GreptimeRequestHandler
RequestTimer ๐Ÿ”’
Histogram timer for handling gRPC request.

Functionsยง

auth ๐Ÿ”’
create_query_context ๐Ÿ”’
Creates a new QueryContext from the provided request header and extensions. Strongly recommend setting an appropriate channel, as this is very helpful for statistics.
get_request_type