Usage tracking and reporting#

As required by your license agreement, instant3Dhub records usage. Threedy determines your token consumption from this data. Usage tracking is always active. You decide how the usage reaches Threedy: automatically (phone-home deployment) or by manual export (air-gapped deployment). See Report usage.

When several applications or teams share a deployment, you can label the usage to split it by application and organizational unit. See Attribute usage to applications and teams.

How usage is tracked#

Usage tracking starts in webvis. At intervals, webvis sends usage data downstream in discrete messages (usage pings). The License Server records these pings, together with service-side operations such as transcoding.

Two webvis settings add labels to the usage pings, and instant3Dhub can derive a further label from the JWT of the request. See Attribute usage to applications and teams.

Prerequisites#

Each task has these requirements:

Task

Role

Requirements

Report usage

Operator

Phone-home: a license key. Air-gapped: access to the License Server.

Review usage

Operator, or the contact person for Threedy

Reports: a Threedy representative. Manual export: access to the License Server.

Report usage#

Pursuant to your license agreement with Threedy, you are required to periodically report usage to Threedy for every instant3Dhub deployment that you operate.

The deployment type determines how this is done:

  • Phone-home deployment (recommended): with a license key set during installation, the deployment reports usage to Threedy automatically on a regular basis. No manual export or submission is necessary.

  • Air-gapped deployment: the on-premises License Server records usage locally but cannot report to Threedy over the internet. The operator must manually export usage data and submit it to Threedy (the reporting period is specified on the order form). For the required steps, see License Server Manual Usage Export.

Review usage#

There are two ways to review usage, both available irrespective of the deployment type.

Token consumption reports from Threedy#

On request, your Threedy representative may provide token consumption reports. These reports show your token consumption, derived from the usage data and including the attribution labels.

  • Phone-home deployment: under normal circumstances, the report presents usage statistics until and including the day before report generation.

  • Air-gapped deployment: the report presents usage statistics until and including your last manual submission.

To request a token consumption report, contact your Threedy representative.

Manual usage export#

Both deployment types can export the usage data from the License Server, through the Admin UI or the API. For the required steps, see License Server Manual Usage Export.

The export is a signed zip archive, named after the exported period (see The export file). It contains two CSV files, each with a checksum, and a manifest:

i3dh-usage-export_<from>_<to>.zip
|-- manifest.yml                    signed description of the export
|-- feature_usage.csv               one row per usage ping
|-- feature_usage.csv.sha256.jwt    signed checksum of feature_usage.csv
|-- license_usage.csv               one row per service-side operation
`-- license_usage.csv.sha256.jwt    signed checksum of license_usage.csv
  • feature_usage.csv: the file for the analysis of the attributed usage.

  • license_usage.csv: service-side operations, for example transcoding.

  • manifest.yml and the .sha256.jwt files: they let Threedy verify that the export is complete and unchanged. Submit the archive as downloaded.

The relevant columns of feature_usage.csv are:

Column

Meaning

app_name

The application identifier sent by the application. Empty if the application set none.

additional_fields

A JSON object with, among other fields, the direct and the derived usage group.

time

When the ping was recorded, in RFC 3339 format.

cluster_id

The instant3Dhub deployment that the usage came from.

app_instance_id

The webvis context that sent the ping.

stats

Usage statistics from which Threedy determines the token consumption.

report_id

The identifier of the record in the export.

additional_fields contains the usage group values plus context fields from instant3Dhub:

{
  "usageGroupDirect": "OS-24",
  "usageGroupDerived": "4711",
  "originHash": "9f2b...",
  "hubVersion": "<hub-version>"
}
  • usageGroupDirect: the usage group that the application set. See Label usage by organizational unit.

  • usageGroupDerived: the usage group that instant3Dhub derived from the claims in the JWT. See Label usage by organizational unit.

  • originHash: the hash of the Origin header, if available.

  • hubVersion: the instant3Dhub version that produced the ping. In a real export, this is the actual version number instead of <hub-version>.

Next steps#