View Source cfapi_metrics_api (cfapi v1.0.1)
Link to this section Summary
Functions
Send metrics to the Analytics server. Send metrics to Analytics server
Link to this section Functions
-spec post_metrics(ctx:ctx(), binary(), binary()) -> {ok, [], cfapi_utils:response_info()} | {ok, hackney:client_ref()} | {error, term(), cfapi_utils:response_info()}.
-spec post_metrics(ctx:ctx(), binary(), binary(), maps:map()) -> {ok, [], cfapi_utils:response_info()} | {ok, hackney:client_ref()} | {error, term(), cfapi_utils:response_info()}.