Prometheus Data Model

Prometheus Data Model

A description of the Prometheus data model (Prereq for 'Understanding PromQL')

Course Description

This course will teach you the Prometheus Data Model.

Table of Contents

1. Welcome

  • Overview
  • Prerequisites

2. Basic Types

  • Gauges
  • Gauge Examples
  • Values and Units
  • Dealing with Ratios
  • Raw Data for Events
  • Counters
  • Counter Resets
  • How Counters Can Be Used

3. Quiz

4. Labels

  • Scaling
  • Labels
  • Label Examples
  • Label Syntax
  • Metric Names
  • Common Label Pitfalls
  • String Values

5. Quiz

6. Compound Types

  • Average Request Latency 
  • How The Summary Helps
  • Summary vs Histogram
  • Summary and Histogram Format
  • Aside: Averages Are Easy To Reason About
  • Conventions, Not Types

7. Quiz

8. Review

Credits

This course is based on one developed by Robust Perception and is used with their permission. If you want to learn more about Prometheus and PromQL, you may wish to refer to Prometheus: Up & Running by Brian Brazil of Robust Perception.

Curriculum

  • Overview
  • Basic Types
  • Quiz
  • Labels
  • Quiz
  • Compound Types
  • Quiz
  • Review
  • Review
  • A 1 minute survey
  • What's next?

Course Description

This course will teach you the Prometheus Data Model.

Table of Contents

1. Welcome

  • Overview
  • Prerequisites

2. Basic Types

  • Gauges
  • Gauge Examples
  • Values and Units
  • Dealing with Ratios
  • Raw Data for Events
  • Counters
  • Counter Resets
  • How Counters Can Be Used

3. Quiz

4. Labels

  • Scaling
  • Labels
  • Label Examples
  • Label Syntax
  • Metric Names
  • Common Label Pitfalls
  • String Values

5. Quiz

6. Compound Types

  • Average Request Latency 
  • How The Summary Helps
  • Summary vs Histogram
  • Summary and Histogram Format
  • Aside: Averages Are Easy To Reason About
  • Conventions, Not Types

7. Quiz

8. Review

Credits

This course is based on one developed by Robust Perception and is used with their permission. If you want to learn more about Prometheus and PromQL, you may wish to refer to Prometheus: Up & Running by Brian Brazil of Robust Perception.

Curriculum

  • Overview
  • Basic Types
  • Quiz
  • Labels
  • Quiz
  • Compound Types
  • Quiz
  • Review
  • Review
  • A 1 minute survey
  • What's next?