GithubHelp home page GithubHelp logo

isabella232 / sentry-kubernetes Goto Github PK

View Code? Open in Web Editor NEW

This project forked from getsentry/sentry-kubernetes

0.0 0.0 0.0 420 KB

Kubernetes event reporter for Sentry

License: Apache License 2.0

Python 91.15% Dockerfile 8.85%

sentry-kubernetes's Introduction

sentry-kubernetes

Disclaimer: this project is not officially maintained by Sentry.

The code is under the getsentry GitHub organization because it was created by a former employee.
For more information see issue #42.


Errors and warnings in Kubernetes often go unnoticed by operators. Even when they are checked they are hard to read and understand in the context of what else is going on in the cluster. sentry-kubernetes is a small container you launch inside your Kubernetes cluster that will send errors and warnings to Sentry where they will be cleanly presented and intelligently grouped. Typical Sentry features such as notifications can then be used to help operation and developer visibility.

Create a new project on Sentry and use your DSN when launching the sentry-kubernetes container:

kubectl run sentry-kubernetes \
  --image getsentry/sentry-kubernetes \
  --env="DSN=$YOUR_DSN"

Filters and options

See the full list in sentry-kubernetes.py

ENV var Description
EVENT_NAMESPACES_EXCLUDED A comma-separated list of namespaces. Ex.: 'qa,demo'. Events from these namespaces won't be sent to Sentry.

Events are grouped in Sentry:

1


They come with useful tags for filtering, and breadcrumbs showing events that occurred prior to the warning/error:

2


And include all of the extra data attached to the event:

3

Install using helm charts

$ helm repo add incubator https://kubernetes-charts-incubator.storage.googleapis.com/
"incubator" has been added to your repositories

$ helm install incubator/sentry-kubernetes --name my-release --set sentry.dsn=<your-dsn>

sentry-kubernetes's People

Contributors

bretthoerner avatar dependabot[bot] avatar derom avatar electron0zero avatar gianrubio avatar hazat avatar kfyhn avatar mikesplain avatar q3aiml avatar rhcarvalho avatar squiddy avatar tdegiacinto avatar vdboor 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.