|
iceberg-cpp
|
Define metrics counters. More...
#include <atomic>#include <cstdint>#include <memory>#include <string_view>#include <utility>#include "iceberg/iceberg_export.h"#include "iceberg/result.h"#include "iceberg/util/string_util.h"Go to the source code of this file.
Classes | |
| class | iceberg::Counter |
| Abstract counter for tracking event totals. More... | |
| class | iceberg::DefaultCounter |
| Thread-safe counter backed by std::atomic<int64_t>. More... | |
Namespaces | |
| namespace | iceberg |
| Core Apache Iceberg C++ APIs. | |
Enumerations | |
| enum class | iceberg::CounterUnit { kCount , kBytes , kUndefined } |
| Unit for a Counter metric. | |
Functions | |
| ICEBERG_EXPORT constexpr std::string_view | iceberg::ToString (CounterUnit unit) noexcept |
| String representation of a CounterUnit. | |
| ICEBERG_EXPORT Result< CounterUnit > | iceberg::CounterUnitFromString (std::string_view s) |
| Parse a CounterUnit from a string. | |
Define metrics counters.