1
0
Fork 0

Adding upstream version 1.34.4.

Signed-off-by: Daniel Baumann <daniel@debian.org>
This commit is contained in:
Daniel Baumann 2025-05-24 07:26:29 +02:00
parent e393c3af3f
commit 4978089aab
Signed by: daniel
GPG key ID: FBB4F0E80A80222F
4963 changed files with 677545 additions and 0 deletions

74
.github/ISSUE_TEMPLATE/BUG_REPORT.yml vendored Normal file
View file

@ -0,0 +1,74 @@
name: Bug Report
description: Create a bug report to help us improve
labels: ["bug"]
body:
- type: markdown
attributes:
value: |
Thanks for taking time to fill out this bug report! We reserve Telegraf issues for bugs for reproducible problems.
Please redirect any questions about Telegraf usage to our [Community Slack](https://influxdata.com/slack) or [Community Page](https://community.influxdata.com/) we have a lot of talented community members there who could help answer your question more quickly.
- type: textarea
id: config
attributes:
label: Relevant telegraf.conf
description: Place config in the toml code section. This will be automatically formatted into toml, so no need for backticks.
render: toml
validations:
required: true
- type: textarea
id: logs
attributes:
label: Logs from Telegraf
description: Please include the Telegraf logs, ideally with `--debug` used.
render: text
validations:
required: true
- type: input
id: system-info
attributes:
label: System info
description: Include Telegraf version, operating system, and other relevant details
placeholder: ex. Telegraf 1.20.0, Ubuntu 20.04, Docker 20.10.8
validations:
required: true
- type: textarea
id: docker
attributes:
label: Docker
description: If your bug involves third party dependencies or services, it can be very helpful to provide a Dockerfile or docker-compose.yml that reproduces the environment you're testing against.
validations:
required: false
- type: textarea
id: reproduce
attributes:
label: Steps to reproduce
description: Describe the steps to reproduce the bug.
value: |
1.
2.
3.
...
validations:
required: true
- type: textarea
id: expected-behavior
attributes:
label: Expected behavior
description: Describe what you expected to happen when you performed the above steps.
validations:
required: true
- type: textarea
id: actual-behavior
attributes:
label: Actual behavior
description: Describe what actually happened when you performed the above steps.
validations:
required: true
- type: textarea
id: additional-info
attributes:
label: Additional info
description: Include gist of relevant config, logs, etc.
validations:
required: false

View file

@ -0,0 +1,37 @@
name: Feature request
description: Create a feature request to make Telegraf more awesome
labels: ["feature request"]
body:
- type: markdown
attributes:
value: |
Thanks for taking time to share with us this feature request! Please describe why you would like this feature to be added to Telegraf and how you plan to use it to make your life better.
- type: textarea
id: use-case
attributes:
label: Use Case
description: Describe how you plan to use this feature.
validations:
required: true
- type: textarea
id: expected-behavior
attributes:
label: Expected behavior
description: Describe what you expected to happen when you performed the above steps.
validations:
required: true
- type: textarea
id: actual-behavior
attributes:
label: Actual behavior
description: Describe what actually happened when you performed the above steps.
validations:
required: true
- type: textarea
id: additional-info
attributes:
label: Additional info
description: Include gist of relevant config, logs, etc.
validations:
required: false

22
.github/ISSUE_TEMPLATE/SUPPORT.yml vendored Normal file
View file

@ -0,0 +1,22 @@
name: Support request
description: Open a support request
labels: ["support"]
body:
- type: markdown
attributes:
value: |
WOAH, hold up. This isn't the best place for support questions.
You can get a faster response on slack or forums:
Please redirect any QUESTIONS about Telegraf usage to
- InfluxData Slack Channel: https://www.influxdata.com/slack
- InfluxData Community Site: https://community.influxdata.com
Check the documentation for the related plugin including the troubleshooting
section if available.
https://docs.influxdata.com/telegraf
https://github.com/influxdata/telegraf/tree/master/docs
- type: textarea
attributes:
label: "Please direct all support questions to Slack or the forums. Thank you."

18
.github/PULL_REQUEST_TEMPLATE.md vendored Normal file
View file

@ -0,0 +1,18 @@
## Summary
<!-- Mandatory
Explain here the why, the rationale and motivation, for the changes.
-->
## Checklist
<!-- Mandatory
Please confirm the following by replacing the space with an "x" between the []:
-->
- [ ] No AI generated code was used in this PR
## Related issues
<!-- Mandatory
All PRs should resolve an issue, if one does not exist, please open one.
-->
resolves #

20
.github/dependabot.yml vendored Normal file
View file

@ -0,0 +1,20 @@
version: 2
updates:
- package-ecosystem: "github-actions"
directory: "/"
schedule:
interval: "weekly"
open-pull-requests-limit: 25
labels:
- "dependencies"
- package-ecosystem: "gomod"
directory: "/"
schedule:
interval: "weekly"
open-pull-requests-limit: 25
ignore:
# Dependabot isn't able to update this packages that do not match the
# source, so anything with a version
- dependency-name: "*.v*"
labels:
- "dependencies"

65
.github/workflows/linter.yml vendored Normal file
View file

@ -0,0 +1,65 @@
---
#################################
#################################
## Super Linter GitHub Actions ##
#################################
#################################
name: Lint Code Base
#
# Documentation:
# https://help.github.com/en/articles/workflow-syntax-for-github-actions
#
#############################
# Start the job on all push #
#############################
on:
push:
branches-ignore: [master, main]
# Remove the line above to run when pushing to master
pull_request:
branches: [master, main]
###############
# Set the Job #
###############
permissions: {}
jobs:
build:
# Name the Job
permissions:
contents: read # to fetch code (actions/checkout)
statuses: write # to mark status of each linter run (github/super-linter)
name: Lint Code Base
# Set the agent to run on
runs-on: ubuntu-latest
##################
# Load all steps #
##################
steps:
##########################
# Checkout the code base #
##########################
- name: Checkout Code
uses: actions/checkout@v4
with:
# Full git history is needed to get a proper list of changed files within `super-linter`
fetch-depth: 0
################################
# Run Linter against code base #
################################
- name: Lint Code Base
uses: super-linter/super-linter@v7.3.0
env:
VALIDATE_ALL_CODEBASE: false
DEFAULT_BRANCH: master
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
LINTER_RULES_PATH: '.'
MARKDOWN_CONFIG_FILE: .markdownlint.yml
VALIDATE_MARKDOWN: true
VALIDATE_BASH: true

29
.github/workflows/milestones.yml vendored Normal file
View file

@ -0,0 +1,29 @@
name: Milestones
on:
pull_request_target:
types:
- closed
permissions:
issues: write
pull-requests: write
jobs:
milestone_job:
if: github.event.pull_request.merged == true
runs-on: ubuntu-latest
name: Assign milestones to PRs
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Assign milestone to PR
uses: srebhan/label-milestone-action@v1.0.1
id: assign-milestone
with:
repo-token: ${{ secrets.GITHUB_TOKEN }}
bugfix-labels: 'fix,chore,docs,test'
minor-labels: 'feat'
major-labels: 'breaking change'
fallback: 'minor'
- name: Show milestone
run: echo "Assigned milestone is ${{ steps.assign-milestone.outputs.milestone }}"

24
.github/workflows/pr-target-branch.yml vendored Normal file
View file

@ -0,0 +1,24 @@
name: Target Branch
on:
pull_request:
types:
- opened
- reopened
- synchronize
- edited
jobs:
check-target-master:
name: master
runs-on: ubuntu-latest
steps:
- name: debug
run: echo Target is ${{ github.event.pull_request.base.ref }}
- name: success
if: github.event.pull_request.base.ref == 'master'
run: exit 0
- name: error
if: github.event.pull_request.base.ref != 'master'
run: |
echo "Pull-request is not based on master, please rebase"
exit 1

26
.github/workflows/readme-linter.yml vendored Normal file
View file

@ -0,0 +1,26 @@
name: Lint plugin readmes
on:
# push:
# branches-ignore: master
pull_request:
branches: # Names of target branches, not source branches
- master
jobs:
run-readme-linter:
runs-on: ubuntu-latest
steps:
- uses: actions/setup-go@v5
with:
go-version: '1.24.3'
- uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Get changed files
id: changed-files
uses: tj-actions/changed-files@ed68ef82c095e0d48ec87eccea555d944a631a4c # v46.0.5
with:
base_sha: ${{ github.event.pull_request.base.sha }}
files: ./plugins/**/README.md
- name: Run readme linter on changed files
if: steps.changed-files.outputs.any_changed == 'true'
run: go run ./tools/readme_linter ${{ steps.changed-files.outputs.all_changed_files }}

15
.github/workflows/semantic.yml vendored Normal file
View file

@ -0,0 +1,15 @@
---
name: "Semantic PR and Commit Messages"
on:
pull_request:
types: [opened, reopened, synchronize, edited]
branches:
- master
jobs:
semantic:
uses: influxdata/validate-semantic-github-messages/.github/workflows/semantic.yml@main
with:
COMMITS_HISTORY: 0