You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I propose adding documentation to this repo which demonstrates how to programmatically access Loki logs from within Nebari (e.g. from a Nebari jupyter notebook). I have linked a PR in the comments which adds this documentation via an example Python program.
Shout-out to @aktech for creating the implementation; I only cleaned it up a bit and re-validated that it works.
User benefit
Users can use this example to create their own log analysis and introspection capabilities. These capabilities can help Nebari app creators and users debug their own apps, and can also help Nebari administrators and advanced users debug Nebari itself.
Release notes headline could be: Added example demonstrating programmatic introspection of Nebari logs.
Design Proposal
I propose updating nebari-docs to include a section on Programmatic Log Access, along with a working Python example implementation (user must set their own Nebari URL and Grafana token). In the comments I have linked my PR which adds this documentation.
Alternatives or approaches considered (if any)
Best practices
User impact
Documentation change only, no user-facing functionality changes.
Unresolved questions
The text was updated successfully, but these errors were encountered:
Updating docs usually doesn't require an RFD. We don't want to make contributors go through the hassle of an RFD for smaller changes. Thanks for opening the issue!
Adam-D-Lewis
changed the title
RFD - Programmatic Loki access
Programmatic Loki access
Sep 10, 2024
Documentation Demonstrating Loki Programmatic Access
Summary
I propose adding documentation to this repo which demonstrates how to programmatically access Loki logs from within Nebari (e.g. from a Nebari jupyter notebook). I have linked a PR in the comments which adds this documentation via an example Python program.
Shout-out to @aktech for creating the implementation; I only cleaned it up a bit and re-validated that it works.
User benefit
Users can use this example to create their own log analysis and introspection capabilities. These capabilities can help Nebari app creators and users debug their own apps, and can also help Nebari administrators and advanced users debug Nebari itself.
Release notes headline could be: Added example demonstrating programmatic introspection of Nebari logs.
Design Proposal
I propose updating nebari-docs to include a section on Programmatic Log Access, along with a working Python example implementation (user must set their own Nebari URL and Grafana token). In the comments I have linked my PR which adds this documentation.
Alternatives or approaches considered (if any)
Best practices
User impact
Documentation change only, no user-facing functionality changes.
Unresolved questions
The text was updated successfully, but these errors were encountered: