-
Notifications
You must be signed in to change notification settings - Fork 0
Open
Description
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:
- 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.
- Add options to enable/disable traces and metrics in
-
Documentation:
- Provide usage examples, configuration instructions, and sample
.envsettings.
- Provide usage examples, configuration instructions, and sample
Acceptance Criteria
- Traces included in
sloglog entries. - Metrics generated from logs and sent to Google Cloud Monitoring.
- Documentation with examples and setup instructions.
Metadata
Metadata
Assignees
Labels
No labels