Register client usage metrics
Registers usage metrics. Stores information about how many times each flag was evaluated to enabled and disabled within a time frame. If provided, this operation will also store data on how many times each feature flag's variants were displayed to the end user.
Authentication
Authorizationstring
API key needed to access this API
OR
AuthorizationBearer
API key needed to access this API, in Bearer token format
Request
clientMetricsSchema
appName
The name of the application that is evaluating toggles
instanceId
A (somewhat) unique identifier for the application
sdkVersion
An SDK version identifier. Usually formatted as “unleash-client-<language>:<version>”
platformName
The platform the application is running on. For languages that compile to binaries, this can be omitted
platformVersion
The version of the platform the application is running on. Languages that compile to binaries, this is expected to be the compiler version used to assemble the binary.
yggdrasilVersion
The semantic version of the Yggdrasil engine used by the client. If the client is using a native engine this can be omitted.
specVersion
The version of the Unleash client specification the client supports
bucket
Holds all metrics gathered over a window of time. Typically 1 hour wide. May be omitted or null when the request only carries impact metrics.
Response
This response has no body.
Errors
400
Bad Request Error