Navigation Menu

Skip to content

Instantly share code, notes, and snippets.

@2color
Last active July 10, 2017 21:30
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save 2color/7ccb380265e79ddc1bd5060a38fcb073 to your computer and use it in GitHub Desktop.
Save 2color/7ccb380265e79ddc1bd5060a38fcb073 to your computer and use it in GitHub Desktop.
Prometheus Question

Prometheus Questions

  • metric names
    • Should the same metrics, e.g. requests_total be used across all http services or should one introduce a prefix for services?
    • What are the scaling considerations for an approach as the above
    • What if there's a load balancer and services where a request would be increase two counter, e.g. nginx_lb_requests_total and some_service_requests_total?
  • Series churn
    • When series churn happens and you have two time series, e.g. http_requests_total{code="200"} and http_requests_total{code="500"} are two new series created when the new prometheus container scrapes that target (not sure if same storage is mounted in k8s)?
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment