Single Views
This Dashboard is mainly concerned with Single Views related concepts and as such, it needs the Single View Creator and/or Single View Trigger Generator to expose the metrics it displays.
Make sure the services you need the metrics from have the "Enable metric gathering" flag enabled in the console.
Click here to download the dashboard.
Single View Creator Service
When working with Fast Data, you should already have one or more Single View Creator services, which will expose the relevant metrics. No additional configuration is needed.
The metrics exposed by the Single View Creator Service are:
Metric Name | Description | Buckets (ms) | Available since version |
---|---|---|---|
svc_pcs_handled_total | counts how many projections changes were successfully processed | 3.0.0 | |
svc_error_gen_total | counts how many errors were raised from the SV generation | 3.0.0 | |
svc_operation_type_total | counts the different amount of operations produced to Kafka | 3.0.0 | |
svc_creation_time | creates a histogram tracking creation time of the single views' | 0.1, 30, 150, 500, 1000, 2000, 5000, 15000, 30000 | 3.0.0 |
svc_projection_to_single_view_time | creates a histogram tracking the amount of time spent from projection to single view | 0.1, 30, 150, 500, 1000, 2000, 5000, 15000, 30000, 60000, 120000 | 3.7.2 |
svc_pc_total_handle_time | creates a histogram tracking projection changes handle time plus creation time of the single view | 0.1, 30, 150, 500, 1000, 2000, 5000, 15000, 30000 | 3.0.0 |
Single View Trigger Generator Service
The Single View Trigger Generator Service is one of the core services of the Fast Data which is in charge of executing the strategies, offloading the job from the Real Time Updater. Using the SVTG to execute the strategies instead ot the RTU provides many advantages that you can find here. Among these advantages it also provides some metrics to help you monitor the strategy execution times.
The metrics exposed by the Single View Trigger Generator Service are:
Metric Name | Description | Buckets (ms) | Available since version |
---|---|---|---|
svtg_strategy_execution_time | creates a histogram tracking the amount of time spent for each strategy execution | 0.1.0 |
Panels
The Dashboard contains the following panels, first depicted in sample screenshots, and later described in detail in the table below.
Panel Name | Chart Type | Description |
---|---|---|
Avg Processing Rate [SV/s] | Numeric value | Average number of projection changes that are processed per second to generate Single Views (in the current time-frame) |
Max Processing Rate [SV/s] | Numeric value | Maximum number of projection changes that have been processed per second to generate Single Views in the current time-frame |
Total # SV processed | Numeric value | Total amount of Projection Changes processed to generate Single Views in the current time-frame (approximated) |
Total # SV Generation Errors | Numeric value | Total amount of errors encountered while generating Single Views in the current time-frame (approximated). Only events that are not ERROR_SEND_SVC_EVENT are counted |
Total # Kafka Production Errors | Numeric value | Total amount of errors encountered while generating Single Views in the current time-frame (approximated). Only events equal to ERROR_SEND_SVC_EVENT are counted |
SVC Processing Rate | Line chart | Processing Rate of projection changes for the creation of Single Views, grouped by Single View Type and Portfolio Origin |
SVC Service Replicas | Line chart | Number of active replicas for Single View Creator services, grouped by deployment |
SVC Validation Error | Line chart | Shows the amount of validation errors obtained from generating Single Views in the time interval |
SVC No Generation Error | Line chart | Shows the amount of Single Views not generated in the time interval |
SVC single PC to multiple SV Error | Line chart | Shows the amount of errors due to a violation of the 1-to-1 relationship between a Projection Change and the generated Single Views in the time interval |
SVC Max Aggregation Time Error | Line chart | Shows the amount of max aggregation time errors (caused by exceeding allowed computation time) obtained from generating Single Views in the time interval |
SVC Unknown Error | Line chart | Shows the amount of unknown errors obtained from generating Single Views in the time interval |
SVC Kafka Send Error | Line chart | Shows the amount of errors obtained while sending messages to Kafka in the time interval |
SVC Operation Types | Line chart | Shows how many operations are performed generating Single Views, grouped by Operation Type |
SV Creation Time | Horizontal bars | Shows the total amount of time spent creating Single Views |
Projection To Single View Time | Horizontal bars | Shows the total amount of time spent from the ingestion message, sent by the CDC, to the Single View update |
PC To Single View Time | Horizontal bars | Shows the total amount of time spent from the handling of the Projection Changes to the creation of the Single View |