Skip to content

Commit

Permalink
Cleaning up code
Browse files Browse the repository at this point in the history
  • Loading branch information
dnarula-mw committed Nov 2, 2023
1 parent 3e9a03f commit ee27f2b
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 3 deletions.
2 changes: 1 addition & 1 deletion sdk/metrics/+opentelemetry/+sdk/+metrics/MeterProvider.m
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@

methods
function obj = MeterProvider(reader, optionnames, optionvalues)
% SDK implementation of tracer provider
% SDK implementation of meter provider
% MP = OPENTELEMETRY.SDK.METRICS.METERPROVIDER creates a meter
% provider that uses a periodic exporting metric reader and default configurations.
%
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,6 @@ namespace nostd = opentelemetry::nostd;
namespace metrics_sdk = opentelemetry::sdk::metrics;
namespace common = opentelemetry::common;
namespace otlpexporter = opentelemetry::exporter::otlp;
namespace resource = opentelemetry::sdk::resource;


namespace libmexclass::opentelemetry::sdk {
Expand Down
2 changes: 1 addition & 1 deletion sdk/metrics/src/MeterProviderProxy.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ libmexclass::proxy::MakeResult MeterProviderProxy::make(const libmexclass::proxy

libmexclass::proxy::MakeResult out;
if (constructor_arguments.getNumberOfElements() == 1) {
// if only one input, assume it is an API Tracer Provider to support type conversion
// if only one input, assume it is an API Meter Provider to support type conversion
matlab::data::TypedArray<uint64_t> mpid_mda = constructor_arguments[0];
libmexclass::proxy::ID mpid = mpid_mda[0];
auto mp = std::static_pointer_cast<libmexclass::opentelemetry::MeterProviderProxy>(
Expand Down

0 comments on commit ee27f2b

Please sign in to comment.