Transaction Log Agent

Track RPM transactions on your datacenter
This repository contains the code for the Agent, which compiles transactional
data and sends it to a central server, enabling real-time monitoring and
analytics. By aggregating and processing package history, the Agent provides
actionable insights for system administrators to optimize their RPM-based
systems.
Installation
sudo dnf localinstall -y https://rpm.rda.run/rpm-rda-run-1.0-1.noarch.rpm
sudo dnf install -y txlog
Usage
To compile and send all transaction info:
txlog build
Development
To make changes on this project, you need:
Golang
sudo dnf install -y go
nFPM
echo '[goreleaser]
name=GoReleaser
baseurl=https://repo.goreleaser.com/yum/
enabled=1
gpgcheck=0' | sudo tee /etc/yum.repos.d/goreleaser.repo
sudo yum install -y nfpm
Pandoc
sudo dnf install -y pandoc
Development commands
The Makefile contains all the necessary commands for development. You can run
make to view all options.
To create the binary and distribute
make clean: remove compiled binaries and packages
make build: build a production-ready binary on ./bin directory
make man: compile the man txlog manpage
make rpm: create new .rpm package
Contributing
- Fork it (https://github.com/txlog/agent/fork)
- Create your feature branch (
git checkout -b my-new-feature)
- Commit your changes (
git commit -am 'Add some feature')
- Push to the branch (
git push origin my-new-feature)
- Create a new Pull Request