+

Integrate StatsD and Amazon ECS

Integrating StatsD and Amazon ECS with your monitoring system

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

What is StatsD?

StatsD is a network daemon that runs on the Node.js platform and listens for statistics, like counters and timers. StatsD sends this information over UDP or TCP from your server or network to your monitoring server. In most cases, your StatsD will send aggregates to one or more pluggable backend services (e.g., Graphite).

StatsD is considered a “collector” in the monitoring world. It’s key job is to find and pull the metrics from your systems, and then push them to a monitoring server. However, it doesn’t store, aggregate, visualize or alert on any of your metrics. StatsD is intended for only one use-case: collecting. 

The key benefit of using StatsD is the customizability. Unlike standard Agents, you can tailor StatsD to do exactly what you want. You can map out hundreds of metrics, give the metrics customized names, and have them sent into your monitoring backend. 

Typically, StatsD pairs with Graphite as the monitoring backend. The primary reason for this is that Graphite does not come with its own collector. 

However, StatsD is also often used to pull metrics in unique or challenging cases, when something like a typical monitoring agent, or Prometheus’ built-in metrics scraping tool isn’t able to collect what you’re looking for. For example, StatsD is often used for monitoring Python web apps with Prometheus.

StatsD can be used to pull metrics from every part of the service that is running, and enables this data to be easily summed to get a clear picture of what your data is doing.

StatsD is also used to combine metrics from multiple sources into one location, such as pulling Graphite metrics into Prometheus. 

At MetricFire, you can integrate with StatsD using MetricFire’s StatsD Add-on. You can automatically pull your StatsD metrics into our monitoring platform, and see your StatsD metrics alongside your AWS, Graphite and Prometheus monitoring.

What is Amazon ECS?

Amazon Elastic Container Service (Amazon ECS) is a container management service that is fully managed, fast, and secure. It makes it easy for you to run, stop, and manage containers on a cluster. It should not be confused with Amazon EC2 that is used to manage the computing capacity and resources of the infrastructure used to store and run your containers. However, Amazon ECS and Amazon EC2 are often used together to manage your containers and the infrastructure they run on.

Containers are used for packaging application code, configurations, and dependencies into a single object, ensuring quick, reliable, and consistent deployments, regardless of your software environment. AWS provides a range of tools to help you register, manage, and run your application containers.

You can create task definitions that you use to run individual tasks or tasks within a service for each of your containers. AWS Fargate can run your tasks for you, or if you need more control, you can run your services or tasks on a cluster of Amazon EC2 instances.

Amazon ECS launches and stops your container-based applications by using simple API calls. You can also retrieve your cluster's state from a centralized service that gives you access to many Amazon EC2 features.

Monitoring your Amazon ECS resources is simple by using Amazon CloudWatch. The metrics you collect depend on the task launch type you use. If you use Fargate launch types for your services, then CPU and memory utilization metrics are provided to monitor your services. For the Amazon EC2 launch types, you need to monitor the EC2 instances yourself. This is where MetricFire can help you out.

With MetricFire, you can turbocharge your Amazon ECS monitoring services. By integrating Amazon CloudWatch with the MetricFire platform, you can display your metrics on aesthetically pleasing dashboards. 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 keep, plus receive alerts via email or Slack when your ECS service is doing something it shouldn't.

How to integrate StatsD and Amazon ECS with your monitoring system

To integrate StatsD and Amazon ECS with your monitoring system, sign up for a free trial with MetricFire. Talk with the MetricFire team about how to integrate StatsD and Amazon ECS and get StatsD and Amazon ECS interacting with your MetricFire dashboards directly.

What is MetricFire?

MetricFire is a full-scale platform that offers infrastructure, system, and application monitoring using a suite of open-source monitoring tools. The platform allows you to use either Prometheus- or Graphite-as-a-Service and have your metrics displayed on aesthetically-pleasing Grafana dashboards. 

     

MetricFire offers its users a complete ecosystem of end-to-end infrastructure monitoring, which is made up of three of the most popular open-source monitoring software services: Prometheus, Graphite, and Grafana. As well, plugins for a number of other open-source projects are preconfigured, such as StatsD, collectd, and Kubernetes. You get all these within a hosted environment as a single product. Not only does MetricFire fit well into the infrastructure monitoring use-case, such as network monitoring and server monitoring, we also do application monitoring and business intelligence.

        

Through this hosted environment, MetricFire works to boost the unique features of the open source projects to give you more functionality than the original products. Below are some of the MetricFire features at a glance: 

Cloud and on Premise Monitoring

Hosted Prometheus

Hosted Graphite

Grafana Dashboards

        

Whether to use Prometheus or Graphite is a great question. We’ve looked deeper into this decision in our blog article, Prometheus or Graphite. While Prometheus is a newer software that has a multidimensional data structure, Graphite is robust and sufficient. The key thing to remember is that Hosted Graphite by MetricFire is more than just Graphite. Our Hosted Graphite product actually adds data dimensionality and better data storage.

       

The benefits of MetricFire are:

    

No vendor lock-ins
MetricFire allows you to request for a full export at any time, because you will always own the data you input. You get all the benefits of an open-source tool with the stability and security of a SaaS tool. 
      

Easy Budgeting
A structured pricing model allows you to save time and work within your budget. The predictability and transparent pricing allows you to keep your costs in check and plan for the future.
       

Transparency
MetricFire works transparently on all aspects of their operations of SaaS system monitoring. You can see their own internal system metrics at their public status page.
      

Robust Support
Technical support is provided by engineers for engineers, so you can expect detailed and relevant answers to your queries. 

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
Want to read more?

Related articles

Do more with MetricFire