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

MTM-61325 changelog, operationsCreated and operationsUpdated counters… #2601

Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
---
date:
title: Added operation request counters to usage statistics
product_area: Platform services
change_type:
- value: change-QHu1GdukP
label: Feature
component:
- value: component-JlFdtOPva
label: REST API
build_artifact:
- value: tc-QHwMfWtBk7
label: cumulocity
ticket: MTM-61325
version: 10.20.611.0
---
Two new properties, `operationsCreatedCount` and `operationsUpdateCount`, have been added to all REST endpoints which will return detailed request counters for usage statistics.
In a first implementation step, the {{< product-c8y-iot >}} platform returns these properties with `0` values.
In a future implementation, counting logic in reaction to REST requests and MQTT messages creating and updating operations will be added.


22 changes: 21 additions & 1 deletion content/enterprise-tenant/usage-and-billing.md
Original file line number Diff line number Diff line change
Expand Up @@ -129,9 +129,17 @@ The following information is provided for each subtenant (not completely visible
<td align="left">Measurements created</td>
<td align="left">Number of measurements created</td>
</tr>
<tr>
<td align="left">Operations created</td>
<td align="left">Number of operations created</td>
</tr>
<tr>
<td align="left">Operations updated</td>
<td align="left">Number of updates on operations</td>
</tr>
<tr>
<td align="left">Total inbound transfer</td>
<td align="left">Sum of all inbound transfers (alarms created, alarms updated, events created, events updated, inventories created, inventories updated, measurements created)</td>
<td align="left">Sum of all inbound transfers (alarms created, alarms updated, events created, events updated, inventories created, inventories updated, measurements created, operations created, operations updated)</td>
</tr>
<tr>
<td align="left">CPU (M)</td>
Expand Down Expand Up @@ -545,6 +553,18 @@ The table below presents which values are used in each model for billing purpose
<td style="text-align:left">x</td>
<td style="text-align:left"></td>
</tr>
<tr>
<td style="text-align:left"><a href="#to-view-usage-statistics">TenantUsageStatistics</a></td>
<td style="text-align:left">Operations created</td>
<td style="text-align:left">x</td>
<td style="text-align:left"></td>
</tr>
<tr>
<td style="text-align:left"><a href="#to-view-usage-statistics">TenantUsageStatistics</a></td>
<td style="text-align:left">Operations updated</td>
<td style="text-align:left">x</td>
<td style="text-align:left"></td>
</tr>
<tr>
<td style="text-align:left"><a href="#to-view-usage-statistics">TenantUsageStatistics</a></td>
<td style="text-align:left">Total inbound transfer</td>
Expand Down