Skip to content

Commit

Permalink
Update Metrics.java
Browse files Browse the repository at this point in the history
  • Loading branch information
evansims committed Aug 19, 2024
1 parent f4306dd commit c6afbd5
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/main/java/dev/openfga/sdk/telemetry/Metrics.java
Original file line number Diff line number Diff line change
Expand Up @@ -19,14 +19,14 @@ public class Metrics {
private final Configuration configuration;

public Metrics() {
this.meter = OpenTelemetry.noop().getMeterProvider().get("openfga-sdk/0.5.0");
this.meter = OpenTelemetry.noop().getMeterProvider().get("openfga-sdk/0.6.0");
this.counters = new HashMap<>();
this.histograms = new HashMap<>();
this.configuration = new Configuration();
}

public Metrics(Configuration configuration) {
this.meter = OpenTelemetry.noop().getMeterProvider().get("openfga-sdk/0.5.0");
this.meter = OpenTelemetry.noop().getMeterProvider().get("openfga-sdk/0.6.0");
this.counters = new HashMap<>();
this.histograms = new HashMap<>();
this.configuration = configuration;
Expand Down

0 comments on commit c6afbd5

Please sign in to comment.