{"repo":"seanpianka/tracing-layer-slack-discord","free":true,"listed":false,"github":"https://github.com/seanpianka/tracing-layer-slack-discord","clone":"git clone https://github.com/seanpianka/tracing-layer-slack-discord.git","description":"Send filtered tracing events to Slack and Discord","language":"Rust","stars":10,"topics":["rust","tracing","tokio","layer","slack","discord"],"license":"Apache-2.0","category":"chat-messaging","readme_excerpt":"tracing-layer-slack-discord This repository contains [ Layer ] implementations for sending [ tracing ] events to Slack and Discord. - - - - - - Synopsis [ DiscordLayer ] and [ SlackLayer ] send POST requests via [ tokio ] and [ reqwest ] to a Discord Webhook URL and Slack Webhook URL for each new tracing event, depending on the user-supplied event filtering rules. The format of the embedded message is statically defined. This layer also looks for an optional [ JsonStorageLayer ] extension on the parent [ span ] of each event. This extension may contain additional contextual information for the parent span of an event, which is included into the Discord message. Features - Send trace logs to Slack and Discord channels. - Configurable to suit your needs. - Easy to integrate with existing Rust applications. Usage Add the following to your Cargo.toml : Then, in your application: License This project is licensed under the Apache-2.0 License - see the LICENSE file for details. [ Layer ]: https://docs.rs/tracing-subscriber/0.3.0/tracing subscriber/layer/trait.Layer.html [ SlackLayer ]: https://docs.rs/tracing-layer-slack/0.2.2/tracing layer slack/struct.SlackLayer.html [ DiscordLayer ]: https://docs.rs/tracing-layer-discord/0.2.2/tracing layer discord/struct.DiscordLayer.html [ Span ]: https://docs.rs/tracing/0.1.13/tracing/struct.Span.html [ Subscriber ]: https://docs.rs/tracing-core/0.1.10/tracing core/subscriber/trait.Subscriber.html [ tracing ]: https://docs.rs/tracing [ tracing","default_branch":null,"files":null,"tree":[],"storefront":"/r/seanpianka","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/seanpianka/tracing-layer-slack-discord/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}