View Source cfclient_metrics (cfclient v1.2.1)

Functions to record, process, and send cached metric data.

Link to this section Summary

Functions

Gather metrics and send them to server. Called periodically by cfclient_instance.

Link to this section Types

-type config() :: map().

Link to this section Functions

-spec process_metrics(config()) -> ok | {error, api}.
Gather metrics and send them to server. Called periodically by cfclient_instance.
Link to this function

record(FlagId, Target, VariationId, VariationValue, Config)

View Source
-spec record(binary(), cfclient:target(), binary(), binary(), config()) -> atom().
Record metrics for request.