Third party software metrics via rest api

26 views
Skip to first unread message

Siva Prakash Karna

unread,
Mar 30, 2022, 2:31:13 AM3/30/22
to Prometheus Users
Hi, 
I'm completely new to prometheus and learning the beauty of prometheus. Please help me here with my basic question.

Our third party software exposing metrics in rest api. How to push these metrics to prometheus? is there any exporter required? Could you please point me if there is an existing exporter or any article on how to achieve it?
Sample response from rest api:

{
"$schema":"api:standardResponse",
"response":{
"$schema":"mpoints:statistics",
"statisticsTableExtract":[
{
"totalIgnores":0,
"tableName":"U1.WAREHOUSE",
"totalDiscards":0,
"mappedTotalInserts":0,
"mappedTotalDeletes":0,
"totalRowFetchAttempts":0,
"totalRowFetchFailures":0,
"mappedTotalTruncates":0,
"mappedTotalUpdates":96
},
{
"totalIgnores":0,
"tableName":"U1.DISTRICT",
"totalDiscards":0,
"mappedTotalInserts":0,
"mappedTotalDeletes":0,
"totalRowFetchAttempts":0,
"totalRowFetchFailures":0,
"mappedTotalTruncates":0,
"mappedTotalUpdates":200
}
]
},
"messages":[
],
"links":[
]
}
Thank you,
Siva

Ben Kochie

unread,
Mar 30, 2022, 4:56:20 AM3/30/22
to Siva Prakash Karna, Prometheus Users

--
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 prometheus-use...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/prometheus-users/6266306b-88ff-4833-b8f0-45b36a242014n%40googlegroups.com.
Reply all
Reply to author
Forward
0 new messages