Skip to content

What's your UNS maturity level? Get a custom report: Take the UNS Maturity Assessment

HiveMQ Monitoring: The built-in integration with a hosted Graphite Service

by HiveMQ Team
5 min read

As we have seen in one of our last posts, monitoring of production systems is very important to build reliable services and to react quickly to unforseen events. HiveMQ has a built-in integration for the awesome Graphite monitoring and graphing tool.

In previous versions HiveMQ worked seamlessly with any given Graphite server installation, which allows any metrics name you chose. Some hosted Graphite solutions like HostedGraphite need an API Key as a special prefix for your actual metrics to work, though.

That means a metric like ActiveClients would become API_KEY.ActiveClients.

In previous HiveMQ versions this was hard to achieve with the built-in Graphite integration. Since HiveMQ 1.4.1. it’s possible to add any prefix you like to your actual metrics. You can prefix API-Keys or use different prefixes for different HiveMQ cluster nodes to distinguish the HiveMQ instances when monitoring.

If you are evaluating HiveMQ as your MQTT broker of choice, you may find it useful to use a hosted Graphite solution to test the monitoring capabilities of HiveMQ instead of setting up your own Graphite server. We had very good results with HostedGraphite which you can test for free for 15 days.

Set up an hosted Graphite account

  1. Go to hostedgraphite.com and register your account.

  2. Copy your API Key

That was pretty much it on the hosted Graphite side.

Configuring HiveMQ

Set the following properties:

graphite.enabled=true
graphite.interval=180
graphite.url=carbon.hostedgraphite.com:2003
graphite.metricPrefix=YOUR_API_KEY

Be sure to set the API Key as the graphite.metricPrefix.

Now start HiveMQ and you should see that HiveMQ publishes the metrics to the hosted Graphite instance. You can now create dashboards on your Graphite instance and play around with the statistics published by HiveMQ. Please note, that it could take a few minutes until the first metrics appear in your Graphite installation.

Now be sure to set up your Collectl instance on your HiveMQ server to ensure you can measure what’s going on (in terms of CPU usage / memory usage / IO / etc) on your server instance.

Conclusion

We have seen that it’s a matter of minutes to set up the monitoring for HiveMQ with the help of a hosted Graphite instance. This is especially useful when you can’t or don’t want to host your own Graphite installation. Monitoring is a critical part of operating any server software. No excuses, monitor your HiveMQ instances today with your own Graphite installation or with a hosted one.

HiveMQ Team

The HiveMQ team loves writing about MQTT, Sparkplug, Unified Namespace (UNS), Industrial IoT protocols, IoT Data Streaming, how to deploy our platform, and more. We focus on industries ranging from energy, to transportation and logistics, to automotive manufacturing. Our experts are here to help, contact us with any questions.

Related content:

It’s Your Time to Shine: Apply to Win an MQTT Innovation Award

HiveMQ Innovation Awards 2025 are back. A tribute to what our customers have achieved with the HiveMQ platform & MQTT across industries.

Blog

Managing HiveMQ Releases and Support: What You Need to Know

Understand HiveMQ releases, support windows, and how to plan upgrades for secure, reliable, and high-performing deployments.

Blog

How HiveMQ’s ISO 27001 and SOC 2 Certifications Support GxP Compliance

Learn how HiveMQ’s ISO 27001 and SOC 2 certifications helps companies meet GxP compliance for secure, reliable Industrial IoT data streaming.

Blog

G2 Recognizes HiveMQ as One of the Top 25 Best German Software Companies for 2025

HiveMQ is recognized by G2 as one of the top 25 Best German Software Company 2025 in Message Queue (MQ) category, validating our MQTT-powered solutions.

Blog

Visualizing HiveMQ Cluster and Node Metrics with Grafana

Gain visibility into your HiveMQ clusters, nodes, and extensions with Grafana’s powerful visualizations for performance and health monitoring.

Blog

2024 in Review: How HiveMQ Fueled IoT Innovation Across Industries

Explore how HiveMQ powered IoT innovation across industries in 2024 with its products. Dive into key highlights and accomplishments this year.

Blog

HiveMQ Earns Top Marks from Customers on G2

HiveMQ earns multiple G2 badges, including Best Support & High Performer, highlighting leadership & customer satisfaction in MQ & IoT Management categories.

Blog

