Giter VIP home page Giter VIP logo

Comments (6)

whs avatar whs commented on July 26, 2024 2

I'm sorry but adding this feature which has equivalent option available would cause additional maintenance work on our part.

from kube-slack.

vikas027 avatar vikas027 commented on July 26, 2024 1

It is up to you, equivalent options are not really equivalent when you have multiple applications pointing to the same channel.

from kube-slack.

whs avatar whs commented on July 26, 2024

You can configure the username from Slack's incoming webhook configuration. Is there any use case missing from this?

If you're on the free tier, each instances of incoming webhook are not counted as separate integrations.

from kube-slack.

vikas027 avatar vikas027 commented on July 26, 2024

Hey @whs ,

Yeah, I can do the same using on the Slack UI. But it would be useful to the know the source of the alerts if I want to use the same channel for alerts from various applications

This is my use case

  • Slack Channel Name - k8s-alerts
  • GitLab alerts are thru name gitlab
  • Grafana alerts are thru name grafana
  • Similarly, I want a customized name for kube-slack

I hope the use case is clear now.

Cheers,
Vikas

from kube-slack.

whs avatar whs commented on July 26, 2024

You can create 3 incoming webhooks that point to the same channels with different name. That's what we're using as well.

from kube-slack.

vikas027 avatar vikas027 commented on July 26, 2024

Yes, but IMHO that is a work around and then has limits. It would still be convenient to have variable SLACK_USERNAME so that we don't need to have multiple hooks, and just one hook is sufficient for all alerts. I have plans to have more services alerting to the same channel.

from kube-slack.

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.