Closed zyy17 closed 2 months ago
The pull request introduces a comprehensive logging configuration system across various components of the GreptimeDB project. It defines new types and constants for logging levels and formats, establishes a structured LoggingSpec
for configuration, and integrates logging settings into multiple specifications and components. Additionally, it modifies deployment logic to accommodate logging configurations, ensuring consistent handling of log data across the system.
Files | Change Summary |
---|---|
apis/v1alpha1/common.go , apis/v1alpha1/constants.go , apis/v1alpha1/defaulting.go , apis/v1alpha1/greptimedbcluster_types.go , apis/v1alpha1/greptimedbstandalone_types.go |
Introduced new logging types, constants, and a LoggingSpec struct, along with getter methods. |
apis/v1alpha1/testdata/... |
Added logging configurations in various YAML test files for multiple components. |
apis/v1alpha1/zz_generated.deepcopy.go |
Updated deep copy methods to include the new Logging field in relevant structs. |
config/crd/resources/... |
Added logging property to multiple resource configurations, defining sub-properties. |
controllers/... |
Introduced methods to manage logging volumes in pod templates based on logging configurations. |
docs/api-references/docs.md |
Added documentation for new logging fields and types in component specifications. |
pkg/dbconfig/... |
Modified various config structs to include LoggingConfig , integrating logging setup. |
π° In the land of logs, we now can see,
Levels and formats, as clear as can be!
With paths for our data, both neat and bright,
Our logging's now structured, a true delight!
So hop along, friends, letβs log with glee,
For GreptimeDB shines, as bright as can be! π
Thank you for using CodeRabbit. We offer it for free to the OSS community and would appreciate your support in helping us grow. If you find it useful, would you consider giving us a shout-out on your favorite social media?
Summary by CodeRabbit
New Features
frontend
,meta
, anddatanode
.GreptimeDBStandalone
andGreptimeDBCluster
specifications.Bug Fixes
Documentation
Tests