Guance Learn

Observability questions

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

Illustration of Git branches and version history
Technical guide

Write a .gitignore for a Visual Studio project

Ignore Visual Studio build output and user state while keeping solution files, project definitions, and intentional shared editor configuration.

Illustration of application infrastructure and operations
Technical guide

Allow Guance synthetic monitoring through a cloud firewall

Use verified probe source addresses, protocols, and ports to allow synthetic checks through DigitalOcean Cloud Firewalls and diagnose remaining failures.

Customize Gunicorn access logs
Explainer

Customize Gunicorn access logs

Choose Gunicorn access-log fields, include request duration, and understand why a JSON-shaped format string is not a JSON serializer.

Illustration of log collection and monitoring
Explainer

What do #012 and #015 mean in rsyslog?

Identify rsyslog’s octal escapes for LF and CR, normalize a selected output, and avoid confusing literal escape text with control characters.

Illustration of log collection and monitoring
Explainer

Troubleshoot HAProxy logs missing from rsyslog

Trace HAProxy’s logging destination, rsyslog input, chroot socket, facility routing, and transport-specific tests.

Illustration of Git branches and version history
Technical guide

Reset a single Git file to HEAD

Restore one file in both the index and working tree, distinguish that from unstaging, and understand what Git can recover after an accidental overwrite.

Illustration of server operations and request logs
Explainer

Send Nginx access and error logs to stdout and stderr

Configure Nginx standard-stream logging for containers, preserve startup errors, and let the runtime manage log retention.

Illustration of Git branches and version history
Technical guide

Understand HEAD^ and HEAD~ in Git

Use caret notation to choose a parent and tilde notation to follow the first-parent chain, including merge histories and revision ranges.

Illustration of metrics, monitoring, and technical investigation
Explainer

Group Prometheus query results by label

Use by and without for label aggregation, keep counter reset handling intact, and avoid misleading averages.

Illustration of Linux system logging
Explainer

Export only the schema from PostgreSQL

Use pg_dump to export PostgreSQL definitions without table data, select tables or schemas, and restore the result into another database.

Log monitoring dashboard illustration
Explainer

Find Graylog messages by log level

Filter Graylog messages by syslog severity, combine levels with source filters, and check whether your pipeline stores numeric or textual levels.

Illustration of Git branches and version history
Technical guide

Generate a Git patch for a specific commit

Export a commit with format-patch, apply it with git am, or create a raw diff; understand metadata, binary files, and conflict handling.