Skip to content

Commit 7a4a452

Browse files
authored
Update argument name for set(long value) (#7405)
1 parent 5a25bb6 commit 7a4a452

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

sdk/metrics/src/main/java/io/opentelemetry/sdk/metrics/SdkDoubleGauge.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -39,8 +39,8 @@ public void set(double value, Attributes attributes, Context context) {
3939
}
4040

4141
@Override
42-
public void set(double increment) {
43-
set(increment, Attributes.empty());
42+
public void set(double value) {
43+
set(value, Attributes.empty());
4444
}
4545

4646
static class SdkDoubleGaugeBuilder implements DoubleGaugeBuilder {

sdk/metrics/src/main/java/io/opentelemetry/sdk/metrics/SdkLongGauge.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -38,8 +38,8 @@ public void set(long value, Attributes attributes, Context context) {
3838
}
3939

4040
@Override
41-
public void set(long increment) {
42-
set(increment, Attributes.empty());
41+
public void set(long value) {
42+
set(value, Attributes.empty());
4343
}
4444

4545
static class SdkLongGaugeBuilder implements LongGaugeBuilder {

0 commit comments

Comments
 (0)