-
-
Notifications
You must be signed in to change notification settings - Fork 0
init #1
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
Conversation
Signed-off-by: Jan-Otto Kröpke <mail@jkroepke.de>
Signed-off-by: Jan-Otto Kröpke <mail@jkroepke.de>
Signed-off-by: Jan-Otto Kröpke <mail@jkroepke.de>
Signed-off-by: Jan-Otto Kröpke <mail@jkroepke.de>
Signed-off-by: Jan-Otto Kröpke <mail@jkroepke.de>
Signed-off-by: Jan-Otto Kröpke <mail@jkroepke.de>
Signed-off-by: Jan-Otto Kröpke <mail@jkroepke.de>
Signed-off-by: Jan-Otto Kröpke <mail@jkroepke.de>
Signed-off-by: Jan-Otto Kröpke <mail@jkroepke.de>
Signed-off-by: Jan-Otto Kröpke <mail@jkroepke.de>
Signed-off-by: Jan-Otto Kröpke <mail@jkroepke.de>
Signed-off-by: Jan-Otto Kröpke <mail@jkroepke.de>
Signed-off-by: Jan-Otto Kröpke <mail@jkroepke.de>
Signed-off-by: Jan-Otto Kröpke <mail@jkroepke.de>
Signed-off-by: Jan-Otto Kröpke <mail@jkroepke.de>
Welcome to Codecov 🎉Once you merge this PR into your default branch, you're all set! Codecov will compare coverage reports and display results in all future pull requests. Thanks for integrating Codecov - We've got you covered ☂️ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Pull Request Overview
This PR introduces the initial implementation of "access-log-exporter", a Prometheus exporter that receives access logs through the syslog protocol and converts them into metrics. The implementation includes complete project structure, configuration management, metric processing, Docker support, and packaging for Debian and RPM distributions.
- Core syslog-to-metrics processing engine with configurable presets for different log formats
- Complete configuration system with YAML support, command-line flags, and environment variables
- Production-ready packaging with systemd service files, install/uninstall scripts, and security configurations
Reviewed Changes
Copilot reviewed 55 out of 59 changed files in this pull request and generated 4 comments.
Show a summary per file
File | Description |
---|---|
cmd/access-log-exporter/ | Main application entry point with HTTP server, signal handling, and graceful shutdown |
internal/metric/ | Core metric processing engine that parses log lines and updates Prometheus metrics |
internal/config/ | Configuration management with YAML parsing, flag handling, and validation |
internal/collector/ | Syslog server implementation and metric collection orchestration |
packaging/ | Complete packaging infrastructure including systemd service, install scripts, and configuration |
go.mod | Project dependencies including Prometheus client, YAML parser, and syslog library |
.github/ | CI/CD workflows, issue templates, and GitHub Actions configuration |
Files not reviewed (2)
- .idea/inspectionProfiles/Project_Default.xml: Language not supported
- .idea/vcs.xml: Language not supported
Signed-off-by: Jan-Otto Kröpke <mail@jkroepke.de>
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com> Signed-off-by: Jan-Otto Kröpke <mail@jkroepke.de>
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com> Signed-off-by: Jan-Otto Kröpke <mail@jkroepke.de>
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com> Signed-off-by: Jan-Otto Kröpke <mail@jkroepke.de>
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com> Signed-off-by: Jan-Otto Kröpke <mail@jkroepke.de>
Signed-off-by: Jan-Otto Kröpke <mail@jkroepke.de>
Signed-off-by: Jan-Otto Kröpke <mail@jkroepke.de>
Signed-off-by: Jan-Otto Kröpke <mail@jkroepke.de>
No description provided.