Skip to main content

Create a tracing account

POST 

/v1/account-management/consumption/tracing-accounts

Creates a tracing sub-account under a Consumption owner account.

maxDailyGB is the account's soft limit, and is required. Available for Consumption accounts only. If the account is not a Consumption account, the request returns 400.

Please ensure to change the region in the URL to match your account's region.

Request​

Body

required
    email stringrequired

    Email address of an active user of the owner account.

    accountName stringrequired

    Name of the tracing account.

    authorizedAccountIds integer[]required

    IDs of accounts that can access the tracing account's data. Can be empty.

    maxDailyGBConsumption floatrequired

    The maximum volume of data, in GB, that the tracing account can index per calendar day. This is the account's soft limit. The account is suspended once its daily usage exceeds this value, so 0 suspends it as soon as it receives any data.

Responses​

OK

Schema
    accountId integer

    ID of the tracing account.

    accountName string

    Name of the tracing account.

    maxDailyGBConsumption float

    The maximum volume of data, in GB, that the tracing account can index per calendar day. This is the account's soft limit - the same value the soft limit endpoints read and write. Null if not set.

    retention integer

    Number of days that trace data is retained.

    createdAt number

    Account creation time, in epoch seconds.

    authorizedAccounts object[]

    Accounts that can access the tracing account's data.

  • Array [
  • accountId integer
    accountName string
  • ]
  • suspensionState string

    Possible values: [MONTHLY_SPANS_QUOTA_EXCEEDED, DAILY_INDEXING_THRESHOLD_EXCEEDED, DAILY_CONSUMPTION_USAGE_EXCEEDED, NOT_SUSPENDED]

    Whether the account is suspended, and why.

Loading...