chore(telegraf): Move plugin documentation out of subdirectories #240
test.yml
on: pull_request
Detect changed content
21s
Matrix: test-codeblocks
Code Block Test Summary
Annotations
10 errors, 12 warnings, and 5 notices
|
Lint code blocks:
content/telegraf/v1/input-plugins/win_eventlog.md#L152
toml: Unterminated multi-line string at row 2, col 20, pos 52:
1: eventlog_name = "Application"
2> xpath_query = '''
^
|
|
Lint code blocks:
content/telegraf/v1/input-plugins/postgresql_extensible.md#L146
toml: Unknown escape character: 10 at row 17, col 71, pos 509:
16: [[inputs.postgresql_extensible.query]]
17> sqlquery="select setting as max_connections from pg_settings where \
^
18: name='max_connections'"
|
|
Lint code blocks:
content/telegraf/v1/input-plugins/opcua_listener.md#L548
toml: Unexpected character, expecting string, number, datetime, boolean, inline array or inline table at row 33, col 31, pos 835:
32: node_ids = [
33> {identifier="Sensor1"}, // default values will be used for namespace and identifier_type
^
34: {namespace="2", identifier="TemperatureSensor"}, // default values will be used for identifier_type
|
|
Lint code blocks:
content/telegraf/v1/input-plugins/jti_openconfig_telemetry.md#L80
toml: Can't redefine existing key at row 34, col 4, pos 1322:
33: "/interfaces",
34> ]
^
35:
|
|
Lint code blocks:
content/telegraf/v1/input-plugins/docker.md#L178
json: Unexpected token 'd', " docker_lab"... is not valid JSON
|
|
Lint code blocks:
content/telegraf/v1/input-plugins/docker.md#L169
json: Unexpected token 'd', " docker_lab"... is not valid JSON
|
|
Lint code blocks:
content/telegraf/v1/input-plugins/ctrlx_datalayer.md#L379
json: Unexpected non-whitespace character after JSON at position 40 (line 1 column 41)
|
|
Lint code blocks:
content/telegraf/v1/input-plugins/ctrlx_datalayer.md#L352
json: Unexpected non-whitespace character after JSON at position 33 (line 1 column 34)
|
|
Lint code blocks:
content/telegraf/v1/input-plugins/ctrlx_datalayer.md#L325
json: Unexpected non-whitespace character after JSON at position 43 (line 1 column 44)
|
|
Lint code blocks:
content/telegraf/v1/input-plugins/bind.md#L87
json: Unexpected token 's', "statistics"... is not valid JSON
|
|
Detect changed content
Node.js 20 actions are deprecated. The following actions are running on Node.js 20 and may not work as expected: actions/checkout@v4, actions/setup-node@v4. Actions will be forced to run with Node.js 24 by default starting June 2nd, 2026. Node.js 20 will be removed from the runner on September 16th, 2026. Please check if updated versions of these actions are available that support Node.js 24. To opt into Node.js 24 now, set the FORCE_JAVASCRIPT_ACTIONS_TO_NODE24=true environment variable on the runner or in your workflow file. Once Node.js 24 becomes the default, you can temporarily opt out by setting ACTIONS_ALLOW_USE_UNSECURE_NODE_VERSION=true. For more information see: https://github.blog/changelog/2025-09-19-deprecation-of-node-20-on-github-actions-runners/
|
|
Lint code blocks
Node.js 20 actions are deprecated. The following actions are running on Node.js 20 and may not work as expected: actions/checkout@v4, actions/setup-node@v4. Actions will be forced to run with Node.js 24 by default starting June 2nd, 2026. Node.js 20 will be removed from the runner on September 16th, 2026. Please check if updated versions of these actions are available that support Node.js 24. To opt into Node.js 24 now, set the FORCE_JAVASCRIPT_ACTIONS_TO_NODE24=true environment variable on the runner or in your workflow file. Once Node.js 24 becomes the default, you can temporarily opt out by setting ACTIONS_ALLOW_USE_UNSECURE_NODE_VERSION=true. For more information see: https://github.blog/changelog/2025-09-19-deprecation-of-node-20-on-github-actions-runners/
|
|
Lint code blocks:
content/telegraf/v1/input-plugins/ipmi_sensor.md#L183
bash: line 4: `telegraf ALL=(root) NOPASSWD: IPMITOOL'
|
|
Lint code blocks:
content/telegraf/v1/input-plugins/ipmi_sensor.md#L183
bash: line 4: syntax error near unexpected token `('
|
|
Lint code blocks:
content/telegraf/v1/input-plugins/intel_powerstat.md#L92
bash: line 2: `sudo setcap cap_sys_rawio,cap_dac_read_search+ep <path_to_telegraf_binary>'
|
|
Lint code blocks:
content/telegraf/v1/input-plugins/intel_powerstat.md#L92
bash: line 2: syntax error near unexpected token `newline'
|
|
Lint code blocks:
content/telegraf/v1/input-plugins/intel_powerstat.md#L70
bash: line 1: `sudo setcap cap_sys_admin+ep <path_to_telegraf_binary>'
|
|
Lint code blocks:
content/telegraf/v1/input-plugins/intel_powerstat.md#L70
bash: line 1: syntax error near unexpected token `newline'
|
|
Lint code blocks:
content/telegraf/v1/input-plugins/fail2ban.md#L91
bash: line 3: `|- Filter'
|
|
Lint code blocks:
content/telegraf/v1/input-plugins/fail2ban.md#L91
bash: line 3: syntax error near unexpected token `|'
|
|
Lint code blocks:
content/telegraf/v1/input-plugins/exec.md#L117
bash: line 1: `$host.UI.RawUI.BufferSize = new-object System.Management.Automation.Host.Size(1024,50)'
|
|
Lint code blocks:
content/telegraf/v1/input-plugins/exec.md#L117
bash: line 1: syntax error near unexpected token `('
|
|
Suggest code block tests
Code block tests suggested for: telegraf
|
|
Lint code blocks:
content/telegraf/v1/output-plugins/mqtt.md#L216
normalized before parse: elide marker comment-out
|
|
Lint code blocks:
content/telegraf/v1/output-plugins/mqtt.md#L173
normalized before parse: elide marker comment-out
|
|
Lint code blocks:
content/telegraf/v1/input-plugins/openstack.md#L132
normalized before parse: elide marker comment-out
|
|
Lint code blocks:
content/telegraf/v1/input-plugins/mqtt_consumer.md#L264
normalized before parse: elide marker comment-out
|