Skip to content
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

26 use mariadb + split repository layer #27

Merged
merged 6 commits into from
May 9, 2024

Conversation

huyvu8051
Copy link
Owner

@huyvu8051 huyvu8051 commented May 9, 2024

Summary by CodeRabbit

  • New Features

    • Introduced MariaDB configurations and related exporter settings.
    • Added new SQL queries to populate database tables for users, conversations, and messages.
    • Enhanced message handling capabilities in the app, including setting timestamps and retrieving conversation details.
    • Updated Maven project configurations and dependencies across various modules.
  • Bug Fixes

    • Fixed package declarations for various classes to reflect new organizational structure.
  • Refactor

    • Removed outdated configurations for Cassandra and replaced them with updated database settings.
    • Revised Maven dependencies to better align with current project requirements.
  • Tests

    • Implemented new testing configurations using Testcontainers and updated logging.
  • Documentation

    • Updated API endpoints and payload structures for message handling in test configurations.

@huyvu8051 huyvu8051 linked an issue May 9, 2024 that may be closed by this pull request
@huyvu8051 huyvu8051 merged commit d805620 into main May 9, 2024
2 of 3 checks passed
@github-actions github-actions bot added the rules label May 9, 2024
Copy link

coderabbitai bot commented May 9, 2024

Walkthrough

The project has transitioned from using Cassandra to MariaDB, reflecting major changes in the database configuration and related dependencies across multiple files. This includes updates to Maven project settings, Spring Boot configurations, and SQL schemas. Additionally, there's a reorganization of package structures and enhancements in message handling functionalities.

Changes

Files Summary
compose.yaml, .../application.yml Transitioned from Cassandra to MariaDB configurations.
data.sql, .../schema.sql Updated SQL scripts for user and message management.
.../pom.xml Updated Maven configurations and dependencies.
.../HichaBusinessApplication.java, .../SecurityConfig.java, .../ThreadsConfiguration.java, .../UserDTO.java, .../UserEntity.java, .../Post.java Package declarations updated and restructured.
.../MessageController.java, .../ConversationDetails.java, .../MessageRepositoryImpl.java Enhanced message handling and repository implementations.
.../MyBatisConfiguration.java, .../MyBatisNativeConfiguration.java Added MyBatis configurations for better integration.
test.http Updated HTTP endpoints and payload structures for message operations.

🐇💬
In the land of code, where the data trees grow,
A rabbit hopped by, with a soft, gentle glow.
"From Cassandra's wide fields, to Maria's warm den,
With a flip of a script, we're transformed once again!"
Merrily merging, with bytes all in tune,
Under the soft silver gaze of the code-loving moon. 🌕🚀


Thank you for using CodeRabbit. We offer it for free to the OSS community and would appreciate your support in helping us grow. If you find it useful, would you consider giving us a shout-out on your favorite social media?

Share
Tips

Chat

There are 3 ways to chat with CodeRabbit:

  • Review comments: Directly reply to a review comment made by CodeRabbit. Example:
    • I pushed a fix in commit <commit_id>.
    • Generate unit testing code for this file.
    • Open a follow-up GitHub issue for this discussion.
  • Files and specific lines of code (under the "Files changed" tab): Tag @coderabbitai in a new review comment at the desired location with your query. Examples:
    • @coderabbitai generate unit testing code for this file.
    • @coderabbitai modularize this function.
  • PR comments: Tag @coderabbitai in a new PR comment to ask questions about the PR branch. For the best results, please provide a very specific query, as very limited context is provided in this mode. Examples:
    • @coderabbitai generate interesting stats about this repository and render them as a table.
    • @coderabbitai show all the console.log statements in this repository.
    • @coderabbitai read src/utils.ts and generate unit testing code.
    • @coderabbitai read the files in the src/scheduler package and generate a class diagram using mermaid and a README in the markdown format.

Note: Be mindful of the bot's finite context window. It's strongly recommended to break down tasks such as reading entire modules into smaller chunks. For a focused discussion, use review comments to chat about specific files and their changes, instead of using the PR comments.

