Skip to content

Commit

Permalink
Merge pull request #340 from logzio/full-throttle-dec
Browse files Browse the repository at this point in the history
Adding throttling
  • Loading branch information
Simplychee authored Jan 11, 2024
2 parents b8995de + 6389cce commit 33fb552
Show file tree
Hide file tree
Showing 4 changed files with 34 additions and 3 deletions.
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"label": "Log Correlations",
"position": 5,
"position": 6,
"link": {
"type": "generated-index",
"description": "Your Metrics account offers several ways to correlate data between your Logz.io Infrastructure Monitoring and Log Management accounts"
Expand Down
31 changes: 31 additions & 0 deletions docs/user-guide/Infrastructure-monitoring/metric-throttling.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
---
sidebar_position: 5
title: Metrics Account Usage and Throttling
image: https://dytvr9ot2sszz.cloudfront.net/logz-docs/social-assets/docs-social.jpg
description: Learn about Logz.io's Metrics account and Throttling mechanism
keywords: [Metrics, Throttle, Throttling, Metrics account, UTS, Unique Time Series]
---

Your Logz.io Metrics account ingests [**Unique Time Series (UTS)**](/docs/user-guide/infrastructure-monitoring/introduction-to-prometheus/explore-metrics-prometheus/#calculating-infrastructure-monitoring-usage), a collection of pairs, each including a timestamp and value.

## How Metrics are Measured

Metric account usage is measured according to the average hourly ingestion of UTS, allowing you to ingest more data than your daily plan allows without incurring additional charges.

For example, if the hourly metrics plan allows ingesting 100,000 UTS per hour and you send 50,000 UTS in the first hour, followed by 150,000 UTS in the second hour, the average usage remains within your daily plan limit of 100,000 UTS.

In addition, Logz.io provides a safety net to avoid data surges during infrastructure changes, allowing up to twice your plan's hourly limit (e.g., plan 100,000 = 200,000 UTS/hour) unless your account admin specifies otherwise.

:::info Note
If your hourly average exceeds your account plan for a continuous period of 24 hours, you'll be charged according to your On Demand settings. [Learn more about On Demand](/docs/user-guide/admin/logzio-accounts/on-demand/).
:::

## Logz.io's Throttling Mechanism

However, if you exceed your plan and safety net, a **throttling** mechanism is activated. It briefly limits **new** UTS ingestion until the next hour, ensuring system stability.

Throttling helps maintain system stability while allowing flexibility in data ingestion.

Account admins receive email alerts when the account ingestion approaches its hourly limit and another email when throttling starts.

To avoid throttling and to ensure new UTS are ingested, account admins can purchase or upgrade the relevant metrics account. If there's additional UTS data available from other metrics accounts, admins can re-allocate it to stop the throttling process from the [Manage accounts](https://app.logz.io/#/dashboard/settings/manage-accounts?product=Logs) page.
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"label": "Troubleshooting Metrics",
"position": 7,
"position": 8,
"link": {
"type": "generated-index",
"description": "Troubleshooting guides for common metrics and Infrastructure Monitoring issues."
Expand Down
2 changes: 1 addition & 1 deletion docs/user-guide/admin/logzio-accounts/data-optimization.md
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ Once you import the file, navigate to [Visualize](https://app.logz.io/#/dashboar

## Optimize metrics data

Your Infrastructure Monitoring (metrics) account can help you visualize the status of your services and operations. The account usage is [calculated based on Unique Time Series (UTS)](/user-guide/infrastructure-monitoring/metrics-explore-prometheus/#calculating-infrastructure-monitoring-usage), a collection of pairs, each including a timestamp and value. Time series is uniquely identified by its metric name and a set of labels.
Your Infrastructure Monitoring (metrics) account can help you visualize the status of your services and operations. The account usage is [calculated based on Unique Time Series (UTS)](/docs/user-guide/infrastructure-monitoring/introduction-to-prometheus/explore-metrics-prometheus/#calculating-infrastructure-monitoring-usage), a collection of pairs, each including a timestamp and value. Time series is uniquely identified by its metric name and a set of labels.


To gain quick insights into your metrics account, navigate to your **[Metrics](https://app.logz.io/#/dashboard/metrics)** account and run the following query to view the total unique metrics in the query’s timeframe:
Expand Down

0 comments on commit 33fb552

Please sign in to comment.