Liking cljdoc? Tell your friends :D

chromex.ext.metrics-private

clj
  • available since Chrome 59
  * available since Chrome 59
raw docstring

api-tableclj

source

gen-callclj

source

gen-wrapclj/smacro

(gen-wrap kind item-id config & args)
source

get-field-trialclj/smacro

(get-field-trial name)

Returns the group name chosen for the named trial, or the empty string if the trial does not exist or is not enabled.

|name| - ?

This function returns a core.async channel of type promise-chan which eventually receives a result value. Signature of the result value put on the channel is [group] where:

|group| - ?

In case of an error the channel closes without receiving any value and relevant error object can be obtained via chromex.error/get-last-error.

Returns the group name chosen for the named trial, or the empty string if the trial does not exist or is not enabled.

  |name| - ?

This function returns a core.async channel of type `promise-chan` which eventually receives a result value.
Signature of the result value put on the channel is [group] where:

  |group| - ?

In case of an error the channel closes without receiving any value and relevant error object can be obtained via
chromex.error/get-last-error.
sourceraw docstring

get-field-trial*cljs

(get-field-trial* config name)
source

get-is-crash-reporting-enabledclj/smacro

(get-is-crash-reporting-enabled)

Returns true if the user opted in to sending crash reports.

This function returns a core.async channel of type promise-chan which eventually receives a result value. Signature of the result value put on the channel is [is-enabled] where:

|is-enabled| - ?

In case of an error the channel closes without receiving any value and relevant error object can be obtained via chromex.error/get-last-error.

Returns true if the user opted in to sending crash reports.

This function returns a core.async channel of type `promise-chan` which eventually receives a result value.
Signature of the result value put on the channel is [is-enabled] where:

  |is-enabled| - ?

In case of an error the channel closes without receiving any value and relevant error object can be obtained via
chromex.error/get-last-error.
sourceraw docstring

get-is-crash-reporting-enabled*cljs

(get-is-crash-reporting-enabled* config)
source

get-variation-paramsclj/smacro

(get-variation-params name)

Returns variation parameters for the named trial if available, or undefined otherwise.

|name| - ?

This function returns a core.async channel of type promise-chan which eventually receives a result value. Signature of the result value put on the channel is [params] where:

|params| - ?

In case of an error the channel closes without receiving any value and relevant error object can be obtained via chromex.error/get-last-error.

Returns variation parameters for the named trial if available, or undefined otherwise.

  |name| - ?

This function returns a core.async channel of type `promise-chan` which eventually receives a result value.
Signature of the result value put on the channel is [params] where:

  |params| - ?

In case of an error the channel closes without receiving any value and relevant error object can be obtained via
chromex.error/get-last-error.
sourceraw docstring

get-variation-params*cljs

(get-variation-params* config name)
source

record-booleanclj/smacro

(record-boolean metric-name value)

Records a boolean value to the given metric. Analogous to base::UmaHistogramBoolean().

|metric-name| - ? |value| - ?

Records a boolean value to the given metric. Analogous to base::UmaHistogramBoolean().

|metric-name| - ?
|value| - ?
sourceraw docstring

record-boolean*cljs

(record-boolean* config metric-name value)
source

record-countclj/smacro

(record-count metric-name value)

Records a value than can range from 1 to 1,000,000.

|metric-name| - ? |value| - ?

Records a value than can range from 1 to 1,000,000.

|metric-name| - ?
|value| - ?
sourceraw docstring

record-count*cljs

(record-count* config metric-name value)
source

record-enumeration-valueclj/smacro

(record-enumeration-value metric-name value enum-size)

Records an enumeration value to the given metric. Analogous to base::UmaHistogramEnumeration(). Use recordSparseValue for sparse enums or enums not starting at 0.

|metric-name| - ? |value| - ? |enum-size| - ?

Records an enumeration value to the given metric. Analogous to base::UmaHistogramEnumeration(). Use recordSparseValue for
sparse enums or enums not starting at 0.

  |metric-name| - ?
  |value| - ?
  |enum-size| - ?