CodeRabbit Commands (invoked as PR comments)

  • @coderabbitai pause to pause the reviews on a PR.
  • @coderabbitai resume to resume the paused reviews.
  • @coderabbitai review to trigger a review. This is useful when automatic reviews are disabled for the repository.
  • @coderabbitai resolve resolve all the CodeRabbit review comments.
  • @coderabbitai help to get help.

Additionally, you can add @coderabbitai ignore anywhere in the PR description to prevent this PR from being reviewed.

CodeRabbit Configration File (.coderabbit.yaml)

  • You can programmatically configure CodeRabbit by adding a .coderabbit.yaml file to the root of your repository.
  • Please see the configuration documentation for more information.
  • If your editor has YAML language server enabled, you can add the path at the top of this file to enable auto-completion and validation: # yaml-language-server: $schema=https://coderabbit.ai/integrations/schema.v2.json

Documentation and Community

  • Visit our Documentation for detailed information on how to use CodeRabbit.
  • Join our Discord Community to get help, request features, and share feedback.
  • Follow us on X/Twitter for updates and announcements.

Copy link

@coderabbitai coderabbitai bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Actionable comments posted: 4

Review Details

Configuration used: CodeRabbit UI
Review profile: CHILL

Commits Files that changed from the base of the PR and between 1112ea1 and 1d1d712.
Files selected for processing (23)
  • compose.yaml (1 hunks)
  • data.sql (1 hunks)
  • hicha-business/pom.xml (7 hunks)
  • hicha-business/src/main/java/io/huyvu/hicha/HichaBusinessApplication.java (1 hunks)
  • hicha-business/src/main/java/io/huyvu/hicha/config/SecurityConfig.java (1 hunks)
  • hicha-business/src/main/java/io/huyvu/hicha/config/ThreadsConfiguration.java (1 hunks)
  • hicha-business/src/main/java/io/huyvu/hicha/controller/MessageController.java (1 hunks)
  • hicha-business/src/main/java/io/huyvu/hicha/model/ConversationDetails.java (1 hunks)
  • hicha-business/src/main/java/io/huyvu/hicha/model/UserDTO.java (1 hunks)
  • hicha-business/src/main/java/io/huyvu/hicha/model/UserEntity.java (1 hunks)
  • hicha-business/src/main/java/io/huyvu/hicha/service/Post.java (1 hunks)
  • hicha-business/src/main/resources/application.yml (2 hunks)
  • hicha-business/src/main/resources/schema.sql (1 hunks)
  • hicha-business/src/test/java/io/huyvu/hicha/HichaBusinessApplicationTests.java (1 hunks)
  • hicha-repository-impl/pom.xml (1 hunks)
  • hicha-repository-impl/src/main/java/io/huyvu/hicha/config/MyBatisConfiguration.java (1 hunks)
  • hicha-repository-impl/src/main/java/io/huyvu/hicha/config/MyBatisNativeConfiguration.java (1 hunks)
  • hicha-repository-impl/src/main/java/io/huyvu/hicha/repository/impl/MessageRepositoryImpl.java (1 hunks)
  • hicha-repository/pom.xml (1 hunks)
  • hicha-repository/src/main/java/io/huyvu/hicha/repository/model/Message.java (1 hunks)
  • hicha-repository/src/main/java/io/huyvu/hicha/repository/repo/MessageRepository.java (1 hunks)
  • pom.xml (2 hunks)
  • test.http (1 hunks)
Files skipped from review due to trivial changes (9)
  • hicha-business/src/main/java/io/huyvu/hicha/HichaBusinessApplication.java
  • hicha-business/src/main/java/io/huyvu/hicha/config/SecurityConfig.java
  • hicha-business/src/main/java/io/huyvu/hicha/config/ThreadsConfiguration.java
  • hicha-business/src/main/java/io/huyvu/hicha/model/UserEntity.java
  • hicha-business/src/main/java/io/huyvu/hicha/service/Post.java
  • hicha-business/src/main/resources/application.yml
  • hicha-business/src/test/java/io/huyvu/hicha/HichaBusinessApplicationTests.java
  • hicha-repository-impl/pom.xml
  • hicha-repository/pom.xml
Additional comments not posted (24)
hicha-business/src/main/java/io/huyvu/hicha/model/UserDTO.java (1)

Line range hint 1-9: The UserDTO class is well-structured and makes good use of Lombok annotations for simplicity and readability.

