Code Monkey home page Code Monkey logo

Comments (4)

wleese avatar wleese commented on August 22, 2024

The actions you mention are actually a single action, implemented in multiple ways. Namely looking up a value ("who's on call?").

What you probably are thinking of are the vendor plugins, which are linked to priorities. Say urgent messages -> call, medium -> chat, low -> email. Additionally it seems you'd not want this as a "step" but as "Incident Tracking". Meaning that regardless of how messages are created and escalations go, there will always be 1 message sent to $channel.

Now interestingly there seems to only be support for doing "Incident Tracking" using the email vendor. I'll be looking into making this more flexible so that any vendor plugin can be used instead - we happen to need the ability to send all alerts to chat rooms as well as the normal alerting workflow.

Once this is in place, all you'd need is a vendor plugin which does your specific http call. You wouldn't be able to make this very generic though - every purpose would need it's own plugin. Or you'd have one big plugin specific to your organization.

from iris.

miton18 avatar miton18 commented on August 22, 2024

I understand what you say, I'm not talking about vendors integration :-)
we already code a custom vendor for our internal usage linked to our infra

I speak about that: https://github.com/linkedin/iris/blob/a73b8c8543135b79e2a025db7932ae6e0cb9ef45/src/iris/constants.py

In some steps, it can be interesting to have an action of type "HTTP_REQUEST" which just perform an http call on another API (not necessary a notification ways provider)

from iris.

dwang159 avatar dwang159 commented on August 22, 2024

That's an interesting generalization of the Iris framework. We've focused on notifications, but adding an HTTP request "contact mode" could work. I think the drawback you might find here is that contact mode destinations (e.g. phone numbers or Slack handles) are defined per-user, so having several webhook locations would be difficult.

I think what @wleese describes is likely a better place for this kind of functionality. This way, you would be able to set the request target per-plan. I believe the framework for incident tracking is fairly general (we had some plans to integrate Jira, which was ultimately pushed into the backlog), so this should be doable via that channel.

from iris.

miton18 avatar miton18 commented on August 22, 2024

Ok, thanks for all :-)

from iris.

Related Issues (20)

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.