Dx Dashboard data points are not being aggregated properly
search cancel

Dx Dashboard data points are not being aggregated properly

book

Article ID: 219959

calendar_today

Updated On:

Products

DX Operational Intelligence

Issue/Introduction

In the DX dashboard, we are encountering an issue while computing totals. There is discrepancy for 24 hrs. interval vs 7 days interval. If we use frequency as auto the DX dashboard is selecting very few data points for the 7 days interval compared to 24 hrs. interval, and that is creating issues. The 7 day total value is less than 24 hrs. Here is an example for the total value for 24 hrs. and 7 days.
The 7 days total value is 3.0506 Mil and The 24 hrs. total value 4.3522 Mil.

Environment

Release : 20.2

Component : CA DOI LDDS DASHBOARDS

Resolution

In this case the metric schema looks like as follows:

"metrics": [
            {
                "xml_ns": "",
                "group": "All",
                "attributes": {
                    "oi": {
                        "timestamp": "$[*]['unix_time']",
                        "metric_name": "$[*]['metric_name']",
                        "metric_type": "conc",
                        "metric_unique_id": "$[*]['host']%//%:%//%$[*]['metric_name']",
                        "metric_unit": "$[*]['units']",
                        "type": "1",
                        "configuration_item_type": "ABBC-Telemetry",
                        "configuration_item": "$[*]['host']",
                        "ci_unique_id": "$[*]['host']",
                        "host": "$[*]['host']",
                        "ip": "$[*]['mgmt_ip']",
                        "mac": "",
                        "product": "ABBC-Telemetry",
                        "product_version": "1.00",
                        "includetimestampidentifier" : "true",
                        "datapointfrequencyinsec": "60",
                        "tags": [
                            "ABBC-Telemetry",
                            "$[*]['metric_name']",
                            "$[*]['host']"
                        ]
                    }
                },
                "value": "$[*]['value']",
                "url": ""
            }
        ]

 

We need to change the "type": "1"  to to "type": "257" under the "metrics": section.

Stop and Start the Restmon.