hicha-repository/src/main/java/io/huyvu/hicha/repository/repo/MessageRepository.java (1)

1-10: The MessageRepository interface is correctly defined with clear method signatures for handling message operations.

test.http (2)

3-9: The POST request is correctly formatted with appropriate headers and JSON body for testing message sending functionality.


14-14: The GET request is correctly implemented to retrieve a message by ID, using the appropriate API endpoint.

hicha-repository/src/main/java/io/huyvu/hicha/repository/model/Message.java (1)

1-17: The Message class is well-defined with appropriate fields and uses Lombok annotations effectively to reduce boilerplate code.

data.sql (3)

1-1: The SQL statement for inserting users is correctly formulated and executes the intended operation.


3-3: The SQL statement for linking users and conversations is correctly implemented with appropriate subqueries to fetch IDs.


4-5: The SQL statement for inserting messages is correctly formulated and executes the intended operation with specified fields.

hicha-business/src/main/java/io/huyvu/hicha/model/ConversationDetails.java (1)

1-18: The ConversationDetails class is well-defined with appropriate fields and uses Lombok annotations effectively, including the builder pattern for object creation.

hicha-repository-impl/src/main/java/io/huyvu/hicha/config/MyBatisConfiguration.java (1)

1-17: The MyBatisConfiguration class is correctly implemented with appropriate annotations and conditions to customize MyBatis settings effectively.

hicha-business/src/main/resources/schema.sql (4)

1-6: The SQL statement for creating the users table is correctly formulated with appropriate fields and constraints.


8-11: The SQL statement for creating the conversations table is correctly formulated with appropriate fields and constraints.


13-20: The SQL statement for creating the user_conversations table is correctly formulated with appropriate fields, primary key, and foreign key constraints.


22-31: The SQL statement for creating the messages table is correctly formulated with appropriate fields, primary key, and foreign key constraints, including a default timestamp for sent_at.

hicha-repository-impl/src/main/java/io/huyvu/hicha/repository/impl/MessageRepositoryImpl.java (2)

14-18: Validate the SQL query for potential performance issues.


22-28: Review the SQL insert statement for correctness and security.

hicha-business/src/main/java/io/huyvu/hicha/controller/MessageController.java (2)

17-23: Ensure proper error handling in the sendMessage method.


25-33: Review the method getConversationDetails for potential data exposure.

pom.xml (2)

4-9: Validate the parent project configuration for correctness.

Verification successful

The verification of the parent project configuration in the Maven POM file has been successfully completed. The output from the script confirms that the groupId, artifactId, and version are correctly specified as org.springframework.boot, spring-boot-starter-parent, and 3.2.5 respectively. This matches the expected configuration for a Spring Boot project using version 3.2.5 of the Spring Boot Starter Parent.

Final Response:

The parent project configuration in the Maven POM file is correctly set:

  • Group ID: org.springframework.boot
  • Artifact ID: spring-boot-starter-parent
  • Version: 3.2.5

This configuration is appropriate for a Spring Boot application and matches the standard conventions for such projects.

Scripts Executed

The following scripts were executed for the analysis:


Script:

#!/bin/bash
# Description: Verify the parent project configuration in the Maven POM file.

# Test: Search for the parent project details in the project. Expect: Correct group ID, artifact ID, and version.
rg --type xml $'parent' | rg 'groupId|artifactId|version'

Length of output: 120



Script:

#!/bin/bash
# Description: More comprehensive verification of the parent project configuration in the Maven POM file.

# Test: Search for the parent project details in the project with broader context. Expect: Correct group ID, artifact ID, and version.
rg --type xml -C 5 'parent' pom.xml

Length of output: 644


50-51: Ensure that the new modules are correctly integrated into the project.

Verification successful

The search results now show that the modules hicha-repository and hicha-repository-impl are indeed referenced in various pom.xml files across the project. This includes their own pom.xml files and the pom.xml of another module (hicha-business), which depends on them. This indicates that the modules are integrated into the project and are being recognized as dependencies where expected.

Final Response

