Skip to content

Commit

Permalink
[Metrics SDK] Remove un-necessary files. (#1379)
Browse files Browse the repository at this point in the history
lalitb authored May 7, 2022

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
1 parent 0d27a43 commit 02630e0
Show file tree
Hide file tree
Showing 4 changed files with 2 additions and 54 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -7,11 +7,9 @@
# include <iostream>
# include <string>
# include "opentelemetry/common/spin_lock_mutex.h"
# include "opentelemetry/nostd/span.h"
# include "opentelemetry/sdk/metrics/data/metric_data.h"
# include "opentelemetry/sdk/metrics/instruments.h"
# include "opentelemetry/sdk/metrics/metric_exporter.h"
# include "opentelemetry/sdk/metrics/recordable.h"
# include "opentelemetry/version.h"

OPENTELEMETRY_BEGIN_NAMESPACE
Expand All @@ -28,7 +26,7 @@ class OStreamMetricExporter final : public opentelemetry::sdk::metrics::MetricEx
public:
/**
* Create an OStreamMetricExporter. This constructor takes in a reference to an ostream that the
* export() function will send span data into.
* export() function will send metrics data into.
* The default ostream is set to stdout
*/
explicit OStreamMetricExporter(std::ostream &sout = std::cout) noexcept;
Expand Down
24 changes: 0 additions & 24 deletions sdk/include/opentelemetry/sdk/metrics/aggregator/aggregator.h

This file was deleted.

2 changes: 1 addition & 1 deletion sdk/include/opentelemetry/sdk/metrics/metric_exporter.h
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ class MetricExporter
virtual ~MetricExporter() = default;

/**
* Exports a batch of metrics recordables. This method must not be called
* Exports a batch of metrics data. This method must not be called
* concurrently for the same exporter instance.
* @param data metrics data
*/
Expand Down
26 changes: 0 additions & 26 deletions sdk/include/opentelemetry/sdk/metrics/recordable.h

This file was deleted.

0 comments on commit 02630e0

Please sign in to comment.