Skip to main content

Get feature metrics

GET 

/api/admin/client-metrics/features/:name/raw

Get usage metrics for a specific feature for the last 48 hours, grouped by hour

Request

Path Parameters

    name stringrequired

Responses

featureMetricsSchema

Schema

    version integerrequired

    The version of this schema

    Possible values: >= 1

    maturity stringrequired

    The maturity level of this API (alpha, beta, stable, deprecated)

    Example: stable

    data

    object[]

    required

    Metrics gathered per environment

  • Array [

  • featureName string

    The name of the feature

    Example: my.special.feature
    appName string

    The name of the application the SDK is being used in

    Example: accounting
    environment stringrequired

    Which environment the SDK is being used in

    Example: development

    timestamp

    object

    required

    The start of the time window these metrics are valid for. The window is usually 1 hour wide

    oneOf

    An RFC-3339-compliant timestamp.

    string

    yes integerrequired

    How many times the toggle evaluated to true

    Example: 974
    no integerrequired

    How many times the toggle evaluated to false

    Example: 50

    variants

    object

    How many times each variant was returned

    property name* integer
  • ]

Loading...