Skip to content

Commit

Permalink
build failure
Browse files Browse the repository at this point in the history
  • Loading branch information
lalitb committed Nov 10, 2021
1 parent 96ee875 commit d17ea27
Showing 1 changed file with 0 additions and 60 deletions.
60 changes: 0 additions & 60 deletions api/include/opentelemetry/metrics/noop.h
Original file line number Diff line number Diff line change
Expand Up @@ -134,16 +134,6 @@ class NoopMeter final : public Meter
new NoopObservableCounter<long>(name, callback, description, unit)};
}

nostd::shared_ptr<ObservableCounter<long>> CreateLongObservableCounter(
nostd::string_view name,
void (*callback)(ObserverResult<long> &, const common::KeyValueIterable &),
nostd::string_view description = "",
nostd::string_view unit = "") noexcept override
{
return nostd::shared_ptr<ObservableCounter<long>>{
new NoopObservableCounter<long>(name, callback, description, unit)};
}

nostd::shared_ptr<ObservableCounter<double>> CreateDoubleObservableCounter(
nostd::string_view name,
void (*callback)(ObserverResult<double> &),
Expand All @@ -154,16 +144,6 @@ class NoopMeter final : public Meter
new NoopObservableCounter<double>(name, callback, description, unit)};
}

nostd::shared_ptr<ObservableCounter<double>> CreateDoubleObservableCounter(
nostd::string_view name,
void (*callback)(ObserverResult<double> &, const common::KeyValueIterable &),
nostd::string_view description = "",
nostd::string_view unit = "") noexcept override
{
return nostd::shared_ptr<ObservableCounter<double>>{
new NoopObservableCounter<double>(name, callback, description, unit)};
}

nostd::shared_ptr<Histogram<long>> CreateLongHistogram(
nostd::string_view name,
nostd::string_view description = "",
Expand All @@ -190,16 +170,6 @@ class NoopMeter final : public Meter
new NoopObservableGauge<long>(name, callback, description, unit)};
}

nostd::shared_ptr<ObservableGauge<long>> CreateLongObservableGauge(
nostd::string_view name,
void (*callback)(ObserverResult<long> &, const common::KeyValueIterable &),
nostd::string_view description = "",
nostd::string_view unit = "") noexcept override
{
return nostd::shared_ptr<ObservableGauge<long>>{
new NoopObservableGauge<long>(name, callback, description, unit)};
}

nostd::shared_ptr<ObservableGauge<double>> CreateDoubleObservableGauge(
nostd::string_view name,
void (*callback)(ObserverResult<double> &),
Expand All @@ -210,16 +180,6 @@ class NoopMeter final : public Meter
new NoopObservableGauge<double>(name, callback, description, unit)};
}

nostd::shared_ptr<ObservableGauge<double>> CreateDoubleObservableGauge(
nostd::string_view name,
void (*callback)(ObserverResult<double> &, const common::KeyValueIterable &),
nostd::string_view description = "",
nostd::string_view unit = "") noexcept override
{
return nostd::shared_ptr<ObservableGauge<double>>{
new NoopObservableGauge<double>(name, callback, description, unit)};
}

nostd::shared_ptr<UpDownCounter<long>> CreateLongUpDownCounter(
nostd::string_view name,
nostd::string_view description = "",
Expand Down Expand Up @@ -248,16 +208,6 @@ class NoopMeter final : public Meter
new NoopObservableUpDownCounter<long>(name, callback, description, unit)};
}

nostd::shared_ptr<ObservableUpDownCounter<long>> CreateLongObservableUpDownCounter(
nostd::string_view name,
void (*callback)(ObserverResult<long> &, const common::KeyValueIterable &),
nostd::string_view description = "",
nostd::string_view unit = "") noexcept override
{
return nostd::shared_ptr<ObservableUpDownCounter<long>>{
new NoopObservableUpDownCounter<long>(name, callback, description, unit)};
}

nostd::shared_ptr<ObservableUpDownCounter<double>> CreateDoubleObservableUpDownCounter(
nostd::string_view name,
void (*callback)(ObserverResult<double> &),
Expand All @@ -267,16 +217,6 @@ class NoopMeter final : public Meter
return nostd::shared_ptr<ObservableUpDownCounter<double>>{
new NoopObservableUpDownCounter<double>(name, callback, description, unit)};
}

nostd::shared_ptr<ObservableUpDownCounter<double>> CreateDoubleObservableUpDownCounter(
nostd::string_view name,
void (*callback)(ObserverResult<double> &, const common::KeyValueIterable &),
nostd::string_view description = "",
nostd::string_view unit = "") noexcept override
{
return nostd::shared_ptr<ObservableUpDownCounter<double>>{
new NoopObservableUpDownCounter<double>(name, callback, description, unit)};
}
};

/**
Expand Down

0 comments on commit d17ea27

Please sign in to comment.