Last active
March 25, 2024 14:30
-
-
Save hydrosquall/e9d264e7a4afc0ecafa0aa6c361a3e7a to your computer and use it in GitHub Desktop.
Webhook Payload: Datadog Graphs -> Discord Bot
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"embeds":[ | |
{ | |
"title":"$EVENT_TITLE", | |
"url":"$LINK", | |
"description":"$EVENT_MSG", | |
"thumbnail":{ | |
"url":"$SNAPSHOT" | |
} | |
}, | |
{ | |
"fields":[ | |
{ | |
"name":"tags", | |
"value":"$TAGS", | |
"inline":true | |
} | |
] | |
} | |
] | |
} |
Yeah it's a dice roll whether Datadog creates the image in time before discord receives & shows the post. I don't think there's a way around that at the moment.
I really do need to create middleman app to fix this.
Thanks for investigating Tim!
…On Fri, Mar 22, 2024 at 11:50 AM Tim Campbell ***@***.***> wrote:
***@***.**** commented on this gist.
------------------------------
Yeah it's a dice roll whether Datadog creates the image in time before
discord receives & shows the post. I don't think there's a way around that
at the moment.
I really do need to create middleman app to fix this.
—
Reply to this email directly, view it on GitHub
<https://gist.github.com/hydrosquall/e9d264e7a4afc0ecafa0aa6c361a3e7a#gistcomment-4997705>
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ACE2MM3AAS22IWGLAO4HL4DYZRHNHBFKMF2HI4TJMJ2XIZLTSKBKK5TBNR2WLJDUOJ2WLJDOMFWWLO3UNBZGKYLEL5YGC4TUNFRWS4DBNZ2F6YLDORUXM2LUPGBKK5TBNR2WLJDHNFZXJJDOMFWWLK3UNBZGKYLEL52HS4DFVRZXKYTKMVRXIX3UPFYGLK2HNFZXIQ3PNVWWK3TUUZ2G64DJMNZZDAVEOR4XAZNEM5UXG5FFOZQWY5LFVEYTANZUG4ZDCNJXU52HE2LHM5SXFJTDOJSWC5DF>
.
You are receiving this email because you authored the thread.
Triage notifications on the go with GitHub Mobile for iOS
<https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675>
or Android
<https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub>
.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
the avatar is nice but i still dont see graph image.