#pragma once #include #include #include #include #include namespace DB { /// Provides information about Graphite configuration. class StorageSystemGraphite final : public IStorageSystemOneBlock { public: std::string getName() const override { return "SystemGraphite"; } static ColumnsDescription getColumnsDescription(); struct Config { Graphite::Params graphite_params; Array databases; Array tables; }; using Configs = std::map; protected: using IStorageSystemOneBlock::IStorageSystemOneBlock; void fillData(MutableColumns & res_columns, ContextPtr context, const ActionsDAG::Node *, std::vector) const override; }; }