Customer Onboarding at HiveMQ: A Path to Transforming Businesses

Learn how HiveMQ's customer onboarding process helps customers unlock the full potential of our MQTT platform, align strategies, and ensure success with our expert-guided onboarding sessions.

Blog

The Reviews Are In: Customers Rave About HiveMQ’s Support and Performance

HiveMQ received great customer reviews & accolades on G2 validating how we are delivering secure, scalable MQTT technology coupled with great user experience.

Blog

Boosting MQTT Broker Efficiency with Improved Threading

Learn how HiveMQ boosts its MQTT broker efficiency with improved threading.

Blog

HiveMQ Joins Open Industry 4.0 Alliance to Share MQTT Expertise

HiveMQ announced it has joined the Open Industry 4.0 Alliance to collaborate and connect with technology companies and help customers transition to the Industrial Internet of Things (IIoT).

News

HiveMQ Achieves SOC 2 Type 1 Compliance

HiveMQ has earned System and Organization Controls (SOC) 2 Type I compliance, validating the company's focus on the design and implementation of security controls.

News

How HiveMQ Support Delivers Exceptional Customer Experience

Explore how HiveMQ achieved a 97% CSAT and uncover best practices and principles that help the support team deliver an exceptional customer experience.

Blog

HiveMQ 2023 Year-in-Review: Democratizing MQTT Solutions

As 2023 comes to a close, we’re reflecting on how far we’ve come in our mission to build a central nervous system to help businesses connect and manage their IoT devices and data.

Blog

Integrating HiveMQ Platform with a Well-Architected Framework

Explore the unique features of the HiveMQ platform that make it a great fit for a Well-Architected Framework.

Blog

HiveMQ and Eclipse Ditto: Friends or Foes?

Merge MQTT's power for Digital Twins with Eclipse Ditto & HiveMQ. Maximize IoT potential; get various business or mobile applications data seamlessly.

Blog

HiveMQ Feature and Specification Data Sheet

Download this data sheet to get the complete overview about all the latest HiveMQ features

Resource

HiveMQ Data Sheet - General Overview

Download this data sheet to learn why HiveMQ is the most trusted MQTT platform.

Resource

USCAR Data Sheet

Download this data sheet to discover the power of HiveMQ's MQTT solutions to support the USCAR Roadmap.

Resource

Automotive Manufacturing Data Sheet

Download this data sheet to discover the power of HiveMQ's MQTT solutions for the automotive manufacturing industry.

Resource

HiveMQ Data Sheet - Smart Manufacturing

Download this Manufacturing data sheet to learn why HiveMQ is the trusted MQTT platform for Industry 4.0.

Resource

HiveMQ Data Sheet - HiveMQ Edge

Download this data sheet to learn how HiveMQ Edge enables interoperability between OT and IT systems.

Resource

Achieving 200 Million Concurrent Connections with HiveMQ

A technical whitepaper for IoT and IIoT showcasing the capability of the HiveMQ MQTT broker, which can scale up to 200 million concurrent connections.

Resource

HiveMQ Data Sheet - MQTT and Kafka

Download the HiveMQ Kafka data sheet and learn how to architect scalable IoT systems with MQTT and Kafka.

Resource

2023 Buyer’s Guide: MQTT Platforms

Looking for the right MQTT Broker for your IoT or IIoT project? Here’s a guide on how to choose one for reliable, scalable, & secure data movement.

Resource

HiveMQ Data Sheet - HiveMQ Cloud

Download this data sheet to learn all about HiveMQ Cloud, the fully managed cloud MQTT platform.

Resource

HiveMQ Brochure - General Overview

Download this four page brochure to learn why HiveMQ is the most trusted MQTT platform.

Resource

Configuring HiveMQ Control Center Authentication and Authorization with Microsoft Active Directory

Learn how to configure HiveMQ's Control Center to authenticate and authorize users through Microsoft Active Directory.

Blog

HiveMQ Data Sheet - Connected Car

Download this Connected Car data sheet to learn why HiveMQ is the trusted MQTT platform for connected vehicles.

Resource

The Ultimate Guide on How to Use MQTT with Node.js

Learn how to use MQTT in Node.js with the help of use cases and advanced examples covering implementation of QoS, Topic Alias, Debugging, etc.

Blog
HiveMQ logo
Review HiveMQ on G2