Crate nano_gcp_logging

Crate nano_gcp_logging 

Source
Expand description

A custom logging layer for sending logs to Google Cloud Logging using the tracing and tracing-subscriber crates. This layer captures log events, enriches them with metadata about the running environment, and sends them to Google Cloud Logging. (C) 2025 Enzo Lombardi

Structs§

ContainerMetadata
Metadata for a container, capturing its ID and name
GcpLoggingLayer
Custom logging layer for sending logs to Google Cloud Logging
InstanceMetadata
Metadata for a Google Compute Engine instance
LogContextMetadata
Comprehensive logging context metadata

Functions§

collect_log_metadata
Collect comprehensive log metadata for the current instance