Skip to content

Commit d340a82

Browse files
committed
Release version 1.2.2 with log4j 2.16.0
1 parent 4078ddd commit d340a82

File tree

4 files changed

+6
-5
lines changed

4 files changed

+6
-5
lines changed

README.md

+2-1
Original file line numberDiff line numberDiff line change
@@ -28,10 +28,11 @@ It collects all relevant metrics and makes them available to Prometheus via the
2828
| 1.0.0 | 1.0.0 | Jun 24, 2021 |
2929
| 1.1.0 | 1.1.0 | Oct 08, 2021 |
3030
| 1.2.0 | 1.2.0 | Nov 27, 2021 |
31+
| 1.2.2 | 1.2.2 | Dec 19, 2021 |
3132

3233
## Install
3334

34-
`./bin/opensearch-plugin install -b https://github.com/aparo/opensearch-prometheus-exporter/releases/download/1.0.0/prometheus-exporter-1.0.0.zip`
35+
`./bin/opensearch-plugin install -b https://github.com/aparo/opensearch-prometheus-exporter/releases/download/1.2.2/prometheus-exporter-1.2.2.zip`
3536

3637
**Do not forget to restart the node after the installation!**
3738

build.gradle

+1-1
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ ext {
6767
versions = [
6868
"opensearch": es_version,
6969
"prometheus" : "0.8.0",
70-
"log4j" : "2.11.1",
70+
"log4j" : "2.16.0",
7171
"junit" : "4.12"
7272
]
7373
}

gradle.properties

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
group = org.opensearch.plugin.prometheus
22

3-
version = 1.2.0
3+
version = 1.2.2
44

55
pluginName = prometheus-exporter
66
pluginClassname = org.opensearch.plugin.prometheus.PrometheusExporterPlugin

src/main/java/org/opensearch/rest/prometheus/RestPrometheusMetricsAction.java

+2-2
Original file line numberDiff line numberDiff line change
@@ -34,11 +34,11 @@
3434
import org.opensearch.rest.*;
3535
import org.opensearch.rest.action.RestResponseListener;
3636

37+
import static java.util.Arrays.asList;
3738
import java.util.List;
39+
import static java.util.Collections.unmodifiableList;
3840
import java.util.Locale;
3941

40-
import static java.util.Arrays.asList;
41-
import static java.util.Collections.unmodifiableList;
4242

4343
/**
4444
* REST action class for Prometheus Exporter plugin.

0 commit comments

Comments
 (0)