[Fiware-ops-dev] changes in Monasca Apis

Katarzyna Di Meo kdimeo at fbk.eu
Thu Nov 2 14:42:03 CET 2017


Hi Fernando,
we experimented some changes in Monasca Apis after the last Infludb
upgrade. For example the following request is returning a different JSON
now. We don't know if we need to adapt our Monitoring Apis, or if this
behaviour
is only temporary.

*Request:*
http://130.206.112.3:8070/v2.0/metrics?name=compute.node.
cpu.tot&dimensions=region:Crete&start_time=2017-07-10T00:00:00Z

*JSON returned last week:*
{
    "links": [
        {
            "rel": "self",
            "href": "http://130.206.112.3:8070/v2.
0/metrics?name=compute.node.cpu.tot&dimensions=region:
Crete&start_time=2017-07-10T00:00:00Z"
        }
    ],
    "elements": [
        {
            "id": "0",
            "name": "compute.node.cpu.tot",
            "dimensions": {
                "region": "Crete",
                "unit": "cpu",
                "resource_id": "node-2.domain.tld_node-2.domain.tld",
                "source": "openstack",
                "type": "gauge"
            }
        },
        {
            "id": "1",
            "name": "compute.node.cpu.tot",
            "dimensions": {
                "region": "Crete",
                "unit": "cpu",
                "resource_id": "node-3.domain.tld_node-3.domain.tld",
                "source": "openstack",
                "type": "gauge"
            }
        },
        {
            "id": "2",
            "name": "compute.node.cpu.tot",
            "dimensions": {
                "region": "Crete",
                "unit": "cpu",
                "resource_id": "node-4.domain.tld_node-4.domain.tld",
                "source": "openstack",
                "type": "gauge"
            }
        }
    ]
}

*Current JSON returned:*
{
    "links": [
        {
            "rel": "self",
            "href": "http://130.206.112.3:8070/v2.
0/metrics?name=compute.node.cpu.tot&dimensions=region:
Crete&start_time=2017-07-10T00:00:00Z"
        }
    ],
    "elements": [
        {
            "id": "0",
            "name": "",
            "dimensions": {
                "key": "compute.node.cpu.tot,_region=FIWARE-Lab,_tenant_id=
00000000000007442002913448960000,region=Crete,resource_id=
node-2.domain.tld_node-2.domain.tld,source=openstack,type=gauge,unit=cpu"
            }
        },
        {
            "id": "1",
            "name": "",
            "dimensions": {
                "key": "compute.node.cpu.tot,_region=FIWARE-Lab,_tenant_id=
00000000000007442002913448960000,region=Crete,resource_id=
node-3.domain.tld_node-3.domain.tld,source=openstack,type=gauge,unit=cpu"
            }
        },
        {
            "id": "2",
            "name": "",
            "dimensions": {
                "key": "compute.node.cpu.tot,_region=FIWARE-Lab,_tenant_id=
00000000000007442002913448960000,region=Crete,resource_id=
node-4.domain.tld_node-4.domain.tld,source=openstack,type=gauge,unit=cpu"
            }
        }
    ]
}

Best Regards,
Kasia
-- 
Dott. Katarzyna Teresa Di Meo,
Research Engineer
DISCO - DIStributed Computing and InfOrmation Processing
​----------------------------------------
CREATE-NET Research Center
Fondazione Bruno Kessler (FBK)
via alla Cascata 56D
38123 Povo, Trento (Italy)
F: +39 0461 312436
e-mail: kdimeo at fbk.eu
www:​​ https://disco.fbk.eu
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.fiware.org/private/fiware-ops-dev/attachments/20171102/c787130d/attachment.html>


More information about the Fiware-ops-dev mailing list

You can get more information about our cookies and privacy policies clicking on the following links: Privacy policy   Cookies policy