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

fix: use severity_number to determine severity_text_type #4694

Closed

Conversation

DanikRaikhlin
Copy link

Summary

Add .NET notations for SEVERITY_TEXT_TYPE and use them to fix log level coloring.

Related Issues / PR's

Issue : #4693

Screenshots

image

@DanikRaikhlin DanikRaikhlin requested a review from YounixM as a code owner March 13, 2024 21:19
Copy link

welcome bot commented Mar 13, 2024

Welcome to the SigNoz community! Thank you for your first pull request and making this project better. 🤗

@CLAassistant
Copy link

CLAassistant commented Mar 13, 2024

CLA assistant check
All committers have signed the CLA.

@srikanthccv
Copy link
Member

Hello, I would solve this issue differently. I would use the severity_number to show the relevant colour schema for logs. This will work regardless of the severity text which can be an arbitrary string and varies from one system to another.

@DanikRaikhlin
Copy link
Author

@srikanthccv I fully agree that would be a better solution, I'll adjust the PR.

@DanikRaikhlin DanikRaikhlin changed the title Extend SEVERITY_TEXT_TYPE with .NET notation of log levels. Use severity_number to determine SEVERITY_TEXT_TYPE. Mar 22, 2024
@DanikRaikhlin
Copy link
Author

PR updated to use severity_number

@srikanthccv
Copy link
Member

LGTM, i'll let the owners of the code review it.

@DanikRaikhlin DanikRaikhlin changed the title Use severity_number to determine SEVERITY_TEXT_TYPE. fix: use severity_number to determine severity_text_type Apr 15, 2024
@DanikRaikhlin
Copy link
Author

@srikanthccv is there something I can do to progress the PR or is this PR not desired?

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.

3 participants