To integrate Heroku and Amazon CloudWatch with your monitoring system, please reach out to MetricFire. Book a demo with the MetricFire team to discuss integrating Heroku and Amazon CloudWatch and how that can support your monitoring system.
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.
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):
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):
Amazon CloudWatch is a management and monitoring service designed for AWS and other infrastructure resources or on-premises applications. It is the official metrics monitoring tool for Amazon Web Services. Using CloudWatch, you can access all your performance and operational metrics in a single platform, helping you overcome the challenge of monitoring multiple systems. CloudWatch helps you monitor your entire stack — including applications, infrastructure, and services — thus freeing up valuable resources to allow you to focus on building applications.
You can use CloudWatch Container Insights to monitor and troubleshoot your applications and microservices. CloudWatch collects, aggregates, and summarizes computer utilization information; like CPU and memory usage, network data history, and also monitoring diagnostic information. Container Insights provides you with details about container management services, such as Amazon ECS for Kubernetes (EKS), Amazon's Elastic Container Service (ECS), etc.
The brilliant thing about Amazon Cloudwatch is that it is your gatekeeper to data and metrics for all your Amazon applications and services. However, monitoring more than the standard set of metrics can become very expensive with CloudWatch. CloudWatch custom metrics are very expensive and they should be used sparingly. For example, if a company is monitoring its AWS systems with the standard CloudWatch dashboards, it might cost around 1000 USD a month. However, if you’re monitoring hundreds of thousands of metrics related to a new launch, AWS CloudWatch could quickly rack up to 50,000 USD a month.
That's why it's such a vital integration point for MetricFire. MetricFire treats all metrics the same, so if you’re monitoring thousands of specialized metrics, you’ll still pay the same basic rate for those metrics. CloudWatch can be integrated with MetricFire, so you can pull your AWS metrics into the MetricFire platform. Then, you can get low-cost metrics scaling, while still being able to monitor your AWS metrics all in a single pane of glass. MetricFire's advanced filtering lets you choose only the data views you want to see and discard the rest. You can also set up simple rules to discard data you no longer need to keep, plus receive alerts via email or Slack.
To get started, first, create a policy that we will later attach to the user.
Next, we’ll create a user to attach the policy. We’ll use the Access Key/Secret Key tokens to permit Hosted Graphite to import CloudWatch metric data.
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.
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.
Monitoring the health of your API endpoints is crucial to keeping your applications running... Continue Reading