Skip to content

Usage configuration

Roles with access

Only administrators have access to this feature.

To access this section, click the button in the Usage dropdown menu:

This section configures the information shown in the Usage section.

It includes six subsections:

  • Usage config: Buttons to compute (consolidate) or delete the consumption data shown in the Usage section.
  • Retention: Defines how long consumption data is kept and at what level of detail.
  • Credits: Sets consumption limits per category, based on the expected consumption.
  • Limits: Defines the relative consumption limits.
  • Parameters: Specifies the parameters used to calculate usage.
  • Parameter grouping: Groups different parameters together.

Until some data has been consolidated, the screen only shows the «There is no usage data computed» warning and asks you to click one of the «Consolidate» buttons.


Usage config

This subsection computes or deletes the information shown in Usage.

  • Consolidate Desktops: Recomputes desktop usage. Opens the «Consolidate Desktops Usage» dialog.
  • Consolidate Users: Recomputes user usage. Opens the «Consolidate Users Usage» dialog.
  • Consolidate Storage: Recomputes storage usage. Runs directly, with no dialog.
  • Consolidate Media: Recomputes media usage. Runs directly, with no dialog.
  • Delete all consumption data: Deletes all computed consumption data. Asks for confirmation («Delete» or «Cancel»): the action cannot be undone and may use a lot of resources.

To consolidate desktops or users:

  1. Click Consolidate Desktops or Consolidate Users.
  2. In the «Indicate the starting point for data consolidation» field, choose the point from which data is recomputed: «Beggining of logs» (the whole history), «Yesterday», «1 week ago», «2 weeks ago», «3 weeks ago», «1 month ago», «2 month ago», «3 month ago» or «6 month ago».
  3. Click Compute.

Retention

The «Retention — tiered rollup of usage_consumption rows» panel defines how old consumption data is aggregated:

  • Daily granularity (months): Months during which daily detail is kept (from 1 to 120).
  • Weekly granularity until (months): Up to how many months weekly detail is kept (from 2 to 120).
  • Hard delete after (months, optional): Months after which the data is deleted permanently (from 1 to 240). Empty means it is never deleted.

Click Save to store the values. Daily rows older than the first threshold are aggregated by week (starting on Monday), and rows past the second threshold are aggregated by month (from day 1). The aggregation is applied after the next consolidation.


Credits

This section shows a table sorted by category, where each category is broken down by the type of item to compute.

The table fields are:

  • Consumer name: Name of the consumer (usually, the category name).
  • Description: Description of the category.
  • Consumer type: Type of consumer, usually category.
  • Item type: Type of item being computed (desktops, users, media, storage...).
  • Grouping: Group assigned for calculation purposes.
  • Start date: Start date of the limit.
  • End date: End date of the limit.
  • Limits: Relative minimum and maximum limits for the group:
    • Soft limit: Relative lower limit.
    • Hard limit: Relative upper limit.
    • Expected min: Expected minimum consumption.
    • Expected max: Expected maximum consumption.
  • Action: Available actions:

    • Edit values: Click the button to edit the values applied to the credit.

    • Delete: Click the button to delete the selected credit.

Click the icon to add a new credit. The following form opens:

  • Limit: Value of the limit to apply.
  • Grouping: Group assigned for the calculation.
  • Consumer: Type of consumer (usually category).
  • Category: Categories the information is taken from.
  • Interval: Time interval used to build the charts. If an end date is needed, add it by clicking .

Limits

This section shows a list of the configured limits.

The table fields are:

  • Name: Name of the limit.
  • Description: Description of the limit.
  • Limits: Relative minimum and maximum limits:
    • Soft limit
    • Hard limit
    • Expected min
    • Expected max
  • Action: Available actions:

    • Edit values: Click the button to edit the limit values.

    • Delete: Click the button to delete the selected limit.

Click the icon to add a new limit. The following form appears:


Parameters

This section shows a list of the parameters that can be added to the charts. Some are built in by default and can be grouped in the «Parameter Grouping» section.

The table fields are:

  • ID: Parameter identifier.
  • Source: Type of parameter (System or Custom).
  • Item type: Associated item type.
  • Description: Description of the parameter.
  • Formula: Whether a formula is used to compute the value.

    Tip

    You can define a mathematical operation between parameters to build a new one.

  • Units: Unit of measurement.

  • Action: Available actions:

    • Edit values: Click the button to edit the parameter values.

    • Delete: Click the button to delete the selected parameter.

Click the icon to add a new parameter. The following form appears:


Parameter Grouping

This section shows parameter groupings that can be used when defining credits and building charts in the Usage section.

The table fields are:

  • Name: Name of the grouping.
  • Item type: Associated item type.
  • Description: Description of the grouping.
  • Parameters: List of included parameters.
  • Action: Available actions:

    • Edit values: Click the button to edit the grouping values.

    • Delete: Click the button to delete the grouping.

Click the icon to create a new grouping. The following form appears: