First Commit
This commit is contained in:
commit
dbdc5bcc4a
1791 files changed
+489451
No files matched your search
@@ -0,0 +1,13 @@
|
||||
#include "prometheus/simpleapi.h"
|
||||
|
||||
#include <memory>
|
||||
|
||||
namespace prometheus {
|
||||
namespace simpleapi {
|
||||
|
||||
std::shared_ptr<Registry> registry_ptr = std::make_shared<Registry>();
|
||||
Registry& registry = *registry_ptr;
|
||||
SaveToFile saver(registry_ptr, std::chrono::seconds(5), std::string("./metrics.prom"));
|
||||
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user