28 questions for “Logging & Monitoring”

Found in 1 field. Select a question to see its full answer.

Information Technology

28 questions in 4 technologies

#QuestionTechnologyTopicLevel
1What is an APM (Application Performance Monitoring) tool, and what capabilities does it typically add beyond basic logging? Node.js › Logging & MonitoringNode.jsLogging & MonitoringIntermediate
2Why is structured (JSON) logging generally preferred over plain-text console.log() statements in a production Node.js application? Node.js › Logging & MonitoringNode.jsLogging & MonitoringBeginner
3What is log level (debug, info, warn, error), and how do you configure a logger like Pino or Winston to filter output by level per environment? Node.js › Logging & MonitoringNode.jsLogging & MonitoringIntermediate
4How would you implement request correlation IDs to trace a single request's logs across multiple log lines and services? Node.js › Logging & MonitoringNode.jsLogging & MonitoringIntermediate
5How would you implement distributed tracing across multiple Node.js microservices using OpenTelemetry? Node.js › Logging & MonitoringNode.jsLogging & MonitoringAdvanced
6What is the risk of exposing a raw error's stack trace in an API response, and how do you prevent it while still logging full details server-side? Node.js › Error HandlingNode.jsError HandlingIntermediate
7What is the DEBUG environment variable convention (popularized by the 'debug' npm package), and how does it let you enable verbose logging selectively? Node.js › Debugging & DiagnosticsNode.jsDebugging & DiagnosticsIntermediate
8What is the risk of accidentally logging or exposing environment variables that contain secrets, and how do you prevent it? Node.js › Environment Variables & ConfigurationNode.jsEnvironment Variables & ConfigurationIntermediate
9What is monkey-patching in the context of Node.js APM (Application Performance Monitoring) tools, and what are its risks? Node.js › Advanced Node.jsNode.jsAdvanced Node.jsAdvanced
10What is observability (as distinct from traditional monitoring), and what are its three commonly cited pillars? Node.js › Cloud & DevOpsNode.jsCloud & DevOpsAdvanced