This commit is contained in:
anlicheng 2023-07-27 17:00:44 +08:00
parent 266ecf491d
commit 4f635bdf0c

View File

@ -137,7 +137,7 @@ handle_cast({write, Bucket, Org, Precision, Points}, State = #state{host = Host,
query => Query
}),
lager:debug("[influx_client] url is: ~p, headers: ~p, body: ~p", [Url, Headers, Body]),
lager:debug("[influx_client] url is: ~p, headers: ~p, body: ~ts", [Url, Headers, Body]),
case hackney:request(post, Url, Headers, GZipBody, [{pool, influx_pool}]) of
{ok, StatusCode, _RespHeaders, ClientRef} ->
case StatusCode >= 200 andalso StatusCode < 300 of