File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1414# The password for the datadog user
1515# $tags
1616# Optional array of tags
17+ # $max_returned_metrics
18+ # Optional number of maximum returned metrics, default 350
1719#
1820# Sample Usage:
1921#
2628#
2729#
2830class datadog_agent::integrations::cassandra (
29- String $host = ' localhost' ,
30- Integer $port = 7199,
31- Optional[String] $user = undef ,
32- Optional[String] $password = undef ,
33- Optional[Hash] $tags = {},
31+ String $host = ' localhost' ,
32+ Integer $port = 7199,
33+ Optional[String] $user = undef ,
34+ Optional[String] $password = undef ,
35+ Optional[Hash] $tags = {},
36+ Optional[Integer] $max_returned_metrics = undef ,
3437) inherits datadog_agent::params {
3538 require ::datadog_agent
3639
Original file line number Diff line number Diff line change 8080 Boolean $extra_performance_metrics = false ,
8181 Boolean $schema_size_metrics = false ,
8282 Boolean $disable_innodb_metrics = false ,
83- Boolean $dbm = false ,
83+ Optional[ Boolean] $dbm = undef ,
8484 Optional[Array] $queries = [],
8585 Optional[Array] $instances = undef ,
8686 Optional[Array] $logs = [],
Original file line number Diff line number Diff line change @@ -11,9 +11,12 @@ instances:
1111<% if @tags.length > 0 -%>
1212 tags:
1313<%- @tags.each do |tag_name, tag_value| -%>
14- <%= tag_name %> : <%= tag_value %>
14+ - <%= tag_name %> :<%= tag_value %>
1515<% end -%>
1616<% end -%>
17+ <% if @max_returned_metrics -%>
18+ max_returned_metrics: <%= @max_returned_metrics %>
19+ <% end -%>
1720
1821init_config:
1922
You can’t perform that action at this time.
0 commit comments