MCPcopy Index your code
hub / github.com/Releem/releem-agent

github.com/Releem/releem-agent @1.23.7

Chat with this repo
repository ↗ · DeepWiki ↗ · release 1.23.7 ↗ · + Follow
219 symbols 600 edges 35 files 21 documented · 10%
What it actually does AI analysis from the code graph — generated when you open this
loading…
README

Releem Agent

Go Report Card slack

Releem

<a href="https://docs.releem.com">Docs</a> | 
<a href="#security">Security</a> |
<a href="https://releem.com/compare/mysqltuner">Compare MySQLTuner</a> |
<a href="https://releem.com/sql-query-optimization">SQL Query Optimization</a> |
<a href="https://releem.com/mysql-optimization-center">MySQL Optimization Center</a> |
<a href="https://releem.com/blog">Blog</a>

The present repository contains the source code of the Releem Agent.

Releem is a database advisor for MySQL, MariaDB & PostgreSQL that provides automatic metrics analysis, actionable insights, and safe automation. It helps detect issues quickly, optimize performance continuously, and reduce manual work at scale.

With Releem we are trying to bring top-notch experience in database management and save thousands of software engineers hours.

Why Releem?

  • Clutter Free: Releem provides simple dashboard and it cuts through the noise. No layers of menus, no need for custom reports. Get all the important metrics on one single page. No training necessary.
  • Hassle free: Simple one-step Installation on most popular Linux platforms and Support of all MySQL/MariaDB/Percona versions.
  • Performance Booster: Recommended configuration delivers up to 290% boost to MySQL performance compare to the default configuration.
  • Simplified Monitoring: MySQL Health Checks greatly simplifies the process of monitoring and maintaining a healthy database by focusing on key aspects that describe the efficiency and "best practices" of using Memory, Connections, Logs, Cache, Disk, Indexes, and Threads. Releem Score metric calculates by summarizing Health Checks statuses.
  • Automatic SQL Query Optimization and Index suggestions: Releem automatically identifies inefficient queries and offers missed indexes, enabling database administrators to boost query performance without extensive manual analysis.
  • Security: Releem Agent is open-source and does not collect your database data. Learn more
  • Email report: Keep an eye on your servers with weekly email reports.
  • Simple Applying: Releem Agent allows simply apply recommended MySQL configuration just in one click or in one command.

How it works

Releem Agent - Has been installed on servers, collects MySQL metrics, sends them to Cloud Platforms, and applies MySQL configurations. Open Source daemon built on Go.

Releem Cloud Platform - Analyzes collected metrics, detects performance issues, and recommends MySQL configurations.

Releem Customer Portal - Web interface displays recommended configurations and current information about all MySQL servers with installed Releem Agent. It looks like this on the screenshot.

Getting started with Releem

The easiest way to get started with Releem is with our managed service in the cloud and one step installation command. It takes up to 5 minutes to start monitoring your MySQL servers and get recommendations to improve performance.

To start using Releem just sign up at https://releem.com and install Releem Agent on your server.

Security

Releem does not collect any user data.

The Releem agent is open-source and does not require opening ports.

The Releem agent collects the following data: - Memory, CPU, and disk usage statistics - MySQL system variables & status information - Data size statistics from information_schema - Table & schema names (but not actual table content) - Table structure details, indexes, and usage statistics for schema optimization - Query execution statistics with placeholders from performance_schema, including execution counts, average execution time, query example, and EXPLAIN plans for the top queries

Support

Join the Releem Community on Slack.

Compatibility

  • MySQL 8.0, MySQL 5.7, MySQL 5.6, MySQL 5.5
  • MariaDB 10.1, MariaDB 10.2, MariaDB 10.3, MariaDB 10.4, MariaDB 10.5, MariaDB 10.6, MariaDB 10.7, MariaDB 10.8, MariaDB 10.9, MariaDB 10.10, MariaDB 10.11, MariaDB 11.0
  • Percona 8.0, Percona 5.7, Percona 5.6, Percona 5.5
  • PostgreSQL 15, PostgreSQL 16, PostgreSQL 17, PostgreSQL 18
  • Centos, CloudLinux, Debian, Ubuntu, RockyLinux
  • Windows Server 2012, Windows Server 2016, Windows Server 2019, Windows Server 2022, Windows Server 2025
  • Amazon RDS MySQL, Amazon RDS Aurora, Amazon RDS MariaDB
  • Google Cloud SQL MySQL, Google Cloud SQL PostgreSQL

*** MINIMAL REQUIREMENTS *** - Unix/Linux based operating system (tested on Linux, BSD variants, and Solaris variants) - Unrestricted read access to the MySQL server

Tests

We tested the results with Sysbench on a virtual server running Debian 9 (2 CPU, 2GB Ram) the table contained 10 million entries. Two configurations were tested, the MySQL default configuration and the configuration recommended by the Releem service. The tests were two-step: read (test1) only and read/write (test2).

Recommended configuration delivered a 30% boost to MySQL performance compared to the default configuration.

Follow this links to see results: - MySQL 5.7 Benchmark - MySQL 8 Benchmark - How MySQL Configuration Impacts the Performance of Web Applications

Feedback

We welcome feedback from our community. Take a look at our feedback board. Please let us know if you have any requests and vote on open issues so we can better prioritize.

To stay up to date with all the latest news and product updates, make sure to follow us on Twitter, LinkedIn.

Contribute

You can help us by reporting problems, suggestions or contributing to the code.

Report a problem or suggestion

Go to our issue tracker and check if your problem is already reported. If not, create a new issue with a descriptive title and detail your suggestion or steps to reproduce the problem.

If you have suggestions or want to discuss potential improvements, please visit our Discussions page. We value your input and look forward to engaging with the community to enhance our product.

Extension points exported contracts — how you extend this code

MetricsGatherer (Interface)
(no doc) [18 implementers]
models/models.go
MetricsRepeater (Interface)
(no doc) [2 implementers]
models/models.go
MetricContext (Interface)
(no doc) [1 implementers]
models/models.go

Core symbols most depended-on inside this repo

HandlePanic
called by 26
utils/utils.go
exitRunWithError
called by 12
main.go
ProcessRepeaters
called by 11
utils/utils.go
CollectMetrics
called by 11
utils/utils.go
execTaskCommand
called by 9
tasks/utils.go
Run
called by 7
main.go
StructToMap
called by 7
metrics/system/os.go
metricGroupString
called by 6
metrics/mysql/dbInfo.go

Shape

Function 96
Struct 66
Method 50
TypeAlias 4
Interface 3

Languages

Go100%

Modules by API surface

metrics/system/azuremysqlenhancedmetrics.go21 symbols
models/models.go17 symbols
utils/utils.go15 symbols
metrics/mysql/dbCollectQueries.go15 symbols
metrics/system/awsrdsenhancedmetrics.go14 symbols
metrics/system/gcpcloudsqlenhancedmetrics.go13 symbols
metrics/postgresql/dbCollectQueries.go12 symbols
main.go12 symbols
metrics/postgresql/dbInfoDetails.go11 symbols
metrics/mysql/dbMetrics.go10 symbols
tasks/task_commands.go9 symbols
config/config.go9 symbols

For agents

$ claude mcp add releem-agent \
  -- python -m otcore.mcp_server <graph>

⬇ download graph artifact

Ask about this repo answers extend the page