Skip to content

Conversation

tamassoltesz
Copy link
Contributor

Summary of change

(A few sentences about this PR)

Related issues

  • Link to issue1 here
  • Link to issue1 here

Checklist for important updates

  • Changelog has been updated
  • Changes to the version if needed
    • In build.gradle
  • Had installed and ran the pre-commit hook
  • Issue this PR against the latest non released version branch.
    • To know which one it is, run find the latest released tag (git tag) in the format vX.Y.Z, and then find the
      latest branch (git branch --all) whose X.Y is greater than the latest released tag.
    • If no such branch exists, then create one from the latest released branch.

Remaining TODOs for this PR

  • Item1
  • Item2

@@ -52,7 +53,7 @@ void loadConfig(JsonObject jsonConfig, Set<LOG_LEVEL> logLevels, TenantIdentifie
// then this function should throw an error since this is a misconfig from ther user's side.
void assertThatConfigFromSameUserPoolIsNotConflicting(JsonObject otherConfig) throws InvalidConfigException;

void initFileLogging(String infoLogPath, String errorLogPath);
void initFileLogging(String infoLogPath, String errorLogPath, OtelProvider otelProvider);
Copy link

Choose a reason for hiding this comment

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

API Breaking Change: Modifying the initFileLogging method signature adds a required parameter that will break backward compatibility with existing implementations of the Storage interface. Consider one of these approaches:

  1. Create an overloaded method that maintains the original signature and internally calls the new implementation with a default value
  2. Provide a default implementation (if using Java 8+)
  3. Ensure all implementations are updated simultaneously with this change

This change requires careful coordination to prevent runtime errors when existing code calls this interface method.

Suggested change
void initFileLogging(String infoLogPath, String errorLogPath, OtelProvider otelProvider);
void initFileLogging(String infoLogPath, String errorLogPath);
void initFileLogging(String infoLogPath, String errorLogPath, OtelProvider otelProvider);

Spotted by Diamond

Is this helpful? React 👍 or 👎 to let us know.

CHANGELOG.md Outdated
@@ -7,6 +7,10 @@ to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).

## [Unreleased]

## [8.0.3]
Copy link

Choose a reason for hiding this comment

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

Version inconsistency between changelog and build.gradle

There's a discrepancy in the version numbers:

  • Changelog shows 8.0.3
  • build.gradle is being updated to 8.1.0

These should be aligned to maintain clear versioning. Since adding OpenTelemetry support appears to be a feature addition, the 8.1.0 version in build.gradle follows semantic versioning correctly. Consider updating the changelog to match this version number.

Suggested change
## [8.0.3]
## [8.1.0]

Spotted by Diamond

Fix in Graphite


Is this helpful? React 👍 or 👎 to let us know.

@sattvikc sattvikc changed the base branch from 8.0 to 8.1 August 28, 2025 12:11
@sattvikc sattvikc merged commit f4ad1a4 into 8.1 Aug 28, 2025
4 checks passed
@sattvikc sattvikc deleted the feat/hikari_logs_to_otel branch August 28, 2025 12:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants