Time series data & Prometheus

time series data base

  • sequence of data points collected at regular intervals over a period of time

how prometheus good for time series metrics

  • Prometheus fundamentally stores all data as time series: streams of timestamped values belonging to the same metric and the same set of labeled dimensions

components of prometheus

  • prometheus server
  • client libraries
  • push gateway
  • exporters
  • alert manager

How does prometheus work

  • by pushgateway:-The Pushgateway is an intermediary service which allows you to push metrics from jobs which cannot be scraped
  • by prebuilt exporters:- You can write your own exporter/custom collector or use the prebuilt exporters which will collect data from your infrastructure and send it to Prometheus
  • by instrumenting:– is the use of a library in an application’s code base in order to expose and update metrics about it for a Prometheus instance to scrape.