Guance Learn

Observability questions

Focused answers for definitions, architecture choices, troubleshooting, pricing, and evaluation.

Illustration of files, modules, and their dependencies
Technical guide

Uninstall npm packages cleanly

Remove local or global npm dependencies, review manifest and lockfile changes, and understand why shared transitive packages may remain.

Illustration of application modules working together
Technical guide

Update package.json dependencies to newer releases

Preview upgrades with npm-check-updates, revise dependency ranges in controlled batches, and validate the resulting lock file.

Illustration of Git branches and version history
Technical guide

Sync a GitHub fork with its upstream repository

Fetch from the original repository, update the correct branch, and push to your fork without assuming local commits or branch renames disappear automatically.

Illustration of files, modules, and their dependencies
Technical guide

Update Node.js and npm safely

Identify the active installation, choose a supported Node release, check npm compatibility, and validate the project before rolling out an upgrade.

Illustration of an event loop and asynchronous tasks
Technical guide

Upgrade Node.js on macOS

Update Node with its existing installation manager, avoid conflicting paths, and verify the runtime architecture and project compatibility.

Illustration of server operations and request logs
Explainer

Use environment variables in Nginx configuration

Render configuration templates before startup, preserve Nginx variables, and understand what the env directive actually does.

Illustration of files, modules, and their dependencies
Technical guide

Run executables from local npm packages

Run project tools through npm scripts or npm exec, understand bin links, and avoid accidentally downloading a different command version.

Propagate MDC safely through Java thread pools
Technical guide

Propagate MDC safely through Java thread pools

Capture MDC when submitting work, install it before execution, and restore the prior context to prevent leakage across reused threads.

Illustration accompanying a Node.js development guide
Technical guide

Use multiple Node.js versions on one computer

Switch Node.js versions with nvm, record a project version, and keep local shells, editors, and CI using the intended runtime.

Illustration accompanying a Node.js development guide
Technical guide

Run a simple web server with Node.js

Serve an HTTP response with Node.js, add a small route, or preview a static directory with a dedicated server.

Illustration of metrics, monitoring, and technical investigation
Technical guide

Use the selected Grafana time range in a Prometheus query

Separate the dashboard range, lookback window, query step, and evaluation time when building PromQL panels.

Secure network connections and certificate management
Technical guide

Verify TLS certificates from the command line

Check certificate chains, hostname coverage, and server purpose with OpenSSL, while distinguishing trust anchors, intermediates, and revocation checks.