|
Monitoring System 0.1.0
System resource monitoring with pluggable collectors and alerting
|
Factory for creating storage backends. More...
#include <storage_backends.h>

Static Public Member Functions | |
| static std::unique_ptr< snapshot_storage_backend > | create_backend (const storage_config &config) |
| Create a storage backend based on configuration. | |
| static std::vector< storage_backend_type > | get_supported_backends () |
| Get list of supported backend types. | |
Factory for creating storage backends.
Definition at line 435 of file storage_backends.h.
|
inlinestatic |
Create a storage backend based on configuration.
| config | Storage configuration |
Definition at line 442 of file storage_backends.h.
References kcenon::monitoring::cloud_azure_blob, kcenon::monitoring::cloud_gcs, kcenon::monitoring::cloud_s3, kcenon::monitoring::database_mysql, kcenon::monitoring::database_postgresql, kcenon::monitoring::database_sqlite, kcenon::monitoring::file_binary, kcenon::monitoring::file_csv, kcenon::monitoring::file_json, kcenon::monitoring::memory_buffer, and kcenon::monitoring::storage_config::type.
Referenced by kcenon::monitoring::create_cloud_storage(), kcenon::monitoring::create_database_storage(), kcenon::monitoring::create_file_storage(), and TEST_F().

|
inlinestatic |
Get list of supported backend types.
Definition at line 471 of file storage_backends.h.
References kcenon::monitoring::cloud_azure_blob, kcenon::monitoring::cloud_gcs, kcenon::monitoring::cloud_s3, kcenon::monitoring::database_mysql, kcenon::monitoring::database_postgresql, kcenon::monitoring::database_sqlite, kcenon::monitoring::file_binary, kcenon::monitoring::file_csv, kcenon::monitoring::file_json, and kcenon::monitoring::memory_buffer.
Referenced by TEST_F().
