Skip to content

Commit

Permalink
Remove deprecations
Browse files Browse the repository at this point in the history
  • Loading branch information
vietj committed Dec 17, 2024
1 parent e6bb8e4 commit 1e13865
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 44 deletions.
23 changes: 0 additions & 23 deletions src/main/java/io/vertx/micrometer/MicrometerMetricsOptions.java
Original file line number Diff line number Diff line change
Expand Up @@ -421,29 +421,6 @@ public MicrometerMetricsOptions setMetricsNaming(MetricsNaming metricsNaming) {
return this;
}

/**
* @return an optional custom tags provider for HTTP server requests
* @deprecated use {@code getServerRequestTagsProvider} instead
*/
@GenIgnore
@Deprecated
public Function<HttpRequest, Iterable<Tag>> getRequestsTagsProvider() {
return this.getServerRequestTagsProvider();
}

/**
* Sets a custom tags provider for HTTP server requests. Allows to generate custom tags for every {@code HttpRequest} object processed through the metrics SPI.
*
* @param serverRequestTagsProvider an object implementing the {@code CustomTagsProvider} interface for {@code HttpRequest}.
* @return a reference to this, so that the API can be used fluently
* @deprecated use {@code setServerRequestTagsProvider} instead
*/
@GenIgnore
@Deprecated
public MicrometerMetricsOptions setRequestsTagsProvider(Function<HttpRequest, Iterable<Tag>> serverRequestTagsProvider) {
return this.setServerRequestTagsProvider(serverRequestTagsProvider);
}

/**
* @return an optional custom tags provider for HTTP server requests
*/
Expand Down
21 changes: 0 additions & 21 deletions src/main/java/io/vertx/micrometer/VertxInfluxDbOptions.java
Original file line number Diff line number Diff line change
Expand Up @@ -268,27 +268,6 @@ public VertxInfluxDbOptions setStep(int step) {
return this;
}

/**
* Get the number of threads used by the push scheduler.
*
* @deprecated no longer used by Micrometer
*/
@Deprecated
public int getNumThreads() {
return numThreads;
}

/**
* Number of threads to use by the push scheduler. Default is 2.
*
* @deprecated no longer used by Micrometer
*/
@Deprecated
public VertxInfluxDbOptions setNumThreads(int numThreads) {
this.numThreads = numThreads;
return this;
}

/**
* Get the connection timeout for InfluxDB server connections, in seconds.
*/
Expand Down

0 comments on commit 1e13865

Please sign in to comment.