The new modules hicha-repository and hicha-repository-impl are correctly integrated into the project. They are referenced in their respective pom.xml files and are also listed as dependencies in the hicha-business module. This confirms their integration across the relevant parts of the project.

  • hicha-repository and hicha-repository-impl are defined in the root pom.xml.
  • Each module has its own pom.xml where it is correctly identified by artifactId.
  • The hicha-business module lists both as dependencies, indicating proper integration within the project's dependency management.
Scripts Executed

The following scripts were executed for the analysis:


Script:

#!/bin/bash
# Description: Check the integration of new modules `hicha-repository` and `hicha-repository-impl` in the project.

# Test: Search for module references in the project. Expect: Correct and consistent references to the new modules.
rg --type xml $'modules' | rg 'hicha-repository|hicha-repository-impl'

Length of output: 69



Script:

#!/bin/bash
# Description: Broaden the search for the new modules `hicha-repository` and `hicha-repository-impl` in the project.

# Test: Search for any XML file references to the new modules. Expect: To find any XML files that mention the new modules.
rg --type xml 'hicha-repository|hicha-repository-impl'

Length of output: 619

hicha-business/pom.xml (2)

6-8: Confirm the parent project coordinates for the hicha-business module.

Verification successful

The parent project coordinates for the hicha-business module have been successfully verified. The details are as follows:

  • Group ID: io.huyvu.hicha
  • Artifact ID: hicha-backend
  • Version: 1.0-SNAPSHOT

These coordinates match the initial snippet provided in the review comment, confirming the consistency and correctness of the Maven configuration for the hicha-business module.

Scripts Executed

The following scripts were executed for the analysis:


Script:

#!/bin/bash
# Description: Verify the parent project coordinates in the Maven POM file for `hicha-business`.

# Test: Search for the parent project details in the project. Expect: Correct group ID, artifact ID, and version.
rg --type xml $'parent' | rg 'groupId|artifactId|version'

Length of output: 120



Script:

#!/bin/bash
# Description: Extract the complete parent block from the `pom.xml` file of the `hicha-business` module to verify the parent project coordinates.

# Locate the specific `pom.xml` file for `hicha-business` and extract the parent block
fd pom.xml | grep 'hicha-business' | xargs rg '<parent>(.|\n)*?</parent>'

Length of output: 265



Script:

#!/bin/bash
# Description: Correctly extract the complete parent block from the `pom.xml` file of the `hicha-business` module to verify the parent project coordinates.

# Locate the specific `pom.xml` file for `hicha-business` and extract the parent block with multiline regex
fd pom.xml | grep 'hicha-business' | xargs rg --multiline '<parent>(.|\n)*?</parent>'

Length of output: 241


109-118: Review the dependencies for the new repository modules.

Verification successful

The dependencies for the new repository modules in the hicha-business Maven POM file have been verified. Both hicha-repository and hicha-repository-impl are correctly and consistently referenced with appropriate group IDs and versions. Here are the details:

  • hicha-repository

    • Group ID: io.huyvu.hicha
    • Artifact ID: hicha-repository
    • Version: 1.0-SNAPSHOT
  • hicha-repository-impl

    • Group ID: io.huyvu.hicharepositoryimpl
    • Artifact ID: hicha-repository-impl
    • Version: 1.0-SNAPSHOT
    • Scope: runtime

These entries are consistent with the expected configuration for Maven dependencies.

Scripts Executed

The following scripts were executed for the analysis:


Script:

#!/bin/bash
# Description: Check the dependencies for the new repository modules in the `hicha-business` Maven POM file.

# Test: Search for dependencies related to `hicha-repository` and `hicha-repository-impl`. Expect: Correct and consistent references.
rg --type xml $'dependencies' | rg 'hicha-repository|hicha-repository-impl'

Length of output: 173



Script:

#!/bin/bash
# Description: Check the dependencies for the new repository modules specifically in the `hicha-business` Maven POM file.

# Test: Search for dependencies related to `hicha-repository` and `hicha-repository-impl` in the `hicha-business/pom.xml`. Expect: Correct and consistent references.
cat hicha-business/pom.xml | rg '<dependency>' -A 3 | rg 'hicha-repository|hicha-repository-impl'

Length of output: 212



Script:

#!/bin/bash
# Description: Extract full dependency blocks for `hicha-repository` and `hicha-repository-impl` from the `hicha-business` Maven POM file to verify correctness and consistency.