sourceraw docstring

record-enumeration-value*cljs

(record-enumeration-value* config metric-name value enum-size)
source

record-long-timeclj/smacro

(record-long-time metric-name value)

Records an elapsed time of no more than 1 hour. The sample value is specified in milliseconds.

|metric-name| - ? |value| - ?

Records an elapsed time of no more than 1 hour.  The sample value is specified in milliseconds.

|metric-name| - ?
|value| - ?
sourceraw docstring

record-long-time*cljs

(record-long-time* config metric-name value)
source

record-medium-countclj/smacro

(record-medium-count metric-name value)

Records a value than can range from 1 to 10,000.

|metric-name| - ? |value| - ?

Records a value than can range from 1 to 10,000.

|metric-name| - ?
|value| - ?
sourceraw docstring

record-medium-count*cljs

(record-medium-count* config metric-name value)
source

record-medium-timeclj/smacro

(record-medium-time metric-name value)

Records an elapsed time of no more than 3 minutes. The sample value is specified in milliseconds.

|metric-name| - ? |value| - ?

Records an elapsed time of no more than 3 minutes.  The sample value is specified in milliseconds.

|metric-name| - ?
|value| - ?
sourceraw docstring

record-medium-time*cljs

(record-medium-time* config metric-name value)
source

record-percentageclj/smacro

(record-percentage metric-name value)

Records a percentage value from 1 to 100.

|metric-name| - ? |value| - ?

Records a percentage value from 1 to 100.

|metric-name| - ?
|value| - ?
sourceraw docstring

record-percentage*cljs

(record-percentage* config metric-name value)
source

record-small-countclj/smacro

(record-small-count metric-name value)

Records a value than can range from 1 to 100.

|metric-name| - ? |value| - ?

Records a value than can range from 1 to 100.

|metric-name| - ?
|value| - ?
sourceraw docstring

record-small-count*cljs

(record-small-count* config metric-name value)
source

record-sparse-hashableclj/smacro

(record-sparse-hashable metric-name value)

Increments the count associated with the hash of |value| in the sparse histogram defined by the |metricName|.

|metric-name| - ? |value| - ?

Increments the count associated with the hash of |value| in the sparse histogram defined by the |metricName|.

|metric-name| - ?
|value| - ?
sourceraw docstring

record-sparse-hashable*cljs

(record-sparse-hashable* config metric-name value)
source

record-sparse-valueclj/smacro

(record-sparse-value metric-name value)

Increments the count associated with |value| in the sparse histogram defined by the |metricName|.

|metric-name| - ? |value| - ?

Increments the count associated with |value| in the sparse histogram defined by the |metricName|.

|metric-name| - ?
|value| - ?
sourceraw docstring

record-sparse-value*cljs

(record-sparse-value* config metric-name value)
source

record-timeclj/smacro

(record-time metric-name value)

Records an elapsed time of no more than 10 seconds. The sample value is specified in milliseconds.

|metric-name| - ? |value| - ?

Records an elapsed time of no more than 10 seconds.  The sample value is specified in milliseconds.

|metric-name| - ?
|value| - ?
sourceraw docstring

record-time*cljs

(record-time* config metric-name value)
source

record-user-actionclj/smacro

(record-user-action name)

Records an action performed by the user.

|name| - ?

Records an action performed by the user.

|name| - ?
sourceraw docstring

record-user-action*cljs

(record-user-action* config name)
source

record-valueclj/smacro

(record-value metric value)

Adds a value to the given metric.

|metric| - ? |value| - ?

Adds a value to the given metric.

|metric| - ?
|value| - ?
sourceraw docstring

record-value*cljs

(record-value* config metric value)
source

tap-all-eventsclj/smacro

(tap-all-events chan)

Taps all valid non-deprecated events in chromex.ext.metrics-private namespace.

Taps all valid non-deprecated events in chromex.ext.metrics-private namespace.
sourceraw docstring

cljdoc is a website building & hosting documentation for Clojure/Script libraries

× close