Skip to content

Commit 5f0071b

Browse files
committed
Upgrade to Elasticsearch 7.14.0 and release version 7.14.0.0
1 parent 11434b2 commit 5f0071b

File tree

7 files changed

+12
-20
lines changed

7 files changed

+12
-20
lines changed

.github/workflows/ci.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ on:
1313
- "6.x"
1414

1515
env:
16-
gradle-version: "7.0.2"
16+
gradle-version: "7.1.1"
1717
java-version: "16"
1818

1919
jobs:

README.md

+3-2
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,7 @@ It collects all relevant metrics and makes them available to Prometheus via the
2727

2828
| Elasticsearch | Plugin | Release date |
2929
| -------------- | -------------- | ------------ |
30+
| 7.14.0 | 7.14.0.0 | Aug 07, 2021 |
3031
| 7.13.4 | 7.13.4.0 | Jul 21, 2021 |
3132
| 7.13.3 | 7.13.3.0 | Jul 07, 2021 |
3233
| 7.13.2 | 7.13.2.0 | Jun 15, 2021 |
@@ -47,7 +48,7 @@ It collects all relevant metrics and makes them available to Prometheus via the
4748
| 7.8.0 | 7.8.0.0 | Jun 22, 2020 |
4849
| 7.7.1 | 7.7.1.0 | Jun 04, 2020 |
4950
| 7.7.0 | 7.7.0.0 | May 14, 2020 |
50-
| 7.6.2 | 7.6.2.0 | Apr 6, 2020 |
51+
| 7.6.2 | 7.6.2.0 | Apr 06, 2020 |
5152
| 7.6.1 | 7.6.1.0 | Mar 30, 2020 |
5253
| 7.6.0 | 7.6.0.0 | Feb 12, 2020 |
5354
| 7.5.2 | 7.5.2.0 | Jan 25, 2020 |
@@ -68,7 +69,7 @@ It collects all relevant metrics and makes them available to Prometheus via the
6869

6970
## Install
7071

71-
`./bin/elasticsearch-plugin install -b https://github.com/vvanholl/elasticsearch-prometheus-exporter/releases/download/7.13.4.0/prometheus-exporter-7.13.4.0.zip`
72+
`./bin/elasticsearch-plugin install -b https://github.com/vvanholl/elasticsearch-prometheus-exporter/releases/download/7.14.0.0/prometheus-exporter-7.14.0.0.zip`
7273

7374
**Do not forget to restart the node after the installation!**
7475

build.gradle

+4-13
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,6 @@ plugins {
2828
apply plugin: 'java'
2929
apply plugin: 'idea'
3030
apply plugin: 'elasticsearch.esplugin'
31-
apply plugin: 'elasticsearch.rest-resources'
3231
apply plugin: 'elasticsearch.testclusters'
3332

3433
// Uncomment if you want to use: System.out.println("Emergency!");
@@ -37,14 +36,6 @@ apply plugin: 'elasticsearch.testclusters'
3736
// ignoreFailures = true
3837
//}
3938

40-
// license of this project
41-
licenseFile = rootProject.file('LICENSE.txt')
42-
// copyright notices
43-
noticeFile = rootProject.file('NOTICE.txt')
44-
45-
// POM validation can be enabled
46-
validateElasticPom.enabled = false
47-
4839
// No unit tests in this plugin
4940
test.enabled = false
5041

@@ -78,10 +69,10 @@ configurations {
7869
}
7970

8071
dependencies {
81-
api "org.elasticsearch:elasticsearch:${versions.elasticsearch}"
82-
api "io.prometheus:simpleclient:${versions.prometheus}"
83-
api "io.prometheus:simpleclient_common:${versions.prometheus}"
84-
api "org.apache.logging.log4j:log4j-api:${versions.log4j}"
72+
implementation "org.elasticsearch:elasticsearch:${versions.elasticsearch}"
73+
implementation "io.prometheus:simpleclient:${versions.prometheus}"
74+
implementation "io.prometheus:simpleclient_common:${versions.prometheus}"
75+
implementation "org.apache.logging.log4j:log4j-api:${versions.log4j}"
8576
testImplementation (group: 'junit', name: 'junit', version: "${versions.junit}") {
8677
exclude group:'org.hamcrest' //also included in ES test framework
8778
}

gradle.properties

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

3-
version = 7.13.4.1-SNAPSHOT
3+
version = 7.14.0.0
44

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

src/main/java/org/elasticsearch/action/ClusterStatsData.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121
import org.elasticsearch.ElasticsearchParseException;
2222
import org.elasticsearch.action.admin.cluster.state.ClusterStateResponse;
2323
import org.elasticsearch.cluster.metadata.Metadata;
24-
import org.elasticsearch.common.Nullable;
24+
import org.elasticsearch.core.Nullable;
2525
import org.elasticsearch.common.io.stream.StreamInput;
2626
import org.elasticsearch.common.io.stream.StreamOutput;
2727
import org.elasticsearch.common.settings.ClusterSettings;

src/main/java/org/elasticsearch/action/NodePrometheusMetricsResponse.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222
import org.elasticsearch.action.admin.cluster.state.ClusterStateResponse;
2323
import org.elasticsearch.action.admin.indices.stats.IndicesStatsResponse;
2424
import org.elasticsearch.action.admin.indices.stats.PackageAccessHelper;
25-
import org.elasticsearch.common.Nullable;
25+
import org.elasticsearch.core.Nullable;
2626
import org.elasticsearch.common.io.stream.StreamInput;
2727
import org.elasticsearch.common.io.stream.StreamOutput;
2828
import org.elasticsearch.common.settings.ClusterSettings;

src/main/java/org/elasticsearch/action/TransportNodePrometheusMetricsAction.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@
3333
import org.elasticsearch.action.support.HandledTransportAction;
3434
import org.elasticsearch.client.Client;
3535
import org.elasticsearch.client.Requests;
36-
import org.elasticsearch.common.Nullable;
36+
import org.elasticsearch.core.Nullable;
3737
import org.elasticsearch.common.inject.Inject;
3838
import org.elasticsearch.common.settings.ClusterSettings;
3939
import org.elasticsearch.common.settings.Settings;

0 commit comments

Comments
 (0)