You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Enhance slog by adding support for Google Cloud Logging, Traces and Metrics, allowing it to capture traces and send custom metrics directly to Google Cloud Monitoring with particular logs. This will improve observability by correlating logs with distributed traces and creating log-based metrics.
Requirements
Trace Information in Log payload:
Automatically capture trace and span ids from context and include them in logs.
Metrics Information in Log payload:
Push metrics based on log entries (e.g., error counts, latency) to Google Cloud Monitoring, with customizable labels.
Config Options:
Add options to enable/disable traces and metrics in slog.
Documentation:
Provide usage examples, configuration instructions, and sample .env settings.
Acceptance Criteria
Traces included in slog log entries.
Metrics generated from logs and sent to Google Cloud Monitoring.
Documentation with examples and setup instructions.
The text was updated successfully, but these errors were encountered:
Description
Enhance
slog
by adding support for Google Cloud Logging, Traces and Metrics, allowing it to capture traces and send custom metrics directly to Google Cloud Monitoring with particular logs. This will improve observability by correlating logs with distributed traces and creating log-based metrics.Requirements
Trace Information in Log payload:
Metrics Information in Log payload:
Config Options:
slog
.Documentation:
.env
settings.Acceptance Criteria
slog
log entries.The text was updated successfully, but these errors were encountered: