mirror of
https://github.com/qdrant/qdrant.git
synced 2026-08-06 10:00:58 -05:00
Report usage of RocksDB feature flag in telemetry (#6666)
* Report usage of RocksDB feature flag in telemetry * Update OpenAPI spec
This commit is contained in:
@@ -11268,6 +11268,7 @@
|
||||
"debug",
|
||||
"gpu",
|
||||
"recovery_mode",
|
||||
"rocksdb",
|
||||
"service_debug_feature"
|
||||
],
|
||||
"properties": {
|
||||
@@ -11282,6 +11283,9 @@
|
||||
},
|
||||
"gpu": {
|
||||
"type": "boolean"
|
||||
},
|
||||
"rocksdb": {
|
||||
"type": "boolean"
|
||||
}
|
||||
}
|
||||
},
|
||||
|
||||
@@ -26,6 +26,7 @@ pub struct AppFeaturesTelemetry {
|
||||
pub service_debug_feature: bool,
|
||||
pub recovery_mode: bool,
|
||||
pub gpu: bool,
|
||||
pub rocksdb: bool,
|
||||
}
|
||||
|
||||
#[derive(Serialize, Clone, Debug, JsonSchema, Anonymize)]
|
||||
@@ -78,6 +79,7 @@ impl AppBuildTelemetry {
|
||||
service_debug_feature: cfg!(feature = "service_debug"),
|
||||
recovery_mode: settings.storage.recovery_mode.is_some(),
|
||||
gpu: cfg!(feature = "gpu"),
|
||||
rocksdb: cfg!(feature = "rocksdb"),
|
||||
}),
|
||||
system: (detail.level >= DetailsLevel::Level1).then(get_system_data),
|
||||
jwt_rbac: settings.service.jwt_rbac,
|
||||
|
||||
Reference in New Issue
Block a user