Best of PrometheusSeptember 2024

  1. 1
    Article
    Avatar of last9Last9·2y

    PromQL Cheat Sheet: Must-Know PromQL Queries

    PromQL can be challenging but highly effective for monitoring and troubleshooting system performance. This guide offers essential PromQL queries to help you analyze real-time data, detect trends, identify resource-intensive services, track SLOs/SLIs, manage high cardinality, plan capacity, and perform multi-cluster queries. These snippets aim to make your life easier when working with Prometheus dashboards.

  2. 2
    Video
    Avatar of youtubeYouTube·2y

    Go (fiber) vs. Go (stdlib) vs. Go (gin): Performance Benchmark in Kubernetes

    The post compares the performance of Golang HTTP frameworks—Fiber, Gin, and the Golang standard library—within a Kubernetes environment. By deploying the applications on an AWS cluster and measuring their CPU, memory usage, client-side latency, and requests per second, the test finds that Fiber performs best in terms of resource usage and latency. However, the standard library is recommended for general use due to its reliability and broad suitability for most applications.

  3. 3
    Article
    Avatar of last9Last9·2y

    Optimizing Prometheus Remote Write Performance: Guide

    Prometheus remote write is pivotal for storing and querying long-term metrics as infrastructure scales. Common performance bottlenecks include high CPU and memory usage, network bandwidth consumption, and delayed metric availability. Optimization strategies focus on queue configuration, reducing cardinality, effective relabeling, network optimization, and choosing appropriate remote storage. Best practices include starting with conservative settings, continuous monitoring, and adjusting configurations based on observed performance.

  4. 4
    Article
    Avatar of prometheusPrometheus·2y

    Prometheus 3.0 Beta Released

    Prometheus 3.0-beta is now available for testing, featuring a completely rewritten UI, enhancements to Remote Write 2.0, expanded OpenTelemetry support, and experimental Native Histograms. Users are encouraged to test the beta and report any issues for a more stable final release. Notable additions include support for UTF-8 characters in metric and label names, and new configurations for OTLP ingestion.

  5. 5
    Article
    Avatar of last9Last9·2y

    kube-state-metrics: Your Complete Guide to Simplifying Kubernetes Observability

    kube-state-metrics is an open-source add-on for Kubernetes that generates metrics about the state of various Kubernetes objects by listening to the Kubernetes API server. It complements other monitoring tools like metrics-server by providing insights into the health and status of Kubernetes resources such as pods, deployments, and nodes. Installation can be done using Helm, YAML manifests, or building from source. Integration with Prometheus allows for advanced querying and visualization using Grafana. Best practices include setting up appropriate RBAC permissions, enabling high availability, and leveraging custom resource metrics for enhanced observability.