Usage API
- Examples
- Usage API Endpoint Specs
The Usage API sends system usage data to Fusion. See the section System Usage Monitor for details.
Examples
Get the latest data that will be sent to Fusion on the next run:
INPUT
curl -u user:pass http://localhost:8764/api/apollo/usage
OUTPUT
[ { "type" : "GAUGE", "name" : "solr.clusters", "value" : 3 }, { "type" : "GAUGE", "name" : "solr.nodes", "value" : 2 }, { "type" : "RATE", "name" : "recommender.itemsForQuery.timer.rate", "value" : 0 }, { "type" : "RATE", "name" : "recommender.queriesForItem.timer.rate", "value" : 0 }, { "type" : "GAUGE", "name" : "nodes", "value" : 2 }, { "type" : "RATE", "name" : "recommender.queriesForItem.counter.rate", "value" : 0 }, { "type" : "RATE", "name" : "recommender.itemsForItem.timer.rate", "value" : 0 }, { "type" : "RATE", "name" : "recommender.itemsForQuery.counter.rate", "value" : 0 }, { "type" : "RATE", "name" : "recommender.itemsForItem.counter.rate", "value" : 0 } ]