Added collect_default_metrics: true to kafka.d/conf.yaml
Without that the Kafka Integration doesnt receive data from Kafka brokers.
MODIFY
spec/integrations/kafka_spec.rb
spec/integrations/kafka_spec.rb
@@ -13,6 +13,7 @@ describe 'datadog::kafka' do
init_config:
is_jmx: true
+ collect_default_metrics: true
# Metrics collected by this check. You should not have to modify this.
conf:
@@ -208,6 +209,7 @@ describe 'datadog::kafka' do
init_config:
is_jmx: true
+ collect_default_metrics: true
# Metrics collected by this check. You should not have to modify this.
conf:

MODIFY
templates/default/kafka.yaml.erb
templates/default/kafka.yaml.erb
<% if @version == 2 %>
init_config:
is_jmx: true
+ collect_default_metrics: true
# Metrics collected by this check. You should not have to modify this.
conf:
@@ -377,6 +378,7 @@ init_config:
<% else %>
init_config:
is_jmx: true
+ collect_default_metrics: true
# Metrics collected by this check. You should not have to modify this.
conf:

MODIFY
test/integration/datadog_kafka/serverspec/kafka_spec.rb
test/integration/datadog_kafka/serverspec/kafka_spec.rb
@@ -30,6 +30,7 @@ describe file(AGENT_CONFIG) do
'logs' => nil,
init_config: {
is_jmx: true,
+ collect_default_metrics: true,
conf: [
{
include: {

Added collect_default_metrics: true to kafka.d/conf.yaml (#786)

Without that the Kafka Integration doesnt receive data from Kafka brokers.