How to Optimize Your Ingestion Rate (PPS)

This article applies to:

  • Data Ingestion/Usage Monitoring
  • Product edition: All
  • Feature Category: Usage Monitoring

Overview

Billing for Tanzu Observability is based primarily on the ingestion rate, it's not uncommon for users to look for ways to optimize their ingestion rate. This article covers some strategies for reducing your ingestion rate.

 

Strategies

Start With the Largest Metric Namespaces

Customers often find that examining the largest metric namespaces in terms of ingestion rate is the best place to start when looking for areas to optimize ingestion rates.

The Tanzu Observability Namespace Usage Explorer dashboard, which is part of the Tanzu Observability Usage integration, is the best place to start for insight into metric namespaces. At a glance, this dashboard displays the largest level 1 namespaces. For each of these top namespaces, you can further examine the level 2 and level 3 namespaces for more insight into the sub-categories of metrics that contribute to the overall ingestion rate.

This simple analysis often reveals metric namespaces that users may not have realized contributed so much to their ingestion rate. These namespaces are great areas for optimization.

 

How Granular Do You Really Need Your Data to Be?

Even though Tanzu Observability supports second-level granularity for metric data points, it's rare that all data needs to be that granular. If some data does not need to be that granular, there can be significant savings just by increasing the interval at which that data reports. For example, switching from a 1-second interval to a 1-minute interval results in a 60x reduction in ingestion rate for that set of data.

 

Constant Values?

Another area to explore for adjusting reporting intervals is constant values. Since constant values do not, by definition, change often, they are great candidates for increasing reporting intervals. WFTop is helpful for uncovering constant values. The last column in the WFTop output is Range. This indicates the range of values (ie. maximum value minus the minimum) detected by WFTop for each namespace during the time that WFTop is running. If the range is 0, then this data set is most likely reporting constant values. If the range does not change during the entire duration that WFTop is running, it is also possible that only a few fixed values are reported and that data set could also be a candidate for increased reporting intervals.

 

Unused Data

If data is ingested but not queried, then that is most likely data that does not need to be ingested. See How to Identify Unused Data for tips on finding unused data.

 

Use Wavefront Histograms

If some of your data sets are tracking various statistics (eg. min, max, mean) such as is the case for Dropwizard or StatsD style histogram data, these are good candidates to consider converting to Tanzu Observability Histograms. At a high level, Tanzu Observability Histograms stores data as distributions rather than as individual data points. For billing purposes, the rate of distributions ingested is converted to a rate of points ingested through a conversion factor. If you don't know your conversion factor, contact your Account Executive.

To determine whether there will be PPS savings from sending in metrics data as histogram data, first determine the ingestion rate for the metric data. To illustrate, let's look at an example:

Suppose we are ingesting 10 statistics for a specific series of data: min, max, mean, sum, count, p50, p75, p95, p99, p999. Let's say that this data is ingested at 30-second intervals. This would mean that we are ingesting 20 data points every minute. That is equivalent to .33 PPS (20 data points per minute / 60 seconds per minute). For Tanzu Observability Histograms, at the most granular level, there can be one distribution per minute for any particular series. If your conversion factor from distribution per second to points per second is less than 20, this means there will be savings from ingesting this set of data as Tanzu Observability Histograms. On top of these PPS savings, you would also reap all the benefits of Tanzu Observability Histograms, including better and more accurate insight into your data. So, even if the conversion factor results in an equivalent PPS, we would still recommend sending in data as Tanzu Observability Histograms to take advantage of the benefits of using distribution data.

 

See Also

Tanzu Observability Namespace Usage Explorer dashboard

WFTop

Access API

Find Actionable Usage Information

How to Identify Unused Data

 

Was this article helpful?
0 out of 0 found this helpful
Have more questions? Submit a request

Comments

Powered by Zendesk