Skip to content

Commit e591b63

Browse files
albertvakamx-psi
andauthored
Set is_jmx in solr template (#791)
Co-authored-by: Pablo Baeyens <pablo.baeyens@datadoghq.com>
1 parent 8ec514e commit e591b63

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

recipes/solr.rb

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
include_recipe 'datadog::dd-agent'
22

33
# Monitor solr
4-
# @see https://github.com/DataDog/integrations-core/blob/master/solr/conf.yaml.example Solr Example
4+
# @see https://github.com/DataDog/integrations-core/blob/master/solr/datadog_checks/solr/data/conf.yaml.example Solr Example
55
# @example
66
#
77

templates/default/solr.yaml.erb

+2
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,8 @@
55
# List of metrics to be collected by the integration
66
# Read http://docs.datadoghq.com/integrations/java/ to learn how to customize it
77
init_config:
8+
is_jmx: true
9+
collect_default_metrics: true
810
conf:
911
- include:
1012
type: searcher

0 commit comments

Comments
 (0)