Skip to content

Add ability to send logs, events and metrics to discord  #19

Open

Description

@0xCiBeR

Description:

Re-opening previous issue from: TrinityCore/TrinityCore#23871
It would be nice to be able to send metrics and events to discord servers since its one of the top voice platforms available currently

Current behaviour:

No support for discord out of the box

Expected behaviour:

Allow TrinityCore server to communicate with a discord server

Steps to reproduce the problem:

Branch(es):

Both

TC rev. hash/commit:

TDB version: -

Operating system: -

Activity

  1. jackpoz commented on Sep 29, 2020

    @jackpoz
    Member

    https://grafana.com/docs/grafana/latest/alerting/notifications/#list-of-supported-notifiers says it supports Discord. TC supports Grafana, Grafana supports Discord, ergo TC supports Discord ? 😄

  2. jackpoz commented on Sep 30, 2020

    @jackpoz
    Member

    Well, logs can be added to MySQL using the Appender type "DB", Grafana can read the data from MySQL, so it's just a matter of gathering up some knowledge on the currently supported tools and build a solution out of it.

  3. jackpoz commented on Sep 30, 2020

    @jackpoz
    Member

    https://www.influxdata.com/blog/contributing-third-party-flux-packages-a-discord-endpoint-flux-function/ is another way to send data from InfluxDB to Discord.
    In general it makes more sense to not add every single service to worldserver (WhatsApp, Skype, MS Teams, Slack, Discord, Telegram, line, etc) but send data to MySQL/InfluxDB and then have a 3rd party software sending the data to the service of choice.

    And here's a little example showing the power of Grafana:
    image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions