Kubernetes Monitoring with Prometheus

  1. Prometheus Query Language (PromQL)
    1. Basic Query Syntax
      1. Metric Selection
        1. Instant Vector Selectors
          1. Range Vector Selectors
            1. Metric Name Matching
            2. Label Filtering
              1. Equality Matchers
                1. Regex Matchers
                  1. Negative Matchers
                    1. Multiple Label Conditions
                    2. Time Range Specifications
                      1. Duration Formats
                        1. Offset Modifiers
                          1. At Modifiers
                        2. PromQL Operators
                          1. Arithmetic Operators
                            1. Binary Arithmetic
                              1. Vector Matching
                                1. One-to-One Matching
                                  1. One-to-Many Matching
                                  2. Comparison Operators
                                    1. Equality and Inequality
                                      1. Boolean Results
                                        1. Filtering Applications
                                        2. Logical Operators
                                          1. AND Operations
                                            1. OR Operations
                                              1. UNLESS Operations
                                              2. Set Operators
                                                1. Vector Matching Behavior
                                                  1. Ignoring and On Clauses
                                                2. Built-in Functions
                                                  1. Rate and Counter Functions
                                                    1. rate() Function
                                                      1. irate() Function
                                                        1. increase() Function
                                                          1. Counter Reset Handling
                                                          2. Aggregation Functions
                                                            1. sum() and avg()
                                                              1. min() and max()
                                                                1. count() and count_values()
                                                                  1. stddev() and stdvar()
                                                                    1. topk() and bottomk()
                                                                    2. Time and Date Functions
                                                                      1. time() and now()
                                                                        1. day_of_month() and hour()
                                                                          1. timestamp() Function
                                                                          2. Mathematical Functions
                                                                            1. abs() and sqrt()
                                                                              1. ceil() and floor()
                                                                                1. round() Function
                                                                                2. String Functions
                                                                                  1. label_replace()
                                                                                    1. label_join()
                                                                                  2. Advanced Aggregation Techniques
                                                                                    1. Grouping with by() Clause
                                                                                      1. Excluding with without() Clause
                                                                                        1. Multi-Level Aggregations
                                                                                          1. Aggregation Over Time
                                                                                          2. Histogram and Summary Queries
                                                                                            1. Histogram Bucket Analysis
                                                                                              1. Quantile Calculation from Histograms
                                                                                                1. Summary Quantile Access
                                                                                                  1. Rate Calculations on Histograms
                                                                                                  2. Subqueries and Complex Expressions
                                                                                                    1. Subquery Syntax
                                                                                                      1. Nested Aggregations
                                                                                                        1. Multi-Step Calculations
                                                                                                          1. Performance Considerations