Coder Social home page Coder Social logo

o11y's Introduction

RHTAP Observability

This repository contains Prometheus recording rule files and alert rule files for observability use, as well as unit tests for these rules.

Recording Rules

  • appstudio_container_network_transmit_bytes_total collects the network egress of containers and adds the label_pipelines_appstudio_openshift_io_type label to our metric.

  • appstudio_container_resource_limits collects all the resource limits (cpu and memory) for all containers and init_containers, and adds the label_pipelines_appstudio_openshift_io_type label to the new metric

  • appstudio_container_resource_minutes_gauge uses the resource limit configured on the container, as captured by appstudio_container_resource_limits, and transforms it to a fixed time window gauge representing the resource-limit per minute multiplied by the period the container was alive in that time window.

Examples (assuming 1-minute time window)

  • A container lived for the entire minute and had a limit of 0.5 CPU cores --> 0.5 CPU minutes.
  • A container lived for 30 seconds within the measured time frame and had a limit of 2 CPU cores --> 1 CPU minutes. This metric is intended to then be summed over the time frame the metric consumer wants to measure for.

Limitations

When a pod contains one or more init_containers that transmit data, only the first init_container will be taken into account while the other init_containers and containers are ignored from the metric appstudio_container_network_transmit_bytes_total

o11y's People

Contributors

yftacherzog avatar gbenhaim avatar avi-biton avatar kousalya1998 avatar hmariset avatar shakedaviv50313 avatar eisraeli avatar amisstea avatar omeramsc avatar svatares avatar srivickynesh avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.