Filtering and Relabelling Prometheus Metrics

Filtering and Relabelling Prometheus Metrics

How to drop unnecessary metrics, time-series or sensitive or unwanted labels.

rate limit

Code not recognized.

Course Description

In this course you will learn the basics of Prometheus Relabelling. More than a real use case, it is intended to provide some practice with the little pieces (both theory and practice) that you need to master in order to successfully understand and use relabelling rules in your scraping configuration.

 

Table of Contents

  1. Introduction
  2. Use Cases & Environment
  3. Config file and basic concepts
    1. Replace and concatenation
    2. Drop & Keep
    3. Label(map|drop|keep)
  4. Other relabelling concepts

Requirements

The user must understand basic Prometheus usage and configuration. The Intro to PromQL and Prometheus course is a good starting point for this. Also, some knowledge about regular expressions can be of help

Curriculum

  • Filtering and Relabelling Prometheus Metrics
  • Next Steps
  • A 1 minute survey
  • What's next?

Course Description

In this course you will learn the basics of Prometheus Relabelling. More than a real use case, it is intended to provide some practice with the little pieces (both theory and practice) that you need to master in order to successfully understand and use relabelling rules in your scraping configuration.

 

Table of Contents

  1. Introduction
  2. Use Cases & Environment
  3. Config file and basic concepts
    1. Replace and concatenation
    2. Drop & Keep
    3. Label(map|drop|keep)
  4. Other relabelling concepts

Requirements

The user must understand basic Prometheus usage and configuration. The Intro to PromQL and Prometheus course is a good starting point for this. Also, some knowledge about regular expressions can be of help

Curriculum

  • Filtering and Relabelling Prometheus Metrics
  • Next Steps
  • A 1 minute survey
  • What's next?