{"id":4518,"date":"2022-07-21T06:00:30","date_gmt":"2022-07-21T13:00:30","guid":{"rendered":"https:\/\/devblogs.microsoft.com\/cosmosdb\/?p=4518"},"modified":"2022-07-18T16:31:42","modified_gmt":"2022-07-18T23:31:42","slug":"monitor-azure-managed-instance-for-apache-cassandra-using-dynatrace","status":"publish","type":"post","link":"https:\/\/devblogs.microsoft.com\/cosmosdb\/monitor-azure-managed-instance-for-apache-cassandra-using-dynatrace\/","title":{"rendered":"Monitor Azure Managed Instance for Apache Cassandra using Dynatrace"},"content":{"rendered":"<p>There is now a new extension from Dynatrace that provides fully app-centric Cassandra performance monitoring for <a href=\"https:\/\/azure.microsoft.com\/services\/managed-instance-apache-cassandra\/\" target=\"_blank\" rel=\"noopener\">Azure Managed Instance for Apache Cassandra<\/a>.<\/p>\n<h2><span style=\"font-size: 18pt;\">Monitor your clusters with Dynatrace Prometheus Extension<\/span><\/h2>\n<p>Dynatrace Prometheus Extension allows you to monitor and analyze the activity of your Azure Managed Instance for Apache Cassandra clusters, from both data and infrastructure perspectives. It helps visualize your cluster&#8217;s health and shows metrics like CPU, connectivity, request latency, suspension, and garbage collection time. Additionally, with <a href=\"https:\/\/www.dynatrace.com\/platform\/artificial-intelligence\/\" target=\"_blank\" rel=\"noopener\">Davis<\/a>, it automatically detects performance problems and provides precise root cause analysis.<\/p>\n<p>Once you <a href=\"https:\/\/www.dynatrace.com\/support\/help\/shortlink\/azure-managed-instance-for-apache-cassandra\" target=\"_blank\" rel=\"noopener\">deploy the Dynatrace Extension<\/a> to monitor your Azure Managed Instance for Apache Cassandra cluster, Dynatrace begins ingesting those metrics and correlates that data with the entire stack. In addition, the extension adds a preconfigured dashboard, topology entities and relationships and entity screens to your environment. The preconfigured dashboard named \u201cCassandra Prometheus Dashboard\u201d can be used as a launch point for your Cassandra monitoring.<\/p>\n<p><figure id=\"attachment_4519\" aria-labelledby=\"figcaption_attachment_4519\" class=\"wp-caption aligncenter\" ><a href=\"https:\/\/devblogs.microsoft.com\/cosmosdb\/wp-content\/uploads\/sites\/52\/2022\/07\/Picture1.png\"><img decoding=\"async\" class=\"wp-image-4519 size-full\" src=\"https:\/\/devblogs.microsoft.com\/cosmosdb\/wp-content\/uploads\/sites\/52\/2022\/07\/Picture1.png\" alt=\"Cassandra Prometheus Dashboard\" width=\"933\" height=\"855\" srcset=\"https:\/\/devblogs.microsoft.com\/cosmosdb\/wp-content\/uploads\/sites\/52\/2022\/07\/Picture1.png 933w, https:\/\/devblogs.microsoft.com\/cosmosdb\/wp-content\/uploads\/sites\/52\/2022\/07\/Picture1-300x275.png 300w, https:\/\/devblogs.microsoft.com\/cosmosdb\/wp-content\/uploads\/sites\/52\/2022\/07\/Picture1-768x704.png 768w\" sizes=\"(max-width: 933px) 100vw, 933px\" \/><\/a><figcaption id=\"figcaption_attachment_4519\" class=\"wp-caption-text\">Cassandra Prometheus Dashboard<\/figcaption><\/figure><\/p>\n<p>&nbsp;<\/p>\n<p>The main dashboard provides a quick snapshot of your cluster&#8217;s performance. You can easily dive deeper into both infrastructure metrics (Cluster, Datacenter, Racks, and Nodes) and Data metrics (Keyspaces and Tables).<\/p>\n<p>In addition to the built-in views, Dynatrace provides data analysis tools. This greatly enhances your ability to query and chart metrics. For example, the Dynatrace Data explorer enables you to:<\/p>\n<ul>\n<li>Analyze multidimensional metrics, whether built into Dynatrace or ingested from other sources like <a href=\"https:\/\/www.dynatrace.com\/support\/help\/shortlink\/azure-monitor-integration\" target=\"_blank\" rel=\"noopener\">Azure Monitor<\/a>.<\/li>\n<li>Choose from any of <a href=\"https:\/\/www.dynatrace.com\/support\/help\/shortlink\/explorer\" target=\"_blank\" rel=\"noopener\">seven<\/a> visualizations: stacked graph, heatmap, graph, pie, single value, table, or top list.<\/li>\n<li>Add your visualization right to your dashboards for easy access and sharing.<\/li>\n<li>Provide a foundation for metric calculation in charts on dashboards.<\/li>\n<\/ul>\n<p>Using the Dynatrace Data explorer, you can easily analyze metrics, such as, client read\/write latency by Cassandra nodes, disk space usage by keyspaces and table metric such as cache hits and misses.<\/p>\n<h2><span style=\"font-size: 18pt;\">Precise AI-powered answers provided by Dynatrace Davis<\/span><\/h2>\n<p>Analyzing data for fast troubleshooting can be very complex due to the large amounts of data and variety of data sources. Dynatrace Davis\u00ae, the AI causation engine uses high-fidelity metrics, traces, logs, and real user data that are mapped to a unified entity model rather than processing simple time-series data. This gives operations teams specific answers to help prioritize and identify the root cause with end-to-end visibility down to the code level to resolve the problem.<\/p>\n<p>Below is an example Dynatrace problem card, which shows how spike in Cassandra Write Latency impacts your application:<\/p>\n<p><figure id=\"attachment_4520\" aria-labelledby=\"figcaption_attachment_4520\" class=\"wp-caption aligncenter\" ><a href=\"https:\/\/devblogs.microsoft.com\/cosmosdb\/wp-content\/uploads\/sites\/52\/2022\/07\/Picture2.png\"><img decoding=\"async\" class=\"size-large wp-image-4520\" src=\"https:\/\/devblogs.microsoft.com\/cosmosdb\/wp-content\/uploads\/sites\/52\/2022\/07\/Picture2-1024x357.png\" alt=\"Dynatrace Problem Card Example image\" width=\"640\" height=\"223\" srcset=\"https:\/\/devblogs.microsoft.com\/cosmosdb\/wp-content\/uploads\/sites\/52\/2022\/07\/Picture2-1024x357.png 1024w, https:\/\/devblogs.microsoft.com\/cosmosdb\/wp-content\/uploads\/sites\/52\/2022\/07\/Picture2-300x104.png 300w, https:\/\/devblogs.microsoft.com\/cosmosdb\/wp-content\/uploads\/sites\/52\/2022\/07\/Picture2-768x267.png 768w, https:\/\/devblogs.microsoft.com\/cosmosdb\/wp-content\/uploads\/sites\/52\/2022\/07\/Picture2.png 1100w\" sizes=\"(max-width: 640px) 100vw, 640px\" \/><\/a><figcaption id=\"figcaption_attachment_4520\" class=\"wp-caption-text\">Dynatrace Problem Card Example image<\/figcaption><\/figure><\/p>\n<p>&nbsp;<\/p>\n<h2><span style=\"font-size: 18pt;\">Start monitoring with Dynatrace today<\/span><\/h2>\n<p><a href=\"https:\/\/www.dynatrace.com\/\">Dynatrace is a Microsoft Partner<\/a>, that offers a platform to monitor all your Azure Managed Instance for Apache Cassandra instances.\u00a0 To get started with Dynatrace, review their technical\u00a0<a href=\"https:\/\/www.dynatrace.com\/support\/help\/shortlink\/azure-managed-instance-for-apache-cassandra\">documentation<\/a> or sign up for a free 15-day <a href=\"https:\/\/www.dynatrace.com\/trial\/\">trial<\/a>.<\/p>\n<h2><span style=\"font-size: 18pt;\">Options to run Cassandra workloads on Azure<\/span><\/h2>\n<p>Azure offers two managed service for Cassandra data:<\/p>\n<ol>\n<li><a href=\"https:\/\/azure.microsoft.com\/services\/managed-instance-apache-cassandra\/\" target=\"_blank\" rel=\"noopener\">Azure Managed Instance for Apache Cassandra<\/a> provides the ability to provision managed native Apache Cassandra clusters. This comes with automated deployment and scaling operations. You can accelerate hybrid scenarios and reduce ongoing maintenance.<\/li>\n<li><a href=\"https:\/\/docs.microsoft.com\/azure\/cosmos-db\/cassandra-introduction\" target=\"_blank\" rel=\"noopener\">The Azure Cosmos DB Cassandra API<\/a> is an implementation of the Wire Protocol defined by Apache for the\u00a0<a href=\"https:\/\/cassandra.apache.org\/\" target=\"_blank\" rel=\"noopener\">Cassandra<\/a>\u00a0database, which runs on top of\u00a0<a href=\"https:\/\/docs.microsoft.com\/azure\/cosmos-db\/introduction\" target=\"_blank\" rel=\"noopener\">Azure Cosmos DB. <\/a>This allows open-source Apache Cassandra drivers and applications to target Azure Cosmos DB and use it as a cloud-native, fully managed NoSQL database service with global distribution,\u00a0<a href=\"https:\/\/docs.microsoft.com\/azure\/cosmos-db\/manage-scale-cassandra\" target=\"_blank\" rel=\"noopener\">elastic scalability<\/a>, and\u00a0<a href=\"https:\/\/docs.microsoft.com\/azure\/cosmos-db\/cassandra-introduction\" target=\"_blank\" rel=\"noopener\">many other features<\/a>.<\/li>\n<\/ol>\n<p>You can refer to <a href=\"https:\/\/docs.microsoft.com\/azure\/managed-instance-apache-cassandra\/compare-cosmosdb-managed-instance\" target=\"_blank\" rel=\"noopener\">this<\/a> article to understand the differences between the two offerings and also use it as a recommendation guide.<\/p>\n<h2><span style=\"font-size: 18pt;\">More to explore<\/span><\/h2>\n<p><a href=\"https:\/\/docs.microsoft.com\/azure\/managed-instance-apache-cassandra\/monitor-clusters\" target=\"_blank\" rel=\"noopener\">Azure Monitor | Microsoft Docs<\/a><\/p>\n<p><a href=\"https:\/\/docs.microsoft.com\/azure\/managed-instance-apache-cassandra\/visualize-prometheus-grafana\" target=\"_blank\" rel=\"noopener\">Configure Grafana to visualize metrics emitted from Azure Managed Instance for Apache Cassandra | Microsoft Docs<\/a><\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n","protected":false},"excerpt":{"rendered":"<p>There is now a new extension from Dynatrace that provides fully app-centric Cassandra performance monitoring for Azure Managed Instance for Apache Cassandra. Monitor your clusters with Dynatrace Prometheus Extension Dynatrace Prometheus Extension allows you to monitor and analyze the activity of your Azure Managed Instance for Apache Cassandra clusters, from both data and infrastructure perspectives. [&hellip;]<\/p>\n","protected":false},"author":88168,"featured_media":1094,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"image","meta":{"_acf_changed":false,"footnotes":""},"categories":[16,1821],"tags":[],"class_list":["post-4518","post","type-post","status-publish","format-image","has-post-thumbnail","hentry","category-cassandra-api","category-managed-instance-apache-cassandra","post_format-post-format-image"],"acf":[],"blog_post_summary":"<p>There is now a new extension from Dynatrace that provides fully app-centric Cassandra performance monitoring for Azure Managed Instance for Apache Cassandra. Monitor your clusters with Dynatrace Prometheus Extension Dynatrace Prometheus Extension allows you to monitor and analyze the activity of your Azure Managed Instance for Apache Cassandra clusters, from both data and infrastructure perspectives. [&hellip;]<\/p>\n","_links":{"self":[{"href":"https:\/\/devblogs.microsoft.com\/cosmosdb\/wp-json\/wp\/v2\/posts\/4518","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/devblogs.microsoft.com\/cosmosdb\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/devblogs.microsoft.com\/cosmosdb\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/cosmosdb\/wp-json\/wp\/v2\/users\/88168"}],"replies":[{"embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/cosmosdb\/wp-json\/wp\/v2\/comments?post=4518"}],"version-history":[{"count":0,"href":"https:\/\/devblogs.microsoft.com\/cosmosdb\/wp-json\/wp\/v2\/posts\/4518\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/cosmosdb\/wp-json\/wp\/v2\/media\/1094"}],"wp:attachment":[{"href":"https:\/\/devblogs.microsoft.com\/cosmosdb\/wp-json\/wp\/v2\/media?parent=4518"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/cosmosdb\/wp-json\/wp\/v2\/categories?post=4518"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/cosmosdb\/wp-json\/wp\/v2\/tags?post=4518"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}