Skip to content

Data Send to the Kafka Topic

fserio edited this page Jun 17, 2021 · 12 revisions

The following items are pushed to a certain Kafka topic, received from the monitoring spec:

Input Parameters Description
Raw Data JSON structure containing the raw monitoring data, the operatorID, the businessID and the network ID
Data Hash Encrypted Hash of provided monitoring data using a private key

Raw Data Example:

data = {
    "monitoringData" : {
        "metricName" : "cpu_utilization",
        "metricValue" : "0.453",
        "aggregationMethod": "sum" (if the case),
        "resourceID" : "resource1",
        "timestamp": "2021-05-28T16:25:00"
    },
    "operatorID" : "id_example",
    "transactionID" : "business_id_flow",
    "networkID" : "network_slice_id",
    "instanceID": "instance_id",
    "ProductID": product_id
}

Clone this wiki locally