Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -50,3 +50,4 @@
/build

tags
.cache/clangd/*
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,8 @@ class MetricStorage
opentelemetry::sdk::instrumentationlibrary::InstrumentationLibrary *instrumentation_library,
opentelemetry::sdk::resource::Resource *resource,
nostd::function_ref<bool(MetricData &)> callback) noexcept = 0;

virtual ~MetricStorage() = default;
};

class WritableMetricStorage
Expand All @@ -38,6 +40,7 @@ class WritableMetricStorage

virtual void RecordDouble(double value,
const opentelemetry::common::KeyValueIterable &attributes) noexcept = 0;
virtual ~WritableMetricStorage() = default;
};

class NoopMetricStorage : public MetricStorage
Expand Down