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

Link to this function

post_metrics(Ctx, Cluster, Environment)

View Source
-spec post_metrics(ctx:ctx(), binary(), binary()) ->
                {ok, [], cfapi_utils:response_info()} |
                {ok, hackney:client_ref()} |
                {error, term(), cfapi_utils:response_info()}.
Send metrics to the Analytics server. Send metrics to Analytics server
Link to this function

post_metrics(Ctx, Cluster, Environment, Optional)

View Source
-spec post_metrics(ctx:ctx(), binary(), binary(), maps:map()) ->
                {ok, [], cfapi_utils:response_info()} |
                {ok, hackney:client_ref()} |
                {error, term(), cfapi_utils:response_info()}.