Hi Team,
I am trying to get memory utilization metric data using API below:
http://ip_address:9090/api/v1/query?query=100*(1-(node_memory_MemFree_bytes{instance="
 
ip_address:9100"}+node_memory_Cached_bytes{instance=" 
ip_address:9100"}+node_memory_Buffers_bytes{instance=" 
ip_address:9100"})/node_memory_MemTotal_bytes{instance="ip_address:9100"})

But after running I am getting this error
{
    "status": "error",
    "errorType": "bad_data",
    "error": "invalid parameter 'query': 1:66: parse error: unexpected 
identifier \"node_memory_Cached_bytes\""
}

Could you please help me on this issue ? How can I get data via API?

-- 
You received this message because you are subscribed to the Google Groups 
"Prometheus Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/prometheus-users/56c4e431-87cf-4150-8a0a-0301a66a84f0n%40googlegroups.com.

Reply via email to