Procházet zdrojové kódy

HUE-9021 [docs] Add list of potential items to improve the metrics

Romain před 6 roky
rodič
revize
53c91ff74d
2 změnil soubory, kde provedl 19 přidání a 1 odebrání
  1. 2 1
      docs/ROADMAP.md
  2. 17 0
      docs/designs/metrics.md

+ 2 - 1
docs/ROADMAP.md

@@ -13,8 +13,9 @@ High Level Roadmap
   * [ ] Configuration of connectors via the interface [HUE-8758](https://issues.cloudera.org/browse/HUE-8758)
   * [ ] Multi clusters [HUE-8330](https://issues.cloudera.org/browse/HUE-8330)
   * [ ] Multi tenants [HUE-8530](https://issues.cloudera.org/browse/HUE-8530)
-  * [ ] SQL queries & Requests tracing [HUE-8936](https://issues.cloudera.org/browse/HUE-8936)
   * [ ] Modernize CI/CD [HUE-8888](https://issues.cloudera.org/browse/HUE-8888)
+  * [ ] SQL queries and requests tracing [HUE-8936](https://issues.cloudera.org/browse/HUE-8936)
+  * [ ] Productionize metrics [HUE-9021](https://issues.cloudera.org/browse/HUE-9021)
 * Scale
   * [ ] Task Server workers [HUE-8738](https://issues.cloudera.org/browse/HUE-8738)
   * [ ] Result caching and storage [HUE-8787](https://issues.cloudera.org/browse/HUE-8787)

+ 17 - 0
docs/designs/metrics.md

@@ -0,0 +1,17 @@
+
+# Metrics - Prometheus / Graphana
+
+Goal: understanding of where exactly the time is being spent when executing queries (e.g. in Hue database, in interpreter, RPC call to warehouse...)
+
+* https://prometheus.io
+* https://grafana.com/grafana/
+
+# TODO
+
+* Alerting: when is alive wrong more than X seconds
+* Number of active users
+* Resource usage: CPU, DB calls, memory, IOs
+* Slowness: percentiles times of requests
+* Number of queries
+
+* Provide default Graphana dashboard & alerting