Skip to content

Commit a01c2da

Browse files
author
Mesaguy
committed
The elasticsearch_exporter name changed from elasticsearch_exporter_justwatchcom to elasticsearch_exporter_prometheus_community
1 parent 6b7db68 commit a01c2da

7 files changed

+86
-85
lines changed

Diff for: CHANGELOG.md

+1
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
88

99
### Changed
1010

11+
- The elasticsearch_exporter name changed from elasticsearch_exporter_justwatchcom to elasticsearch_exporter_prometheus_community
1112
- Upgrade Go from v1.16.4 to v1.16.5
1213
- Upgrade alertmanager from v0.22.1 to v0.22.2
1314
- Upgrade apache_exporter_lusitaniae from v0.8.0 to v0.9.0

Diff for: README.md

+56-56
Large diffs are not rendered by default.

Diff for: docs/elasticsearch_exporter_justwatchcom.md

-18
This file was deleted.

Diff for: docs/elasticsearch_exporter_prometheus_community.md

+18
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
# Elasticsearch exporter (prometheus_community) configuration
2+
3+
An array of additional flags to pass to the elasticsearch_exporter daemon:
4+
5+
prometheus_elasticsearch_exporter_prometheus_community_extra_opts: []
6+
7+
The version of elasticsearch_exporter_prometheus_community to install. The default version can be found in the [elasticsearch_exporter_prometheus_community variables file](../vars/software/elasticsearch_exporter_prometheus_community.yml) and the default version can be overridden using the following variable:
8+
9+
prometheus_elasticsearch_exporter_prometheus_community_version: "v1.0.0"
10+
11+
Allow the use of prerelease versions (beta, test, development, etc versions), defaults to 'false':
12+
13+
prometheus_elasticsearch_exporter_prometheus_community_use_prerelease: true
14+
15+
Port and IP to listen on. Defaults to listening on all available IPs on port 9908:
16+
17+
prometheus_elasticsearch_exporter_prometheus_community_host: "0.0.0.0"
18+
prometheus_elasticsearch_exporter_prometheus_community_port: 9908

Diff for: tasks/elasticsearch_exporter_justwatchcom.yml renamed to tasks/elasticsearch_exporter_prometheus_community.yml

+5-5
Original file line numberDiff line numberDiff line change
@@ -4,15 +4,15 @@
44
include_tasks: _setup.yml
55
when: prometheus_setup_task_executed is undefined
66

7-
- name: Starting elasticsearch_exporter (justwatchcom) install
7+
- name: Starting elasticsearch_exporter (prometheus_community) install
88
set_fact:
99
prometheus_exporter: true
10-
prometheus_software_author: justwatchcom
10+
prometheus_software_author: prometheus_community
1111
prometheus_software_binary_name: elasticsearch_exporter
1212
prometheus_software_makefile_make_command: 'go mod tidy; go mod vendor ; go build'
13-
prometheus_software_name: elasticsearch_exporter_justwatchcom
14-
prometheus_software_description: 'Prometheus elasticsearch_exporter (justwatchcom), exporter for various metrics about ElasticSearch'
15-
prometheus_software_documentation: 'https://github.com/justwatchcom/elasticsearch_exporter'
13+
prometheus_software_name: elasticsearch_exporter_prometheus_community
14+
prometheus_software_description: 'Prometheus elasticsearch_exporter (prometheus_community), exporter for various metrics about ElasticSearch'
15+
prometheus_software_documentation: 'https://github.com/prometheus_community/elasticsearch_exporter'
1616

1717
- name: Include task to setup {{ prometheus_software_name }} facts
1818
include_tasks: _setup_software_facts.yml

Diff for: tests/inspec/default/elasticsearch_exporter_justwatchcom.rb renamed to tests/inspec/default/elasticsearch_exporter_prometheus_community.rb

+4-4
Original file line numberDiff line numberDiff line change
@@ -1,28 +1,28 @@
11
# encoding: utf-8
22
# author: Mesaguy
33

4-
describe file('/opt/prometheus/exporters/elasticsearch_exporter_justwatchcom/active') do
4+
describe file('/opt/prometheus/exporters/elasticsearch_exporter_prometheus_community/active') do
55
it { should be_symlink }
66
its('mode') { should cmp '0755' }
77
its('owner') { should eq 'root' }
88
its('group') { should eq 'prometheus' }
99
end
1010

11-
describe file('/opt/prometheus/exporters/elasticsearch_exporter_justwatchcom/active/elasticsearch_exporter') do
11+
describe file('/opt/prometheus/exporters/elasticsearch_exporter_prometheus_community/active/elasticsearch_exporter') do
1212
it { should be_file }
1313
it { should be_executable }
1414
its('mode') { should cmp '0755' }
1515
its('owner') { should eq 'root' }
1616
its('group') { should eq 'prometheus' }
1717
end
1818

19-
describe service('elasticsearch_exporter_justwatchcom') do
19+
describe service('elasticsearch_exporter_prometheus_community') do
2020
it { should be_enabled }
2121
it { should be_installed }
2222
it { should be_running }
2323
end
2424

25-
describe processes(Regexp.new("^/opt/prometheus/exporters/elasticsearch_exporter_justwatchcom/(v)?([0-9.]+|[0-9.]+__go-[0-9.]+)/elasticsearch_exporter")) do
25+
describe processes(Regexp.new("^/opt/prometheus/exporters/elasticsearch_exporter_prometheus_community/(v)?([0-9.]+|[0-9.]+__go-[0-9.]+)/elasticsearch_exporter")) do
2626
it { should exist }
2727
its('entries.length') { should eq 1 }
2828
its('users') { should include 'prometheus' }

Diff for: vars/software/elasticsearch_exporter_justwatchcom.yml renamed to vars/software/elasticsearch_exporter_prometheus_community.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -6,9 +6,9 @@ software:
66
name: justwatchcom/elasticsearch_exporter
77
release: v1.1.0
88
prerelease: v1.1.0rc1
9-
url: https://github.com/justwatchcom/elasticsearch_exporter
9+
url: https://github.com/prometheus-community/elasticsearch_exporter
1010
source: https://github.com/prometheus-community/elasticsearch_exporter.git
11-
updated: '2021-06-07T01:03:41.483228'
11+
updated: '2021-06-07T01:39:16.432151'
1212
master:
1313
commit:
1414
sha: 99d89b40d588527bb9d3e36f81d85c80b3649cf2

0 commit comments

Comments
 (0)