Replace public testnets with Virtual TestNets to build dapps on on-chain data. Get started now!

A Very Tenderly Update: Slack Alerts, Events, Logs, and So Much More

Slack alerts, Events, Logs, Local and State Variables! See all the new things you can do in your Tenderly dashboard!

A Very Tenderly Update: Slack Alerts, Events, Logs, and So Much More

In this post

Hear ye, hear ye šŸ””šŸ””šŸ””! Iā€™m back with my digital quill and ink to tell you about the magical stuff the team at Tenderly has been up to lately.

emit SlackReleased(true);

After releasing our Real-Time Alerting feature, the number one request was to add Slack as an alert destination, so we rolled up our sleeves and got the job done!

To add a Slack channel as an alert destination go to your project, then Alerts and finally click on destinations where you will see a shiny new Slack button.

Now, when you set up an alert, you can pick your channel and get notified when something happens in real-time.

Setup Event / Log basedĀ alerts

Yup, youā€™ve read that correctly: you can set up alerts that will notify you whenever a specific Event or Log gets emitted.

To show you how it works, Iā€™m going to use the CryptoKitties Smart Contract (of course šŸˆ).

Go to the alert creation screen, select the Event / Log trigger, and after you select the KittyCore Smart Contract, youā€™ll see all of the events that can happen:

  • Approval
  • Birth
  • ContractUpgrade
  • Pregnant
  • Transfer

Iā€™m going to pick the Birth event. Now whenever a CryptoKitty is born, Iā€™ll get notified instantly. You can have your very own baby CryptoKitty Slack channel (just an idea).

Even more information for every transaction

The transaction screen got some love as well! There are two main additions: Events / Logs and Local / State variables in the debugger.

When you open up a transaction (for example this one), you can see all of the Logs that were emitted. Not only that, weā€™ve decoded all of the Logs, so you can easily read the parameters!

Now, if you remember, weā€™ve released our Visual Debugger last month where you can go through any transaction step by step. We already got a lot of great feedback on how the debugger saves time, but we can do better! Thatā€™s why we added State and Local variables to the Visual Debugger.

To see it in action, click on the Debugger tab when viewing a transaction. Iā€™ll use the same transaction we used to showcase the Events / Logs feature.

As you can see, at each line of code, we can see Input / Output variables, and now, State and Local variables as well!

Is thatĀ all?

No, of course not! Weā€™re working hard on a couple of new additions to the platform, the main one being Parameterized Alerts. With Parameterized Alerts, youā€™ll be able to use input parameters of events and functions only to get notified precisely in cases that you want to. This is something that didnā€™t exist before and is now available only on Tenderly.

To recap whatā€™sĀ new?

  • Add Slack as an alerting destination
  • Get notified when a particular Event / Log happens during the execution of your Smart Contract
  • The transaction screen now shows Events / Logs that were emitted during a transaction
  • The debugger now has State and Local variables in addition to Input and Output variables
  • Fixed kitchen sink finally

Thatā€™s all forĀ now

As always, we love talking to everyone all things Monitoring, Alerting and Smart Contracts development in general, so drop us a line over at support@tenderly.co or join our Discord. Talk to you soon!

Start Monitoring Now