Skip to content

Commit

Permalink
Merge pull request #572 from asenci/add_mysql_log
Browse files Browse the repository at this point in the history
Add logs parameter to mysql integration
  • Loading branch information
albertvaka authored Nov 7, 2019
2 parents 7d0a7eb + d87ea41 commit 1aba414
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
1 change: 1 addition & 0 deletions manifests/integrations/mysql.pp
Original file line number Diff line number Diff line change
Expand Up @@ -79,6 +79,7 @@
Boolean $disable_innodb_metrics = false,
Optional[Array] $queries = [],
Optional[Array] $instances = undef,
Optional[Array] $logs = [],
) inherits datadog_agent::params {
include datadog_agent

Expand Down
5 changes: 5 additions & 0 deletions templates/agent-conf.d/mysql.yaml.erb
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
### MANAGED BY PUPPET

<%
require 'yaml'
%>

init_config:

instances:
Expand Down Expand Up @@ -48,3 +52,4 @@ instances:

<% end -%>

<%= {'logs'=>@logs}.to_yaml %>

0 comments on commit 1aba414

Please sign in to comment.