# Test: Search for full dependency blocks related to `hicha-repository` and `hicha-repository-impl` in the `hicha-business/pom.xml`. Expect: Correct and consistent groupIds and versions.
cat hicha-business/pom.xml | rg '<dependency>' -A 5 | rg 'hicha-repository|hicha-repository-impl' -B 2 -A 3

Length of output: 537

hicha-repository-impl/src/main/java/io/huyvu/hicha/config/MyBatisNativeConfiguration.java (2)

76-140: Ensure the configuration class is correctly set up for MyBatis and Spring integration.

Verification successful

The verification process has confirmed that both MyBatisNativeConfiguration and MyBatisConfiguration are correctly set up and serve distinct, complementary purposes within the project. MyBatisNativeConfiguration focuses on AOT processing and runtime hints for MyBatis, while MyBatisConfiguration provides property-based customization for MyBatis settings. There is no overlap or conflict between these configurations, ensuring proper integration with MyBatis and Spring.

  • MyBatisNativeConfiguration is correctly annotated and includes necessary beans for AOT processing.
  • MyBatisConfiguration allows conditional property-based customization, specifically for mapping underscores to camel case, which does not interfere with the AOT setup.
Scripts Executed

The following scripts were executed for the analysis:


Script:

#!/bin/bash
# Description: Verify the setup of the `MyBatisNativeConfiguration` class for correct integration with MyBatis and Spring.

# Test: Search for similar configuration classes in the project. Expect: Consistent and correct configuration settings.
rg --type java $'MyBatisNativeConfiguration' | rg 'Bean|Configuration'

Length of output: 374



Script:

#!/bin/bash
# Description: Further verify the setup of the `MyBatisNativeConfiguration` class for correct integration with MyBatis and Spring.

# Test 1: Search for any other configuration classes related to MyBatis to ensure there are no conflicts or duplications.
rg --type java '@Configuration' | rg 'MyBatis'

# Test 2: Check the implementation details of methods and inner classes within `MyBatisNativeConfiguration`.
rg --type java -A 10 -B 10 'class MyBatisNativeConfiguration' hicha-repository-impl/src/main/java/io/huyvu/hicha/config/MyBatisNativeConfiguration.java

Length of output: 1121



Script:

#!/bin/bash
# Description: Check for potential overlap between `MyBatisNativeConfiguration` and `MyBatisConfiguration`.

# Test: Examine the content and purpose of `MyBatisConfiguration` to determine if it conflicts with `MyBatisNativeConfiguration`.
rg --type java -A 10 -B 10 'class MyBatisConfiguration' hicha-repository-impl/src/main/java/io/huyvu/hicha/config/MyBatisConfiguration.java

Length of output: 785


142-212: Review the AOT processing methods for potential issues.

Verification successful

The search results confirm that the methods isExcludedFromAotProcessing and processAheadOfTime are indeed present in the MyBatisNativeConfiguration.java file, specifically within the MyBatisBeanFactoryInitializationAotProcessor class. This matches the initial context provided in the review comment, and no other occurrences of these methods were found in the codebase.

Given this information, it appears that the AOT processing methods are localized to this class and are not duplicated or incorrectly referenced elsewhere. Therefore, the review comment asking to verify these methods for potential issues seems to be correctly focused on the relevant part of the codebase.

Final Response:

The AOT processing methods isExcludedFromAotProcessing and processAheadOfTime are correctly implemented and localized within the MyBatisBeanFactoryInitializationAotProcessor class in MyBatisNativeConfiguration.java. No issues or unexpected references were found in the broader codebase.

  • File: hicha-repository-impl/src/main/java/io/huyvu/hicha/config/MyBatisNativeConfiguration.java
  • Methods Verified:
    • isExcludedFromAotProcessing
    • processAheadOfTime
Scripts Executed

The following scripts were executed for the analysis:


Script:

#!/bin/bash
# Description: Check the AOT processing methods in the `MyBatisNativeConfiguration` class for potential issues.

# Test: Search for AOT processing patterns in the project. Expect: Correct and efficient AOT processing methods.
rg --type java $'MyBatisBeanFactoryInitializationAotProcessor' | rg 'processAheadOfTime|isExcludedFromAotProcessing'

