HUE-8672 [core] Provide an entry point to the Prometheus API

Review Request #13539 - Created Dec. 3, 2018 and submitted

Romain Rigaux
hue
master
HUE-8672
hue
commit 0ff6f45d92b17b31190bc8d8108e932db1a29091
Author: Romain Rigaux <romain@cloudera.com>
Date:   Mon Dec 3 11:42:17 2018 -0800

    HUE-8672 [core] Provide an entry point to the Prometheus API
    
    e.g.
         $.post("/metadata/api/prometheus/query", {
            "query": ko.mapping.toJSON("kube_node_status_capacity_cpu_cores"),
          }, function(data) {
            console.log(ko.mapping.toJSON(data));
          });

:100644 100644 0930735... 94e459f... M	desktop/libs/metadata/src/metadata/prometheus_api.py
:100644 100644 4304863... 229ea7d... M	desktop/libs/metadata/src/metadata/prometheus_client.py
:100644 100644 3bb456a... 5db5ed7... M	desktop/libs/metadata/src/metadata/urls.py

manual

  1. Ship It!
  2. 
      
Review request changed

Status: Closed (submitted)

Loading...