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

feat: add new features to hiro-system-kit #1396

Merged
merged 6 commits into from
Apr 8, 2024

Conversation

MicaiahReid
Copy link
Contributor

@MicaiahReid MicaiahReid commented Mar 27, 2024

Chainhook needs a debug log level that still uses slog_json when built in release mode. This PR adds a new feature to accomplish this.

Additionally, Grafana has set log levels that it uses for parsing logs. Currently the devops team has custom patches to support parsing logs from hiro system kit, because it abbreviates log prefixes in weird ways (DEBUG => DEBG, ERROR => ERRO). This PR also adds a feature, full_log_level_prefix, which just has slog log the full prefix, which will allow devops to remove this custom patches.

@MicaiahReid MicaiahReid requested a review from lgalabru March 27, 2024 17:40
Copy link

codecov bot commented Mar 27, 2024

Codecov Report

Attention: Patch coverage is 0% with 54 lines in your changes are missing coverage. Please review.

Project coverage is 40.85%. Comparing base (ccd68f7) to head (51f484c).

Files Patch % Lines
components/hiro-system-kit/src/log/mod.rs 0.00% 54 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main    #1396      +/-   ##
==========================================
- Coverage   40.91%   40.85%   -0.07%     
==========================================
  Files          87       87              
  Lines       32519    32567      +48     
==========================================
  Hits        13305    13305              
- Misses      19214    19262      +48     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

hugocaillard
hugocaillard previously approved these changes Mar 27, 2024
Copy link
Collaborator

@hugocaillard hugocaillard left a comment

Choose a reason for hiding this comment

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

LGTM

lgalabru
lgalabru previously approved these changes Mar 27, 2024
Copy link
Contributor

@lgalabru lgalabru left a comment

Choose a reason for hiding this comment

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

LGTM!

@MicaiahReid MicaiahReid changed the title feat: add debug log level release feature to hiro system kit feat: add new features to hiro-system-kit Mar 27, 2024
@MicaiahReid MicaiahReid dismissed stale reviews from lgalabru and hugocaillard via 3ffff16 March 27, 2024 19:24
lgalabru
lgalabru previously approved these changes Mar 27, 2024
@hugocaillard hugocaillard force-pushed the feat-hiro-system-kit-level branch from 77263f7 to 51f484c Compare April 4, 2024 13:03
@MicaiahReid MicaiahReid requested a review from hugocaillard April 4, 2024 13:31
Copy link
Collaborator

@hugocaillard hugocaillard left a comment

Choose a reason for hiding this comment

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

@MicaiahReid MicaiahReid merged commit 423635d into main Apr 8, 2024
19 checks passed
@MicaiahReid MicaiahReid deleted the feat-hiro-system-kit-level branch April 8, 2024 15:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Archived in project
Development

Successfully merging this pull request may close these issues.

3 participants