Skip to content

Data Send to the Kafka Topic

andre-d-gomes edited this page Mar 14, 2022 · 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(tenantID), the transactionID(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",
        "resourceID" : "resource1",
        "instanceID": "instance_id",
        "productID": "product_id",
        "timestamp": "2021-05-28T16:25:00",
        "aggregationMethod": "AVG"
    },
    "operatorID" : "id_example",
    "transactionID" : "transaction_id_flow",
    "networkID" : "network_slice_id"
}

Clone this wiki locally