Git Product home page Git Product logo

prometheus-slo-burn-example's People

Contributors

icco avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

prometheus-slo-burn-example's Issues

Confusing naming

Hello,

I find it a bit confusing with the name of the recording rules:

record: job:error_budget:slo
record: job:error_budget:remaining

As per srebook "An error budget is 1 minus the SLO of the service". So I'm not sure "error_budget:slo" is "error_budget" or "slo" or "slo of error budget". If I'm following the expr '(1 - 0.05) * 100', I'm assuming that your SLO is 95% and Error budget is 5% ?

So, if we're following the book, should the name be job:availability:slo ? (and let's understand job:availability:error_budget 5% implicitly.

Same thing to job:error_budget:remaining. From this name, I can understand that if Error budget is 5%, to assume burn_rate is 1%, we'll have job:error_budget:remaining 4% ? But it will not be this value following the expr "(1 - job:slo_errors_per_request:ratio_rate28d) * 100". Should it be job:availability(or slo):remaining ?

Several images are not available

It seems there are several images which are not available in the gcr registry.
Are there any other working examples or are there any other place where the images are available now?

 Warning  Failed     4m44s (x4 over 6m14s)  kubelet            Failed to pull image "gcr.io/cre-prometheus-slo-alerting/example-server:latest": rpc error: code = Unknown desc = failed to pull and unpack image "gcr.io/cre-prometheus-slo-alerting/example-server:latest": failed to resolve reference "gcr.io/cre-prometheus-slo-alerting/example-server:latest": unexpected status code [manifests latest]: 400 Bad Request

can't terraform in cloud shell

heyo. trying to run this in cloud shell, i get:

$ echo $REGION
us-central1
$ terraform apply -var "gcp_region=$REGION"
Error: Unsupported block type
  on main.tf line 48, in resource "google_container_node_pool" "pool0":
  48:     metadata {
Blocks of type "metadata" are not expected here. Did you mean to define
argument "metadata"? If so, use the equals sign to assign it a value.

FWIW, I downloaded the terraform 64 bit linux binary from:
https://www.terraform.io/downloads.html

$ terraform -v
Terraform v0.12.0
+ provider.google v2.7.0

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.