|
14 | 14 | # $username |
15 | 15 | # The username for the datadog user |
16 | 16 | # $ssl |
17 | | -# Boolean to enable SSL |
| 17 | +# This option determines whether or not and with what priority a secure SSL TCP/IP connection |
| 18 | +# is negotiated with the server. There are six modes: |
| 19 | +# - `disable`: Only tries a non-SSL connection. |
| 20 | +# - `allow`: First tries a non-SSL connection; if if fails, tries an SSL connection. |
| 21 | +# - `prefer`: First tries an SSL connection; if it fails, tries a non-SSL connection. |
| 22 | +# - `require`: Only tries an SSL connection. If a root CA file is present, verifies the certificate in |
| 23 | +# the same way as if verify-ca was specified. |
| 24 | +# - `verify-ca`: Only tries an SSL connection, and verifies that the server certificate is issued by a |
| 25 | +# trusted certificate authority (CA). |
| 26 | +# - `verify-full`: Only tries an SSL connection and verifies that the server certificate is issued by a |
| 27 | +# trusted CA and that the requested server host name matches the one in the certificate. |
| 28 | +# |
| 29 | +# For a detailed description of how these options work see https://www.postgresql.org/docs/current/libpq-ssl.html |
18 | 30 | # $use_psycopg2 |
19 | 31 | # Boolean to flag connecting to postgres with psycopg2 instead of pg8000. |
20 | 32 | # Warning, psycopg2 doesn't support ssl mode. |
|
72 | 84 | # dbname: 'postgres' |
73 | 85 | # username: 'datadog' |
74 | 86 | # password: 'some_pass' |
75 | | -# ssl: false |
| 87 | +# ssl: 'allow' |
76 | 88 | # custom_metrics: |
77 | 89 | # a_custom_query: |
78 | 90 | # query: 'select tag_column, %s from table' |
|
88 | 100 | String $dbname = 'postgres', |
89 | 101 | Variant[String, Integer] $port = '5432', |
90 | 102 | String $username = 'datadog', |
91 | | - Boolean $ssl = false, |
| 103 | + String $ssl = 'allow', |
92 | 104 | Boolean $use_psycopg2 = false, |
93 | 105 | Boolean $collect_function_metrics = false, |
94 | 106 | Boolean $collect_count_metrics = false, |
|
0 commit comments