Skip to content
Closed
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
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
The diff you're trying to view is too large. We only load the first 3000 changed files.
15 changes: 15 additions & 0 deletions .github/CODEOWNERS
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
# Default owners for everything in the repo
* @cjimti

# Beat implementation
/beater/ @cjimti
/cmd/ @cjimti
/config/ @cjimti

# Documentation
/docs/ @cjimti
*.md @cjimti

# CI/CD and release configuration
/.github/ @cjimti
.goreleaser.yml @cjimti
113 changes: 113 additions & 0 deletions .github/ISSUE_TEMPLATE/bug_report.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,113 @@
name: Bug Report
description: Report a bug or unexpected behavior in rtbeat
labels: ["bug", "triage"]
body:
- type: markdown
attributes:
value: |
Thanks for taking the time to report a bug! Please fill out the information below to help us diagnose and fix the issue.

- type: input
id: version
attributes:
label: rtbeat version
description: Output of `rtbeat version`
placeholder: "rtbeat version 7.17.29 (amd64), libbeat 7.17.29"
validations:
required: true

- type: input
id: elastic-version
attributes:
label: Elastic Stack version
description: Version of Elasticsearch / Kibana / Logstash that rtbeat outputs to
placeholder: "Elasticsearch 7.17.29, Kibana 7.17.29"
validations:
required: true

- type: dropdown
id: os
attributes:
label: Operating System
options:
- macOS (Apple Silicon)
- macOS (Intel)
- Linux (Ubuntu/Debian)
- Linux (RHEL/CentOS/Fedora)
- Linux (Other)
- Windows
- Docker container
validations:
required: true

- type: dropdown
id: deployment
attributes:
label: How is rtbeat deployed?
options:
- Standalone binary
- Docker container
- Kubernetes
- Built from source
- Other
validations:
required: true

- type: textarea
id: description
attributes:
label: Bug Description
description: What happened? What did you expect to happen?
placeholder: |
Expected behavior:
...

Actual behavior:
...
validations:
required: true

- type: textarea
id: steps
attributes:
label: Steps to Reproduce
description: Minimal steps to reproduce the bug
placeholder: |
1. Start rtbeat with `./rtbeat -c rtbeat.yml -e`
2. POST a rxtx MessageBatch to http://localhost:8081/in
3. ...
validations:
required: true

- type: textarea
id: logs
attributes:
label: Verbose Logs
description: Output from running rtbeat with debug logging enabled (optional but very helpful)
render: shell
placeholder: |
Paste output from: ./rtbeat -c rtbeat.yml -e -d "*"

- type: textarea
id: config
attributes:
label: Configuration
description: Relevant portions of your rtbeat.yml (redact any credentials, hosts, or secrets)
render: yaml
placeholder: |
rtbeat:
port: "8081"
timeout: 5

output.elasticsearch:
hosts: ["localhost:9200"]

- type: checkboxes
id: checklist
attributes:
label: Checklist
options:
- label: I have searched existing issues to ensure this bug hasn't already been reported
required: true
- label: I have removed any credentials or secrets from the config and logs above
required: true
8 changes: 8 additions & 0 deletions .github/ISSUE_TEMPLATE/config.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
blank_issues_enabled: false
contact_links:
- name: Questions & Discussions
url: https://github.com/txn2/rtbeat/discussions
about: Please ask questions and share ideas in GitHub Discussions instead of opening issues
- name: Documentation
url: https://github.com/txn2/rtbeat/blob/master/README.md
about: Check the README for setup, configuration, and usage details
66 changes: 66 additions & 0 deletions .github/ISSUE_TEMPLATE/feature_request.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,66 @@
name: Feature Request
description: Suggest a new feature or enhancement
labels: ["enhancement"]
body:
- type: markdown
attributes:
value: |
**Important:** While we appreciate feature suggestions, feature development is currently limited to maintainers and trusted contributors.

We welcome community contributions for:
- Bug fixes
- Tests
- Documentation improvements
- Stability and compatibility enhancements

- type: textarea
id: problem
attributes:
label: Problem Statement
description: What problem does this feature solve? Is this related to a frustration with rtbeat?
placeholder: |
I'm always frustrated when...

OR

Currently there's no way to...
validations:
required: true

- type: textarea
id: solution
attributes:
label: Proposed Solution
description: How would you like this to work? Describe the feature in detail.
placeholder: |
It would be great if rtbeat could...

Example: add a new field to the published event, or a new config option in rtbeat.yml
validations:
required: true

- type: textarea
id: alternatives
attributes:
label: Alternatives Considered
description: What other solutions or workarounds have you considered?
placeholder: |
I've tried using X, but it doesn't work because...

- type: dropdown
id: impact
attributes:
label: Impact
description: How important is this feature to your workflow?
options:
- Nice to have
- Would significantly improve my workflow
- Blocking my use of rtbeat
validations:
required: true

- type: textarea
id: context
attributes:
label: Additional Context
description: Any other context, screenshots, or examples that would help explain the feature
43 changes: 43 additions & 0 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,43 @@
version: 2
updates:
# Go modules
- package-ecosystem: "gomod"
directory: "/"
schedule:
interval: "weekly"
commit-message:
prefix: "deps"
labels:
- "dependencies"
- "go"
# libbeat drags a large, tightly-coupled dependency tree. Pin the
# beats line manually; let dependabot surface everything else.
ignore:
- dependency-name: "github.com/elastic/beats/v7"

# GitHub Actions
- package-ecosystem: "github-actions"
directory: "/"
schedule:
interval: "weekly"
commit-message:
prefix: "ci"
labels:
- "dependencies"
- "github-actions"
ignore:
# SLSA generator v2.1.x has a privacy-check false positive that halts
# provenance generation on public repos. Pinned to v2.0.0 in release.yml.
- dependency-name: "slsa-framework/slsa-github-generator"
versions: ["2.1.x"]

# Docker
- package-ecosystem: "docker"
directory: "/"
schedule:
interval: "weekly"
commit-message:
prefix: "docker"
labels:
- "dependencies"
- "docker"
40 changes: 40 additions & 0 deletions .github/pull_request_template.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,40 @@
## Description

<!-- Brief description of changes. What does this PR do and why? -->

## Type of Change

<!-- Check all that apply -->

- [ ] Bug fix (non-breaking change that fixes an issue)
- [ ] Test improvement (new or updated tests)
- [ ] Documentation update
- [ ] Stability/performance improvement
- [ ] Build/CI improvement

> **Note:** New features are developed by maintainers only.

## Related Issues

<!-- Link to issues this PR addresses. Use "Fixes #123" for automatic closing -->

Fixes #

## Testing

<!-- How was this tested? -->

- [ ] Ran `go test ./...` locally
- [ ] Ran `make verify`
- [ ] Tested manually against an Elasticsearch/Elastic Stack output (if applicable)
- [ ] Added new tests for changes (if applicable)

## Checklist

- [ ] My code follows the project's style guidelines (`go fmt`, `go vet`)
- [ ] I have updated documentation if needed
- [ ] This PR is focused and does not include unrelated changes

## Screenshots/Logs (if applicable)

<!-- For output formatting, error handling, or behavioral changes -->
Loading