@donvietnam/pino-pretty-lens-extension
v1.0.0
Published
An extension for open lens for easy viewing of logs in pino-pretty format.
Downloads
4
Maintainers
Readme
pino-pretty-lens-extension
The pino-pretty-lens-extension provides a pino-pretty log viewer for Lens.
Inspiration came from the bunyan-lens-ext extension.
Features
This plugin adds a menu item to the Pods menu in Lens. When clicked, it will open a new terminal with the pino-pretty log viewer.
Requirements
Install pino-pretty globally:
npm install -g pino-pretty
Installation Instructions
Start the Lens is running, and follow these simple steps:
- Go to Extensions view (Menu -> File -> Extensions)
- Enter the name of this extension,
@donvietnam/pino-pretty-lens-extension
- Click on the Install button
- Make sure the extension is enabled (Lens → Extensions)
You may need to refresh (or re-open) Lens for the plugin to render the menu item. This may be necessary if Lens is already open on the Pods workload.
Release Notes
1.0.0
Initial release of the pino-pretty-lens-extension contains minimal functionality and allows
for the viewing of Logs through the use of the pino-pretty
command line tool.