+

Monitoring Heroku with webhooks

Integrating Heroku and webhooks with your monitoring system

To integrate Heroku and webhooks with your monitoring system, please reach out to MetricFire. Book a demo with the MetricFire team to discuss integrating Heroku and webhooks and how that can support your monitoring system.

What is Heroku?

Forward Heroku Log-Drain Metrics to your MetricFire Account

MetricFire manages a Heroku Add-On that forwards your Log-Drain output to a Hosted Graphite backend. All you need to do is provision the Add-On from within your Heroku UI, or from within your Heroku CLI with a similar command:



heroku addons:add hostedgraphite -a <app-name>



You can now navigate to your new account by clicking on the Hosted Graphite add-on link in the Heroku UI, and wait for the metrics to appear. You can use the Heroku dyno/router metrics to build custom dashboards and alerts. See the Hosted Graphite Heroku docs for more details and configuration options.

 

undefined

 

MetricFire also has automatically generated dashboards specifically designed for Heroku apps. Once you have provisioned the hostedgraphite Add-On with Heroku, you will be able to see your automatically generated dashboards displaying data from your Heroku app(s):

 

undefined



Enable Heroku Webhooks to Send Event Annotations to Hosted Graphite

Additionally, you can create a Heroku app webhook in your Hosted Graphite account, and configure in your Heroku account to send annotations around your Heroku events, like when you provision Add-Ons or make a new deployment. Just navigate to Add-Ons => Heroku i your HG account and copy the webhook:





Now you can just copy this webhook and paste it into your Heroku account (More => View Webhooks => Create Webhook):



What is webhooks?

Use Webhooks to Forward Events and Notifications to your MetricFire Account

With MetricFire, you can use Webhooks in three different ways. First, you can use webhooks generated in your Hosted Graphite account to connect to 3rd party platforms and services, including CircleCi, Pingdom, GitHub, GitLab, Sentry, and more. This will import events from your services to the Hosted Graphite backend that can be viewed as annotations. See our Add-Ons and integrations docs for more details per service.



webhooks



Second, you can use custom Webhooks as a programmatic notification method for when an alert is triggered. See the Hosted Graphite Alerting Guide for more information.



webhook-notification-channel



Third, you can monitor the performance of your application's webhook endpoints using the Telegraf agent:



  1. Install the Telegraf Agent on any servers/systems that are hosting your MongoDB instances. See our Telegraf docs for detailed instructions on installing the agent and configuring it to forward metrics to your MetricFire account.
  2. Now you can configure Telegraf's http_response input plugin. See our handy blog article for detailed instructions HERE, and the official GiHub repository HERE
  3. Then just restart Telegraf to see new metrics appear in your MetricFire account's Metrics Search UI
  4. You can use these metrics to create Dashboard panels and Graphite alerts


What is MetricFire?

MetricFire is a full-scale platform that provides infrastructure, system, and application monitoring using a suite of open-source tools. We will aggregate and store your data as time series metrics, which can be used to build custom dashboards and alerts. MetricFire takes away the burden of self-hosting your own monitoring solution, allowing you more time and freedom to work on your most important tasks.

 

     hg-main-page

         

 

MetricFire offers a complete ecosystem of end-to-end infrastructure monitoring, comprised of open-source Graphite and Grafana. MetricFire handles the aggregation, storage, and backups of your data, and offers alerting, team features, and API's for easy management of your monitoring environment. You can send server metrics using one of our agents, custom metrics from within your application code, and integration metrics from a variety of popular 3rd party services that we integrate with like Heroku, AWS, Azure, GCP, and many more!

         

Our Hosted Graphite product has improved upon standard Graphite to add data dimensionality, optimized storage, and offers additional tools and features that provide customers with a robust and well-rounded monitoring solution.

       

Benefits of Using MetricFire:

  • Simple, low-cost pricing
    A structured pricing model based on total unique time series metrics allows you to work within your budget. The predictability and transparent pricing allows you to keep your costs in check and plan for the future. 1 metric is 1 metric regardless of the source, or requests sent to and from the metric namespace.
  • Easy-to-use dashboards
    Our Hosted Dashboards provide endless options for customizing your visualizations, and allow you to share dashboards with clients.
  • Responsive alerting
    Receive alert notifications quickly through Email, PagerDuty, Slack, Microsoft Teams, OpsGenie, and custom webhooks.
  • Freedom of customization
    Send custom application metrics through your code. Our Language Guide can help you update your codebase to send event metrics via socket connections.
  • Fantastic customer support
    Fast and friendly support is provided by engineers, for engineers, to get you set up quickly. Start a conversation with us through the chat bubble below!
  • Enterprise-ready
    Dedicated clusters for users that need their own environment with custom parameters. Please reach out to us for more information.
      
The author for this testimonial, Jim Davies, Head of DevOps, MoneySuperMarket.com.
“As MetricFire scales effortlessly, we can push and store more metrics than we really need today but might need tomorrow. This increases our depth of understanding of the systems that we run and heads off any future problems.”
Jim Davies, Head of DevOps, MoneySuperMarket.com.

Don't just take our word for it

Why thousands of engineers choose us:

fingerprint icon Own your data
dollar icon Major savings
eye icon Nothing hidden
face icon Engineering support

Vendor lock-in's not our thing. We’re believers in you still owning your data, so you can request a full export at any time. That means you get all the benefits of an open-source tool, but with the security and stability of a SaaS tool.

“We now have over ten times the amount of metrics we started with, and on different accounts. One of the great things about MetricFire is that scaling to support this increase has been hassle-free, requiring no additional work on our side.”

Maxime Audet, Cloud-Ops Team Lead, Coveo

Read customer story Customer photo of Maxime

Save valuable engineering time and stick within your budget. We're known for our predictable and transparent pricing so it's easy to keeps costs under control.

“Building and managing an on-premise installation at this scale would require a lot of engineer time, especially in the first year...we use this engineering time to work on initiatives closer to our core business”

Jim Davies, Head of DevOps, MoneySuperMarket.com

Read customer story Customer photo of Jim

Transparency is at the root of how we operate: from pricing to postmortems we're open about how we do things. We even publish our internal system metrics to our public status page.

“There’s complete transparency with everything MetricFire do which means we can accurately predict what we’ll be spending and comfortably keep within our budget.”

Itai Yaffe, Big Data Developer, Nielsen

Read customer story Customer photo of Itai

Our first line, technical support comes from engineers, for engineers. So you get highly detailed, expert support when you need it.

"Every time I have a question, I get an answer from support after just a couple of hours. Their technical knowledge is excellent.”

Shahar Kobrinsky, VP of Architecture and Scale, Eyeview

Read customer story Customer photo of Shahar

Questions?

Don’t see the integration you’re looking for? Need help setting up your monitoring? Get in touch and one of our engineers will help you out.

Contact us
You might also like other posts...
metricfire Sep 25, 2024 · 5 min read

Guide to Adding K8 Inventory Stats to Your Telegraf Daemonset

By integrating inventory stats with your other K8 performance metrics, you can better correlate... Continue Reading

Do more with MetricFire