Quotas & Limits

Stackdriver Trace is free to use for all Google Cloud Platform users.

The following quotas apply to your use of Stackdriver Trace:

API Call Method Class Quota units
Read 300 per 60 seconds
Write 4,800 per 60 seconds

Each API method will consume your quota at different rates, as summarized in the table below:

API Method API Call Method Class Quota unit cost per API call
GetTrace Read 1
ListTraces Read 25
ListSpans Read 1
PatchTraces Write 1
BatchWriteSpans Write 1
CreateSpan Write 1

From these 2 tables you will notice that Read API calls vary in their costs. Here are a couple of examples of how you might use your quota:

  • Make 12 ListTraces API calls per 60 seconds.
  • Make 10 ListTraces API calls and 50 GetTrace API calls per 60 seconds.

PatchTraces has the following limits enforced:

  • Number of spans per request: 25,000

GetTrace has the following limits enforced:

  • Number of traces per request: 1,000

ListTraces has the following limits enforced:

  • Number of traces per request (in ROOTSPAN/MINIMAL view): 1,000
  • Number of traces per request (in COMPLETE view): 100

Traces have the following limits enforced (per trace):

  • Number of spans: 1,000
  • Number of bytes: 50 MB

Spans have the following limits enforced (per span):

  • Number of labels/attributes: 32

Labels/Attributes have the following limits enforced (per label/attribute):

  • Size of key: 128 Bytes
  • Size of value: 256 Bytes


1: https://cloud.google.com/free/

Was this page helpful? Let us know how we did:

Send feedback about...

Stackdriver Trace Documentation