Configuration


1. Install Incoming Webhooks on Slack

If you’ve already installed the Incoming Webhooks app, you can skip to step 2.

  1. Go to Slack’s app directory.
  2. Search for Incoming Webhooks. It should dynamically update a drop-down beneath the search bar.
  3. Click Incoming Webhooks.
  4. Click Add Configuration.
  5. Select a channel from Choose a Channel… or create a new one.
  6. Click Add Incoming WebHooks Integration.

2. Add an Integration to Slack
  1. Log into your Slack client.
  2. Click your username in the top left-hand corner. A menu will open.
  3. Click Administration > Manage Apps.
  4. Navigate to Custom Integrations.
  5. Click Incoming WebHooks.
  6. In the Customize Name section, type your desired name. We recommend naming it Metricly Event.
  7. Click Copy URL in the Webhook URL section.
  8. Click Save Settings at the bottom of the page.

3. Create a Slack Notification in Metricly

If you want to display a custom message for your Slack notification, you’ll have to add and configure a Webhook notification instead, using the URL in 2.11 as your Webhook notification’s URL.

  1. Type a name for the Slack notification. We recommend naming it Slack-{yourChannelName} so it’s easy to find later.
  2. Ensure the Enabled checkbox is selected.
  3. For Webhook URL, paste the URL you obtained from creating the Slack integration.
  4.  Input a bot username that will be used when Metricly posts to your Slack channel.
  5. Click Test and Save to test the Slack notification. The test must return an HTTP code 200 to pass the validation. If the test succeeds, the notification will automatically save.

Optional Configuration


Icons & Emojis

You can customize the icon from slack by returning to the custom Webhook integration you’ve created and editing it. To distinguish your Metricly events in the chat, we recommend saving our logo to your computer and uploading it. You can also add an emoji or icon via Metricly when editing your notification.


Channel Override

Input a channel override. This can be a different channel (#other-channel), another user (@otheruser), or multiple users.

More About Notifications

For more information about notifications, see them main Notifications page.

Send Reports to Slack

First create a Slack email integration (https://get.slack.help/hc/en-us/articles/206819278-Send-emails-to-Slack)

For AWS Service Cost, EC2 Recommendation, and Reservation Recommendation Reports 

  1. Set up a saved report to be sent to Slack.
  2. Add the email address created with Slack email integration to the saved report’s emailing list
  3. Enable Daily/Weekly Emails on the saved report.

For Idle Reports (Unattached EBS & ELB, EBS on Stopped EC2)

  1. Register the email address created with Slack email integration as a Metricly user.
  2. Navigate to the Reports main page and toggle Enable Daily Email for each report.
  3. Optional: Disable the Daily Report for that user (you’ll also get those by default).
capterra

Ready to get started with Metricly?

Sign up for free, and join DevOps who rate us 5-stars on Capterra!

21-day free trial No credit card required