OpBot is a Slack bot written in Go that interacts with the Signoz trace API to provide various functionalities, including searching for transactions based on user-provided tags. This bot is designed to help teams monitor and manage their operations more effectively by integrating with Slack and Signoz.
Features
Slack Integration: Interact with the bot directly from Slack.
Signoz Integration: Search for transactions and traces using the Signoz API.
Configuration Management: Easily manage configuration through YAML files.
Metrics Handling: Integrated with metrics handling for better monitoring.
Installation
Clone the repository:
git clone https://github.com/synapsecns/sanguine.git
cd sanguine/contrib/opbot
Install dependencies:
Ensure you have Go installed (version 1.22.4 or later). Then, run:
go mod tidy
Build the bot:
go build -o opbot main.go
Configuration
OpBot uses a YAML configuration file to manage its settings. The configuration file should be named config.yml and placed in the same directory as the executable.
Package signoz is a api client for signoz, more specifically the trace API https://signoz.io/docs/traces-management/trace-api/overview/ the client is based on resty.
Package signoz is a api client for signoz, more specifically the trace API https://signoz.io/docs/traces-management/trace-api/overview/ the client is based on resty.