<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>question Additional Ambari metrics - Kafka in Support Questions</title>
    <link>https://community.cloudera.com/t5/Support-Questions/Additional-Ambari-metrics-Kafka/m-p/150590#M113092</link>
    <description>&lt;P&gt;I'm looking for a way to integrate some of the Kafka JMX metrics into Ambari monitoring and alerting if possible. The installation I will be working with is HDP 2.3.4, but at the moment I'm looking at the 2.4 sandbox. In the sandbox, I see these two files which are very similar:&lt;/P&gt;&lt;P&gt;/var/lib/ambari-server/resources/stacks/HDP/2.3/services/KAFKA/metrics.json &lt;/P&gt;&lt;P&gt;/var/lib/ambari-server/resources/common-services/KAFKA/0.8.1.2.2/metrics.json &lt;/P&gt;&lt;P&gt;They appear to be for collecting JMX metrics, but I'm not sure how to take advantage of this. Is it possible?&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;</description>
    <pubDate>Mon, 16 May 2016 22:30:43 GMT</pubDate>
    <dc:creator>james_jones</dc:creator>
    <dc:date>2016-05-16T22:30:43Z</dc:date>
    <item>
      <title>Additional Ambari metrics - Kafka</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Additional-Ambari-metrics-Kafka/m-p/150590#M113092</link>
      <description>&lt;P&gt;I'm looking for a way to integrate some of the Kafka JMX metrics into Ambari monitoring and alerting if possible. The installation I will be working with is HDP 2.3.4, but at the moment I'm looking at the 2.4 sandbox. In the sandbox, I see these two files which are very similar:&lt;/P&gt;&lt;P&gt;/var/lib/ambari-server/resources/stacks/HDP/2.3/services/KAFKA/metrics.json &lt;/P&gt;&lt;P&gt;/var/lib/ambari-server/resources/common-services/KAFKA/0.8.1.2.2/metrics.json &lt;/P&gt;&lt;P&gt;They appear to be for collecting JMX metrics, but I'm not sure how to take advantage of this. Is it possible?&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;</description>
      <pubDate>Mon, 16 May 2016 22:30:43 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Additional-Ambari-metrics-Kafka/m-p/150590#M113092</guid>
      <dc:creator>james_jones</dc:creator>
      <dc:date>2016-05-16T22:30:43Z</dc:date>
    </item>
    <item>
      <title>Re: Additional Ambari metrics - Kafka</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Additional-Ambari-metrics-Kafka/m-p/150591#M113093</link>
      <description>&lt;P&gt;These files have stuff like this in them, so how do I get this info in Ambari?&lt;/P&gt;&lt;PRE&gt;{
  "KAFKA_BROKER": {
    "Component": [
      {
        "type": "ganglia",
        "metrics": {
          "default": {
            "metrics/jvm/uptime": {
              "metric": "jvm.uptime",
              "pointInTime": true,
              "temporal": true
            },

/* -- SNIP -- */
            "metrics/kafka/server/BrokerTopicMetrics/AllTopicsBytesInPerSec/count": {
              "metric": "kafka.server.BrokerTopicMetrics.BytesInPerSec.count",
              "pointInTime": true,
              "temporal": true
            },
            "metrics/kafka/server/BrokerTopicMetrics/AllTopicsBytesOutPerSec/1MinuteRate": {
              "metric": "kafka.server.BrokerTopicMetrics.BytesOutPerSec.1MinuteRate",
              "pointInTime": true,
              "temporal": true
            },
            "metrics/kafka/server/BrokerTopicMetrics/AllTopicsBytesOutPerSec/5MinuteRate": {
              "metric": "kafka.server.BrokerTopicMetrics.BytesOutPerSec.5MinuteRate",
              "pointInTime": true,
              "temporal": true
            },
            "metrics/kafka/server/BrokerTopicMetrics/AllTopicsBytesOutPerSec/15MinuteRate": {
              "metric": "kafka.server.BrokerTopicMetrics.BytesOutPerSec.15MinuteRate",
              "pointInTime": true,
              "temporal": true
            },
            "metrics/kafka/server/BrokerTopicMetrics/AllTopicsBytesOutPerSec/meanRate": {
              "metric": "kafka.server.BrokerTopicMetrics.BytesOutPerSec.meanRate",
              "pointInTime": true,
              "temporal": true
            },
            "metrics/kafka/server/BrokerTopicMetrics/AllTopicsBytesOutPerSec/count": {
              "metric": "kafka.server.BrokerTopicMetrics.BytesOutPerSec.count",
              "pointInTime": true,
              "temporal": true
            },
            "metrics/kafka/controller/KafkaController/ActiveControllerCount": {
              "metric": "kafka.controller.KafkaController.ActiveControllerCount",
              "pointInTime": true,
              "temporal": true
            },

&lt;/PRE&gt;</description>
      <pubDate>Tue, 17 May 2016 01:41:00 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Additional-Ambari-metrics-Kafka/m-p/150591#M113093</guid>
      <dc:creator>james_jones</dc:creator>
      <dc:date>2016-05-17T01:41:00Z</dc:date>
    </item>
    <item>
      <title>Re: Additional Ambari metrics - Kafka</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Additional-Ambari-metrics-Kafka/m-p/150592#M113094</link>
      <description>&lt;P&gt;Ambari 2.2.2 comes with built in  Grafana integration so you can build a dashboard of you choice. All metrics are self discovered and no extra steps are required. &lt;/P&gt;&lt;P&gt;Adding Grafana:&lt;/P&gt;&lt;P&gt;&lt;A href="https://docs.hortonworks.com/HDPDocuments/Ambari-2.2.2.0/bk_upgrading_Ambari/content/_adding_grafana_to_ambari_metrics.html" target="_blank"&gt;https://docs.hortonworks.com/HDPDocuments/Ambari-2.2.2.0/bk_upgrading_Ambari/content/_adding_grafana_to_ambari_metrics.html&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Grafana docs:&lt;/P&gt;&lt;P&gt;&lt;A href="http://docs.hortonworks.com/HDPDocuments/Ambari-2.2.2.0/bk_Ambari_Users_Guide/content/_using_grafana.html" target="_blank"&gt;http://docs.hortonworks.com/HDPDocuments/Ambari-2.2.2.0/bk_Ambari_Users_Guide/content/_using_grafana.html&lt;/A&gt;&lt;/P&gt;&lt;P&gt;The Ambari widgets provide a service level aggregated view of the service metrics. You would need to update the metrics.json file from "/var/lib/ambari-server/resources/stacks/HDP/2.3/services/KAFKA/metrics.json", this overrides the common-services definition for HDP versions 2.3+ And then add widget from Ambari.&lt;/P&gt;&lt;P&gt;Docs for that: &lt;/P&gt;&lt;P&gt;&lt;A href="https://cwiki.apache.org/confluence/display/AMBARI/Enhanced+Service+Dashboard" target="_blank"&gt;https://cwiki.apache.org/confluence/display/AMBARI/Enhanced+Service+Dashboard&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 17 May 2016 02:04:49 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Additional-Ambari-metrics-Kafka/m-p/150592#M113094</guid>
      <dc:creator>sidwagle</dc:creator>
      <dc:date>2016-05-17T02:04:49Z</dc:date>
    </item>
    <item>
      <title>Re: Additional Ambari metrics - Kafka</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Additional-Ambari-metrics-Kafka/m-p/150593#M113095</link>
      <description>&lt;P&gt;Thanks for the info &lt;A rel="user" href="https://community.cloudera.com/users/399/swagle.html" nodeid="399"&gt;@swagle&lt;/A&gt;.&lt;/P&gt;&lt;P&gt;We were able to convince the customer to upgrade to Ambari 2.2.2. They were thrilled with the fact that you can add widgets directly in the UI, and the fact that Grafana is available is icing on the cake. Incidentally, here is the JIRA for adding this for Kafka and Storm: &lt;A href="https://issues.apache.org/jira/browse/AMBARI-14941"&gt;https://issues.apache.org/jira/browse/AMBARI-14941&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 17 May 2016 09:47:19 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Additional-Ambari-metrics-Kafka/m-p/150593#M113095</guid>
      <dc:creator>james_jones</dc:creator>
      <dc:date>2016-05-17T09:47:19Z</dc:date>
    </item>
    <item>
      <title>Re: Additional Ambari metrics - Kafka</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Additional-Ambari-metrics-Kafka/m-p/150594#M113096</link>
      <description>&lt;P&gt;KAFKA and STORM default dashboards are in the works and targeted for 2.4.0&lt;/P&gt;&lt;P&gt;However you can start visualizing these metrics with custom dashboard from 2.2.2 itself.&lt;/P&gt;</description>
      <pubDate>Tue, 17 May 2016 09:57:13 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Additional-Ambari-metrics-Kafka/m-p/150594#M113096</guid>
      <dc:creator>sidwagle</dc:creator>
      <dc:date>2016-05-17T09:57:13Z</dc:date>
    </item>
    <item>
      <title>Re: Additional Ambari metrics - Kafka</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Additional-Ambari-metrics-Kafka/m-p/150595#M113097</link>
      <description>&lt;P&gt;Hey &lt;A rel="user" href="https://community.cloudera.com/users/399/swagle.html" nodeid="399"&gt;@swagle&lt;/A&gt;..&lt;/P&gt;&lt;P&gt;Do you have any link for setting up Kafka custom dashboard in Grafana for Ambari 2.2.2?&lt;/P&gt;</description>
      <pubDate>Wed, 12 Oct 2016 00:31:17 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Additional-Ambari-metrics-Kafka/m-p/150595#M113097</guid>
      <dc:creator>ArtiW</dc:creator>
      <dc:date>2016-10-12T00:31:17Z</dc:date>
    </item>
    <item>
      <title>Re: Additional Ambari metrics - Kafka</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Additional-Ambari-metrics-Kafka/m-p/150596#M113098</link>
      <description>&lt;P&gt;Actually, Grafana allow dashboard import. You might be able to just get the dashboard definition from Ambari source and import into you existing Grafana.&lt;/P&gt;&lt;P&gt;Here is link to trunk dashboard locations:&lt;/P&gt;&lt;P&gt;&lt;A href="https://github.com/apache/ambari/tree/trunk/ambari-server/src/main/resources/common-services/AMBARI_METRICS/0.1.0/package/files/grafana-dashboards/HDP"&gt;https://github.com/apache/ambari/tree/trunk/ambari-server/src/main/resources/common-services/AMBARI_METRICS/0.1.0/package/files/grafana-dashboards/HDP&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Import is pretty straightforward: &lt;/P&gt;&lt;P&gt;&lt;A href="http://docs.grafana.org/reference/export_import/" target="_blank"&gt;http://docs.grafana.org/reference/export_import/&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 12 Oct 2016 00:53:17 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Additional-Ambari-metrics-Kafka/m-p/150596#M113098</guid>
      <dc:creator>sidwagle</dc:creator>
      <dc:date>2016-10-12T00:53:17Z</dc:date>
    </item>
  </channel>
</rss>

