Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Trend time series catalog - maybe don't need to cache or can reduce catalog size? #11

Open
smalers opened this issue May 25, 2023 · 0 comments
Assignees
Labels
enhancement New feature or request high Priority: next release if possible S Size: day or less

Comments

@smalers
Copy link
Contributor

smalers commented May 25, 2023

The TSTool Zabbix plugin reads global data when it starts, including a catalog of history time series and a separate catalog of trend time series. The latter assumes that every history time series has Avg, Min, and Max trend time series. However, this is probably not the case because trends are only computed on numerical values (I think). To streamline memory use, can probably do one or more of the following:

  1. Don't use memory for trend catalog but generate it on the fly. I have constrained the queries to require at least one of the data type or a Where filter so generating on the fly may not be too bad.
  2. If the item value type is checked for history catalog, the number of trend time series may be reduced. I'm not sure how much without trying. If the above approach (1) is used, then dynamically created trend catalog records would need to check the item value type.

I'm not sure how much variation there is in value type in order to generate the unique list of data types in TSTool. Need to try one or both of the above and see how it goes.

@smalers smalers added enhancement New feature or request high Priority: next release if possible S Size: day or less labels May 25, 2023
@smalers smalers self-assigned this May 25, 2023
@smalers smalers changed the title Trend time series catalog - maybe don't need or can reduce number? Trend time series catalog - maybe don't need to cache or can reduce catalog size? May 25, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request high Priority: next release if possible S Size: day or less
Projects
None yet
Development

No branches or pull requests

1 participant