HUE-9194 [useradmin] Make active users metrics available to prometheus

Review Request #14864 — Created March 12, 2020 and submitted

yingc
hue
master
HUE-9194
johan, ranade, romain, weixia
commit d9bf05f414b1d40b6d0ab2c5b874eb0171406813 (HEAD -> active_users)
Author: Ying Chen <yingchen@cloudera.com>
Date:   Thu Mar 12 16:56:30 2020 -0700

    HUE-9194 [useradmin] Make active users metrics available to prometheus

:100644 100644 469551c12b... 35a3e2d80c... M    apps/useradmin/src/useradmin/metrics.py
:100644 100644 135a141784... dc5787fbdb... M    apps/useradmin/src/useradmin/tests.py


  • 0
  • 0
  • 2
  • 0
  • 2
Description From Last Updated
romain
  1. Nice one!

  2. apps/useradmin/src/useradmin/metrics.py (Diff revision 1)
     
     

    Curious: do we need to prefix with 'hue_' or this is not needed as the metrics are generated by a Hue service?

    i.e.

    here instead of 'django_...', we should see 'hue_....' in prometheus?

    https://gethue.com/collecting-hue-metrics-with-prometheus-in-kubernetes/

  3. 
      
yingc
yingc
Review request changed

Status: Closed (submitted)

Loading...