Giter VIP home page Giter VIP logo

prometheus-rules's Introduction

A collection of useful prometheus rules

This is intended as a home for collections of useful, reusable prometheus rules.

  • time.rules: Rules for building time/date awareness. These are approximations, with some room for improvement:
  • time_current_year: The current year
  • time_start_current_year_seconds: Start of current year, second since Unix Epock
  • time_end_current_year_seconds: End of current year, second since Unix Epock
  • time_end_of_current_day_seconds: End of current day, second since Unix Epock
  • time_current_day_remaining_seconds: Seconds left in the current day
  • time_is_leap_year_bool: 1 indicates that you are currently in a leap year
  • time_end_of_current_[month]_seconds: month is a three letter month indicator
  • time_current_month: 1 == Jan, 12 == December
  • time_end_of_current_month_seconds: End of the current month, seconds since Unix Epoch
  • time_current_month_remaining_seconds: Seconds remaining in the current month
  • time_current_weekday: The current week day 1 is Monday, 7 is Sunday
  • time_is_weekday_bool: Check if the current day is a weekday (not Saturday or Sunday)

License

These configs are released under the Apache 2.0 license. All images downloaded are subject to their individual licenses.

prometheus-rules's People

Contributors

tcolgate avatar

Watchers

James Cloos avatar Rafael Jesus 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.