Length of output: 115



Script:

#!/bin/bash
# Broaden the search to check for any references to the methods `processAheadOfTime` and `isExcludedFromAotProcessing` across the entire codebase.
rg --type java 'processAheadOfTime|isExcludedFromAotProcessing' -C 3

Length of output: 1653

@@ -0,0 +1,5 @@
insert into users(username) value ('huyvu'), ('admin'), ('testuser');
insert into conversations () value ();
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The SQL statement for inserting conversations is empty and does not specify values. Please clarify if this is intentional or an oversight.

Comment on lines +11 to +30
@Mapper
public interface MessageRepositoryImpl extends MessageRepository {
@Override
@Select("""
select *
from messages
where conversation_id = #{conversationId}
limit 100""")
List<Message> findByConversationId(long conversationId);

@Override
@Insert("""
insert into messages
set conversation_id = #{conversationId},
sender_id = #{senderId},
message_text = #{messageText},
sent_at = #{sentAt}
""")
void save(Message message);
}
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ensure consistent naming conventions for interfaces.

The interface MessageRepositoryImpl should be named MessageRepository if it's meant to be an interface, and the implementation should be named MessageRepositoryImpl. This follows Java naming conventions where Impl suffix is used for implementation classes, not interfaces.

Comment on lines +29 to +38
mariadb:
image: 'mariadb:11.3.2'
container_name: mariadb
environment:
- 'MARIADB_DATABASE=hicha'
- 'MARIADB_PASSWORD=secret'
- 'MARIADB_ROOT_PASSWORD=verysecret'
- 'MARIADB_USER=myuser'
ports:
- "9042:9042"
- "9103:9103"
depends_on:
cassandra-extractor:
condition: service_completed_successfully
volumes: &mcac
- cassandra_mcac:/opt/datastax-mcac-agent-0.3.5
healthcheck:
test: [ "CMD-SHELL", "[ $$(nodetool statusgossip) = running ]" ]

- '3306:3306'
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ensure secure default settings for MariaDB.

The environment variables for MariaDB, such as MARIADB_PASSWORD and MARIADB_ROOT_PASSWORD, are set to simple values which might not be secure. Consider using more complex passwords and managing them through secure means like Docker secrets or environment variables.

Comment on lines +47 to +55
mariadb-exporter:
container_name: mariadb-exporter
image: 'prom/mysqld-exporter'
restart: always
command:
- "--mysqld.username=root:verysecret"
- "--mysqld.address=host.docker.internal:3306"
ports:
- "9044:9042"
- "9105:9103"
environment:
<<: *environment
volumes: *mcac
depends_on:
d1r1n1:
condition: service_healthy
cassandra-extractor:
condition: service_completed_successfully
- "9104:9104"
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Tip

Codebase Verification

The configuration of the mariadb-exporter in the compose.yaml file reveals a potential security issue:

  • The credentials are passed directly in the command line arguments ("--mysqld.username=root:verysecret"), which is generally considered insecure as it can expose sensitive information in process listings and logs.

It is recommended to use more secure methods for handling credentials, such as environment variables or configuration files that are not exposed.

Analysis chain

Verify the configuration of the mariadb-exporter for security.

Scripts Executed

The following scripts were executed for the analysis:


Script:

#!/bin/bash
# Description: Check the security settings of the mariadb-exporter service.

# Test: Search for security best practices in the configuration of mariadb-exporter. Expect: Secure practices like non-root user, minimal permissions.
rg --type yaml $'mariadb-exporter' | rg 'user|permissions'

Length of output: 57



Script:

#!/bin/bash
# Description: Check for secure handling of credentials and network settings in mariadb-exporter configuration.

# Test: Search for any instance of credentials being passed in command lines and check for network exposure settings.
rg --type yaml --context 5 $'mariadb-exporter' | rg 'command|ports'

Length of output: 92



Script:

#!/bin/bash
# Description: Extract the full command line arguments for mariadb-exporter to assess how credentials are handled.

# Test: Search for the complete command line arguments in the mariadb-exporter configuration.
rg --type yaml --context 10 $'mariadb-exporter' | rg 'command'

Length of output: 85

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Use mariadb + split repository layer
1 participant