Guance Learn

Observability questions

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

Illustration of Git branches and version history
Technical guide

List local Git commits that have not reached the remote

Compare your branch with its upstream, inspect commits absent from fetched remote refs, and distinguish commit identity from patch equivalence.

Illustration of files, modules, and their dependencies
Technical guide

List installed npm packages

Inspect local and global npm dependencies, expand the full tree when needed, and interpret missing, invalid, or extraneous packages.

Illustration of server operations and log analysis
Explainer

Find Docker daemon logs

Locate dockerd diagnostics on systemd, rootless, and Docker Desktop installations, and keep them separate from application container logs.

Illustration of monitoring and troubleshooting application behavior
Explainer

Record slow operations and query profiles in MongoDB

Configure MongoDB slow-operation logging and database profiling, then inspect system.profile without confusing it with the diagnostic log.

Illustration of monitoring and troubleshooting application behavior
Explainer

Log slow queries or all statements in MySQL

Enable MySQL slow-query logging, understand session thresholds, and use the general query log for bounded investigations.

Illustration of monitoring and troubleshooting application behavior
Explainer

Log slow queries or all statements in PostgreSQL

Choose PostgreSQL statement logging and duration thresholds, reload the right settings, and add enough context to investigate slow queries.

Illustration of monitoring and troubleshooting application behavior
Explainer

Inspect slow commands and live command traffic in Redis

Configure the Redis in-memory slow log in microseconds, inspect recent entries, and use MONITOR with clear limits on overhead and coverage.

Python programming and application logging
Explainer

Log HTTP requests made with Python Requests

Use urllib3 diagnostics or Requests response hooks, understand which failures and payloads they omit, and avoid exposing credentials in HTTP logs.

Illustration of scheduled jobs, logs and Linux operations
Explainer

Record cron job output and completion status

Capture stdout and stderr, preserve exit codes, and keep application results distinct from cron scheduler events.

Python programming and application logging
Explainer

Write structured JSON logs in Python

Choose a JSON logging package or a custom formatter, preserve exception details and event timestamps, and validate fields before sending logs to a collector.

Illustration of monitoring and troubleshooting application behavior
Explainer

Write JSON logs in Laravel

Configure a Laravel daily log channel with Monolog JSON formatting, preserve exception traces explicitly, and validate one event per line before collection.

Log monitoring illustration
Explainer

Send browser JavaScript errors to Kibana

Capture browser errors and rejected promises, send them through a controlled collection endpoint, and analyze them in Kibana.