> For the complete documentation index, see [llms.txt](https://infronai.gitbook.io/docs/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://infronai.gitbook.io/docs/observability/performance-analysis.md).

# Performance Analysis

Performance Analysis

The [Activity page](https://infron.ai/dashboard/activity) provides a comprehensive analytics dashboard that offers detailed insights into your product usage and performance metrics. This centralized monitoring hub displays real-time and historical data across multiple key performance indicators.

### Key Metrics and Features

#### **Token Consumption Tracking**&#x20;

Monitor your token usage patterns with granular visibility into consumption trends. The dashboard displays total tokens consumed, peak usage periods, and token distribution across different operations and time intervals.

<figure><img src="https://3822312837-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FZ9C9AjT7j46HAcQrOVWw%2Fuploads%2FywY1Kald7aELA5dpG4r1%2Fimg_v3_02rf_ef588405-88c3-4362-a2f3-9b35f3f1248g.jpg?alt=media&amp;token=64bec5ed-79cc-4df9-bbed-73c224825acf" alt=""><figcaption></figcaption></figure>

#### **Spend Analysis**&#x20;

Track your financial expenditure with detailed cost breakdowns. View spending patterns, budget utilization rates, and cost-per-operation metrics to optimize your resource allocation and maintain budget control.

<figure><img src="https://3822312837-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FZ9C9AjT7j46HAcQrOVWw%2Fuploads%2F0wCdqMGqFzAtgIzlunWt%2Fimg_v3_02rf_a460a09d-495a-40f5-bf9f-4233e1eb8a9g.jpg?alt=media&amp;token=a14a54ef-5ddc-45d4-a7fc-a38242c561a4" alt=""><figcaption></figcaption></figure>

#### **Request Success Rate Monitoring**&#x20;

Analyze the reliability of your API calls through comprehensive success rate statistics. The dashboard presents successful request percentages, failure rates, and trend analysis to help identify potential service issues.

<figure><img src="https://3822312837-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FZ9C9AjT7j46HAcQrOVWw%2Fuploads%2FknJfucnyj8b2BsGc4079%2Fimg_v3_02rf_1851e794-fbb0-4278-bd9d-c339f437e1ag.jpg?alt=media&amp;token=0e8d6e70-2fed-4a97-ba12-941195f3d3a0" alt=""><figcaption></figcaption></figure>

#### **Latency Performance Metrics**&#x20;

Measure response times and system performance with detailed latency analytics. Monitor average response times, peak latency periods, and performance trends to ensure optimal user experience.

<figure><img src="https://3822312837-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FZ9C9AjT7j46HAcQrOVWw%2Fuploads%2FM418dHeHERHskNGaFXXZ%2Fimg_v3_02rf_61ff3e4d-422c-4050-92f1-c8b5afeb5e1g.jpg?alt=media&amp;token=90cc984e-7a7b-45e0-9d40-899257e7422f" alt=""><figcaption></figcaption></figure>

#### **Time to First Token (TTFT) Analysis**&#x20;

Track the initial response time metrics, specifically measuring the duration from request initiation to the first token generation. This metric is crucial for understanding user-perceived performance.

<figure><img src="https://3822312837-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FZ9C9AjT7j46HAcQrOVWw%2Fuploads%2F0VA5mPgKFj5Mr6PWp9JP%2Fimg_v3_02rf_37d175ea-a0a2-4780-8cfe-7e4729c9a36g.jpg?alt=media&amp;token=339284f0-32c3-4560-8913-58545481aeec" alt=""><figcaption></figcaption></figure>

#### **Tokens Per Minute (TPM) & Requests Per Minute (RPM)**&#x20;

Monitor your throughput capacity with real-time TPM and RPM measurements. These metrics help assess system load, identify bottlenecks, and optimize performance scaling.

<figure><img src="https://3822312837-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FZ9C9AjT7j46HAcQrOVWw%2Fuploads%2F7hlbbZbgC4GrrXiSmm3W%2Fimg_v3_02rf_67e726cf-77d1-4848-9ec9-761f86b3a47g.jpg?alt=media&amp;token=2529995f-2e9e-4804-9aeb-97a4ece019fa" alt=""><figcaption></figcaption></figure>

<figure><img src="https://3822312837-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FZ9C9AjT7j46HAcQrOVWw%2Fuploads%2FWm8h7QbKfQPJFTIth2Ca%2Fimg_v3_02rf_4e23cfa2-1ee5-4908-afd5-fa5b04c05e2g.jpg?alt=media&amp;token=aec81641-01b4-456e-8f3f-4338fba06aed" alt=""><figcaption></figcaption></figure>

#### **Model Usage Distribution**&#x20;

Visualize the distribution of API calls across different models with interactive charts and graphs. Understand which models are most frequently utilized and optimize your model selection strategy.

<figure><img src="https://3822312837-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FZ9C9AjT7j46HAcQrOVWw%2Fuploads%2FNMscG1mDua4qeAQGJeri%2Fimg_v3_02rf_452dcd11-c7f8-4669-9f4e-bceae48ed57g.jpg?alt=media&amp;token=2174ed8d-9c22-46d5-8af3-ed76bea3da93" alt=""><figcaption></figcaption></figure>

#### **Error Distribution Analysis**&#x20;

Comprehensive error tracking and categorization system that breaks down failures by error type, frequency, and affected endpoints. This feature enables rapid issue identification and resolution.

<figure><img src="https://3822312837-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FZ9C9AjT7j46HAcQrOVWw%2Fuploads%2FyM8oWUqL5dRYoFDPGeYk%2Fimg_v3_02rf_c6f58037-0727-4ff0-bfcc-f3fa5bb542bg.jpg?alt=media&amp;token=4d81cb4f-986f-4b8f-853c-a3c6bfcc087a" alt=""><figcaption></figcaption></figure>

The Activity dashboard serves as your command center for monitoring, analyzing, and optimizing your product's performance and resource utilization.


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://infronai.gitbook.io/docs/observability/performance-analysis.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
