Download service graphs

Download an SVG graph of the specified metric for the service.

Request

Endpoint: /api/services/<service_id>/graph/<graph_type>
Method: GET
Headers: Accept: application/vnd.cloudlx.v1+json
Authorization: Bearer <access_token>

Available graph types

Name Type
Near end frame loss near_end_fl
Far end frame loss far_end_fl
Jitter jitter
Latency latency
SLA sla
Discards discards
Service RX service_rx
Conform conform
Service Bandwidth bandwidth

Graphs available on Data Centre Interconnect for far end

Name Type
Discards discards_service
Service RX service_rx_service
Conform conform_service
Bandwidth bandwidth_service

Example Request

    /api/services/106/graph/near_end_fl

Response

The response will be sent back as a base64 encoded SVG.

Example

                                
    {
        "graph": "PD94bWwgdmVyc2lvbj0nMS4wJyBlbmNvZGluZz0nVVRGLTgnIHN0YW5kYWxvbmU9J25vJz8+PCFET0NUWVBFIHN2ZyBQVUJMSUMgJy0vL1czQy8vRFREIFNWRyAyMDAxMDkwNC8vRU4nICdodHRwOi8vd3d3LnczLm9yZy9UUi8yMDAxL1JFQy1TVkctMjAwMTA5MDQvRFREL3N2ZzEwLmR0ZCc…<truncated>"
    }
                                
                            
graph Description A base64 encoded string representing the graph image SVG
Type String

Back to top