Everything within this section is only visible while editing. Use Page Properties ID "STUB", "REFACTURE", "PROGRESS", "rDEV", "rDOC", "rLANG" and "DONE".

Everything contained within the table is displayed in the (INTERNAL) Reports page.

Product Version
Report Note
AssigneeAntje

Resources & Remarks

Modification History

Add a new line to this table and fill it whenever you edit the page.

NameDateProduct VersionAction
Antje01 MAR 20232023 Springpage created and writing started



Use monitoring and maintenance endpoints of a service running in your yuuvis® Momentum cluster.

Introduction

As of 2023 Spring, the API gateway offers endpoints to retrieve and manage metrics. E.g., it is possible to dynamically calculate the binary storage used by individual tenants. This information could be useful, e.g., for billing purposes.

The following endpoints are available. The URLs contain the metric path parameter to specify the type of metric. As of 2023 Spring, only the value storage is accepted.


RetrievalReset
metric for all tenantsGET /api/system/metrics/{metric}DELETE /api/system/metrics/{metric}
metric for any specified tenantGET /api/system/tenants/{tenant}/metrics/{metric}DELETE /api/system/tenants/{tenant}/metrics/{metric}
metric for currently active tenantGET /api/admin/metrics/{metric}DELETE /api/admin/metrics/{metric}

Storage Metric

The storage metric allows to dynamically calculate the binary storage used by individual tenants, e.g., for billing purposes.

In the endpoint URLs above, use storage as value for the metric path parameter. E.g.:

https://<host>/api/system/metrics/storage


The number is calculated from the content stream length stored in the database. The number includes all binary content files assigned to a DMS object or an old version of a DMS object. Invisible objects (flagged with OBJECT_FLAGGED_FOR _DELETION in the search index) are included as well. Binary content files that are referenced by multiple DMS objects (e.g., compound documents) are counted only once. Rendition files are also NOT included.

The initial calculation or triggered recalculation is a counting process via database statements over all tenants. It is managed by the AUDIT Service and its behavior (automation and fail safety) can be adjusted in the AUDIT service's configuration. During the counting process in the database, no storage metric can be retrieved. Requests to the GET endpoints listed above return an error.

After the successful counting process in the database, the result is stored in Redis and dynamically updated during any operations on binary content files via API gateway.


Read on


COMMANDER Service for System Maintenance

 Keep reading


yuuvis® Postman Collections

 Keep reading


Installation and Configuration

 Keep reading