-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #14 from mathworks/changes_after_v_1_2_0
Changes after v 1 2 0
- Loading branch information
Showing
23 changed files
with
390 additions
and
178 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
21 changes: 21 additions & 0 deletions
21
api/common/include/opentelemetry-matlab/common/ProcessedAttributes.h
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
// Copyright 2023 The MathWorks, Inc. | ||
|
||
#pragma once | ||
|
||
#include "opentelemetry/common/attribute_value.h" | ||
#include "opentelemetry/nostd/string_view.h" | ||
|
||
#include <list> | ||
|
||
namespace common = opentelemetry::common; | ||
namespace nostd = opentelemetry::nostd; | ||
|
||
namespace libmexclass::opentelemetry { | ||
|
||
struct ProcessedAttributes { | ||
std::list<std::pair<std::string, common::AttributeValue> > Attributes; | ||
std::list<std::vector<double> > DimensionsBuffer; // list of vector, to hold the dimensions of array attributes | ||
std::list<std::string> StringBuffer; // list of strings as a buffer to hold the string attributes | ||
std::list<std::vector<nostd::string_view> > StringViewBuffer; // list of vector of strings views, used for string array attributes only | ||
}; | ||
} // namespace libmexclass::opentelemetry |
Oops, something went wrong.