Git Product home page Git Product logo

Comments (5)

nathanielc avatar nathanielc commented on August 26, 2024 1

@aabouzaid Yes, if you have a use case in mind please open a new issue.

from kapacitor.

schmurfy avatar schmurfy commented on August 26, 2024

I have not tried but judging by the documentation the email body is a dump of the JSON data, if that's the case there should be a method like message() to force a specific user template instead, it would be a nice way to solve this issue.

I just started to play around with kapacitor but that is clearly something I will need when I try to really use it, having a JSON dump in the body does not seems hat useful for real world use, if you are going to send the alert to another program http would be far easier.

from kapacitor.

nathanielc avatar nathanielc commented on August 26, 2024

The alert node supports methods like .id() and .message() that define templates for a unique id for the alert as well as the single line message. We could add .details() method that defines a template for more detail which can be used by the email handler.

from kapacitor.

JulienChampseix avatar JulienChampseix commented on August 26, 2024

@nathanielc that will be indeed usefull to have .details() method

from kapacitor.

aabouzaid avatar aabouzaid commented on August 26, 2024

Hmmm I'm not sure, but isn't this issue about creating a "Custom field" in general?

Now there is details field, but what if a field needs to be added? (as same as the level of details field, not inside it).

I think this is not covered here. Should I open a new issue?

from kapacitor.

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.