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

Various updates to observabilty library #993

Merged
merged 3 commits into from
Jan 13, 2025
Merged

Various updates to observabilty library #993

merged 3 commits into from
Jan 13, 2025

Conversation

leeyikjiun
Copy link
Collaborator

@leeyikjiun leeyikjiun commented Jan 13, 2025

Changes

  • Add text panel
  • Make Title and Decimals in panel nullable
  • Add LineWidth and DrawStyle to time series panel
  • Add more configs to log panel
  • Add Hide to custom variable
  • Add timezone and graph tooltip to dashboard builder

Notes

Making title and decimals nullable is a BREAKING CHANGE.

  • Sometimes an empty title is needed to have a dummy panel to fill the available space.
  • Leaving the decimal as nil which will become auto in Grafana is better than manually figuring out the real dp.

Comment on lines +496 to +498
if options.EnableLogDetails == nil {
options.EnableLogDetails = Pointer[bool](true)
}
Copy link
Collaborator

Choose a reason for hiding this comment

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

So we enable by default log details

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Yes, most of the defaults that I have added are the same defaults if you were to use the UI.

@Atrax1 Atrax1 requested review from a team, krehermann and patrickhuie19 and removed request for a team January 13, 2025 11:34
- Add text panel
- Make Title and Decimals in panel nullable
- Add LineWidth and DrawStyle to time series panel
- Add more configs to log panel
- Add Hide to custom variable
@Atrax1 Atrax1 merged commit 373e889 into main Jan 13, 2025
12 checks passed
@Atrax1 Atrax1 deleted the obs-lib-updates branch January 13, 2025 17:03
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