Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update config spec default values #7340

Merged
merged 3 commits into from
Aug 14, 2020
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 2 additions & 3 deletions mysql/assets/configuration/spec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ files:
value:
type: string
example: localhost
default: None
default: null

- name: user
description: |
Expand All @@ -42,7 +42,7 @@ files:
value:
type: string
example: datadog
default: None
default: null

- name: pass
description: |
Expand All @@ -58,7 +58,6 @@ files:
value:
type: number
example: 3306
default: None

- name: sock
description: |
Expand Down
6 changes: 3 additions & 3 deletions mysql/datadog_checks/mysql/data/conf.yaml.example
Original file line number Diff line number Diff line change
Expand Up @@ -25,14 +25,14 @@ init_config:
#
instances:

## @param host - string - optional - default: None
## @param host - string - optional
## MySQL host to connect to.
## NOTE: Even if the host is "localhost", the agent connects to MySQL using TCP/IP, unless you also
## provide a value for the sock key (below).
#
- host: localhost

## @param user - string - optional - default: None
## @param user - string - optional
## Username used to connect to MySQL.
#
user: datadog
Expand All @@ -42,7 +42,7 @@ instances:
#
pass: <PASS>

## @param port - number - optional - default: None
## @param port - number - optional - default: 3306
## Port to use when connecting to MySQL.
#
port: 3306
Expand Down