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
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ public void setup() {
// Effectively disable periodic reading so reading is only done on #flush()
.setInterval(Duration.ofSeconds(Integer.MAX_VALUE))
.build());
// Disable examplars
// Disable exemplars
SdkMeterProviderUtil.setExemplarFilter(builder, ExemplarFilter.alwaysOff());
sdkMeterProvider = builder.build();
histogram = sdkMeterProvider.get("meter").histogramBuilder("histogram").build();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@ public void setup() {

attributesList = AttributesGenerator.generate(cardinality);

// Disable examplars
// Disable exemplars
SdkMeterProviderUtil.setExemplarFilter(builder, ExemplarFilter.alwaysOff());

sdkMeterProvider = builder.build();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -186,7 +186,7 @@ void copyPoint(MemoryMode memoryMode) {
MutableDoublePointData pointData = (MutableDoublePointData) aggregator.createReusablePoint();

Attributes attributes = Attributes.of(AttributeKey.longKey("test"), 100L);
List<DoubleExemplarData> examplarsFrom =
List<DoubleExemplarData> exemplarsFrom =
Collections.singletonList(
ImmutableDoubleExemplarData.create(
attributes,
Expand All @@ -197,12 +197,12 @@ void copyPoint(MemoryMode memoryMode) {
TraceFlags.getDefault(),
TraceState.getDefault()),
1));
pointData.set(0, 1, attributes, 2000, examplarsFrom);
pointData.set(0, 1, attributes, 2000, exemplarsFrom);

MutableDoublePointData toPointData = (MutableDoublePointData) aggregator.createReusablePoint();

Attributes toAttributes = Attributes.of(AttributeKey.longKey("test"), 100L);
List<DoubleExemplarData> examplarsTo =
List<DoubleExemplarData> exemplarsTo =
Collections.singletonList(
ImmutableDoubleExemplarData.create(
attributes,
Expand All @@ -213,7 +213,7 @@ void copyPoint(MemoryMode memoryMode) {
TraceFlags.getDefault(),
TraceState.getDefault()),
2));
toPointData.set(0, 2, toAttributes, 4000, examplarsTo);
toPointData.set(0, 2, toAttributes, 4000, exemplarsTo);

aggregator.copyPoint(pointData, toPointData);

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -263,7 +263,7 @@ void copyPoint(MemoryMode memoryMode) {
MutableDoublePointData pointData = (MutableDoublePointData) aggregator.createReusablePoint();

Attributes attributes = Attributes.of(AttributeKey.longKey("test"), 100L);
List<DoubleExemplarData> examplarsFrom =
List<DoubleExemplarData> exemplarsFrom =
Collections.singletonList(
ImmutableDoubleExemplarData.create(
attributes,
Expand All @@ -274,12 +274,12 @@ void copyPoint(MemoryMode memoryMode) {
TraceFlags.getDefault(),
TraceState.getDefault()),
1));
pointData.set(0, 1, attributes, 2000, examplarsFrom);
pointData.set(0, 1, attributes, 2000, exemplarsFrom);

MutableDoublePointData toPointData = (MutableDoublePointData) aggregator.createReusablePoint();

Attributes toAttributes = Attributes.of(AttributeKey.longKey("test"), 100L);
List<DoubleExemplarData> examplarsTo =
List<DoubleExemplarData> exemplarsTo =
Collections.singletonList(
ImmutableDoubleExemplarData.create(
attributes,
Expand All @@ -290,7 +290,7 @@ void copyPoint(MemoryMode memoryMode) {
TraceFlags.getDefault(),
TraceState.getDefault()),
2));
toPointData.set(0, 2, toAttributes, 4000, examplarsTo);
toPointData.set(0, 2, toAttributes, 4000, exemplarsTo);

aggregator.copyPoint(pointData, toPointData);

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -146,7 +146,7 @@ void copyPoint(MemoryMode memoryMode) {
MutableLongPointData pointData = (MutableLongPointData) aggregator.createReusablePoint();

Attributes attributes = Attributes.of(AttributeKey.longKey("test"), 100L);
List<LongExemplarData> examplarsFrom =
List<LongExemplarData> exemplarsFrom =
Collections.singletonList(
ImmutableLongExemplarData.create(
attributes,
Expand All @@ -157,12 +157,12 @@ void copyPoint(MemoryMode memoryMode) {
TraceFlags.getDefault(),
TraceState.getDefault()),
1));
pointData.set(0, 1, attributes, 2000, examplarsFrom);
pointData.set(0, 1, attributes, 2000, exemplarsFrom);

MutableLongPointData toPointData = (MutableLongPointData) aggregator.createReusablePoint();

Attributes toAttributes = Attributes.of(AttributeKey.longKey("test"), 100L);
List<LongExemplarData> examplarsTo =
List<LongExemplarData> exemplarsTo =
Collections.singletonList(
ImmutableLongExemplarData.create(
attributes,
Expand All @@ -173,7 +173,7 @@ void copyPoint(MemoryMode memoryMode) {
TraceFlags.getDefault(),
TraceState.getDefault()),
2));
toPointData.set(0, 2, toAttributes, 4000, examplarsTo);
toPointData.set(0, 2, toAttributes, 4000, exemplarsTo);

aggregator.copyPoint(pointData, toPointData);

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -257,7 +257,7 @@ void copyPoint(MemoryMode memoryMode) {
MutableLongPointData pointData = (MutableLongPointData) aggregator.createReusablePoint();

Attributes attributes = Attributes.of(AttributeKey.longKey("test"), 100L);
List<LongExemplarData> examplarsFrom =
List<LongExemplarData> exemplarsFrom =
Collections.singletonList(
ImmutableLongExemplarData.create(
attributes,
Expand All @@ -268,12 +268,12 @@ void copyPoint(MemoryMode memoryMode) {
TraceFlags.getDefault(),
TraceState.getDefault()),
1));
pointData.set(0, 1, attributes, 2000, examplarsFrom);
pointData.set(0, 1, attributes, 2000, exemplarsFrom);

MutableLongPointData toPointData = (MutableLongPointData) aggregator.createReusablePoint();

Attributes toAttributes = Attributes.of(AttributeKey.longKey("test"), 100L);
List<LongExemplarData> examplarsTo =
List<LongExemplarData> exemplarsTo =
Collections.singletonList(
ImmutableLongExemplarData.create(
attributes,
Expand All @@ -284,7 +284,7 @@ void copyPoint(MemoryMode memoryMode) {
TraceFlags.getDefault(),
TraceState.getDefault()),
2));
toPointData.set(0, 2, toAttributes, 4000, examplarsTo);
toPointData.set(0, 2, toAttributes, 4000, exemplarsTo);

aggregator.copyPoint(pointData, toPointData);

Expand Down
Loading