mirror of
https://github.com/grafana/grafana.git
synced 2025-02-25 18:55:37 -06:00
devenv: removed obsolete elastic docker configs (#55402)
This commit is contained in:
parent
7ce7c9b64c
commit
323ca6825a
@ -1,42 +0,0 @@
|
|||||||
# You need to run 'sysctl -w vm.max_map_count=262144' on the host machine
|
|
||||||
|
|
||||||
elasticsearch7:
|
|
||||||
image: docker.elastic.co/elasticsearch/elasticsearch-oss:7.10.2
|
|
||||||
command: elasticsearch -E "discovery.type=single-node"
|
|
||||||
ports:
|
|
||||||
- "12200:9200"
|
|
||||||
- "12300:9300"
|
|
||||||
|
|
||||||
fake-elastic7-data:
|
|
||||||
image: grafana/fake-data-gen
|
|
||||||
links:
|
|
||||||
- elasticsearch7
|
|
||||||
environment:
|
|
||||||
FD_SERVER: elasticsearch7
|
|
||||||
FD_DATASOURCE: elasticsearch7
|
|
||||||
FD_PORT: 9200
|
|
||||||
|
|
||||||
filebeat7:
|
|
||||||
image: docker.elastic.co/beats/filebeat-oss:7.17.0
|
|
||||||
command: filebeat -e -strict.perms=false
|
|
||||||
volumes:
|
|
||||||
- ./docker/blocks/elastic7/filebeat.yml:/usr/share/filebeat/filebeat.yml:ro
|
|
||||||
- /var/log:/var/log:ro
|
|
||||||
- ../data/log:/var/log/grafana:ro
|
|
||||||
|
|
||||||
metricbeat7:
|
|
||||||
image: docker.elastic.co/beats/metricbeat-oss:7.17.0
|
|
||||||
command: metricbeat -e -strict.perms=false
|
|
||||||
user: root
|
|
||||||
volumes:
|
|
||||||
- ./docker/blocks/elastic7/metricbeat.yml:/usr/share/metricbeat/metricbeat.yml:ro
|
|
||||||
- /var/run/docker.sock:/var/run/docker.sock:ro
|
|
||||||
|
|
||||||
kibana7:
|
|
||||||
image: docker.elastic.co/kibana/kibana-oss:7.0.0
|
|
||||||
ports:
|
|
||||||
- "5601:5601"
|
|
||||||
links:
|
|
||||||
- elasticsearch7
|
|
||||||
environment:
|
|
||||||
ELASTICSEARCH_HOSTS: http://elasticsearch7:9200
|
|
@ -1,2 +0,0 @@
|
|||||||
script.inline: on
|
|
||||||
script.indexed: on
|
|
File diff suppressed because it is too large
Load Diff
@ -1,38 +0,0 @@
|
|||||||
metricbeat.config:
|
|
||||||
modules:
|
|
||||||
path: ${path.config}/modules.d/*.yml
|
|
||||||
# Reload module configs as they change:
|
|
||||||
reload.enabled: false
|
|
||||||
|
|
||||||
metricbeat.autodiscover:
|
|
||||||
providers:
|
|
||||||
- type: docker
|
|
||||||
hints.enabled: true
|
|
||||||
|
|
||||||
metricbeat.modules:
|
|
||||||
- module: docker
|
|
||||||
metricsets:
|
|
||||||
- "container"
|
|
||||||
- "cpu"
|
|
||||||
- "diskio"
|
|
||||||
- "healthcheck"
|
|
||||||
- "info"
|
|
||||||
#- "image"
|
|
||||||
- "memory"
|
|
||||||
- "network"
|
|
||||||
hosts: ["unix:///var/run/docker.sock"]
|
|
||||||
period: 10s
|
|
||||||
enabled: true
|
|
||||||
|
|
||||||
processors:
|
|
||||||
- add_cloud_metadata: ~
|
|
||||||
|
|
||||||
output.elasticsearch:
|
|
||||||
hosts: ["elasticsearch7:9200"]
|
|
||||||
index: "metricbeat-%{+yyyy.MM.dd}"
|
|
||||||
|
|
||||||
setup.template.name: "metricbeat"
|
|
||||||
setup.template.pattern: "metricbeat-*"
|
|
||||||
setup.template.settings:
|
|
||||||
index.number_of_shards: 1
|
|
||||||
index.number_of_replicas: 1
|
|
@ -1,44 +0,0 @@
|
|||||||
# You need to run 'sysctl -w vm.max_map_count=262144' on the host machine
|
|
||||||
|
|
||||||
elasticsearch77:
|
|
||||||
image: docker.elastic.co/elasticsearch/elasticsearch:7.7.1
|
|
||||||
command: elasticsearch
|
|
||||||
environment:
|
|
||||||
- "discovery.type=single-node"
|
|
||||||
ports:
|
|
||||||
- "13200:9200"
|
|
||||||
- "13300:9300"
|
|
||||||
|
|
||||||
fake-elastic77-data:
|
|
||||||
image: grafana/fake-data-gen
|
|
||||||
links:
|
|
||||||
- elasticsearch77
|
|
||||||
environment:
|
|
||||||
FD_SERVER: elasticsearch77
|
|
||||||
FD_DATASOURCE: elasticsearch7
|
|
||||||
FD_PORT: 9200
|
|
||||||
|
|
||||||
filebeat77:
|
|
||||||
image: docker.elastic.co/beats/filebeat:7.7.1
|
|
||||||
command: filebeat -e -strict.perms=false
|
|
||||||
volumes:
|
|
||||||
- ./docker/blocks/elastic77/filebeat.yml:/usr/share/filebeat/filebeat.yml:ro
|
|
||||||
- /var/log:/var/log:ro
|
|
||||||
- ../data/log:/var/log/grafana:ro
|
|
||||||
|
|
||||||
metricbeat77:
|
|
||||||
image: docker.elastic.co/beats/metricbeat:7.7.1
|
|
||||||
command: metricbeat -e -strict.perms=false
|
|
||||||
user: root
|
|
||||||
volumes:
|
|
||||||
- ./docker/blocks/elastic77/metricbeat.yml:/usr/share/metricbeat/metricbeat.yml:ro
|
|
||||||
- /var/run/docker.sock:/var/run/docker.sock:ro
|
|
||||||
|
|
||||||
kibana77:
|
|
||||||
image: docker.elastic.co/kibana/kibana:7.7.1
|
|
||||||
ports:
|
|
||||||
- "5601:5601"
|
|
||||||
links:
|
|
||||||
- elasticsearch77
|
|
||||||
environment:
|
|
||||||
ELASTICSEARCH_HOSTS: http://elasticsearch77:9200
|
|
@ -1,3 +0,0 @@
|
|||||||
script.inline: on
|
|
||||||
script.indexed: on
|
|
||||||
xpack.license.self_generated.type: basic
|
|
File diff suppressed because it is too large
Load Diff
@ -1,38 +0,0 @@
|
|||||||
metricbeat.config:
|
|
||||||
modules:
|
|
||||||
path: ${path.config}/modules.d/*.yml
|
|
||||||
# Reload module configs as they change:
|
|
||||||
reload.enabled: false
|
|
||||||
|
|
||||||
metricbeat.autodiscover:
|
|
||||||
providers:
|
|
||||||
- type: docker
|
|
||||||
hints.enabled: true
|
|
||||||
|
|
||||||
metricbeat.modules:
|
|
||||||
- module: docker
|
|
||||||
metricsets:
|
|
||||||
- "container"
|
|
||||||
- "cpu"
|
|
||||||
- "diskio"
|
|
||||||
- "healthcheck"
|
|
||||||
- "info"
|
|
||||||
#- "image"
|
|
||||||
- "memory"
|
|
||||||
- "network"
|
|
||||||
hosts: ["unix:///var/run/docker.sock"]
|
|
||||||
period: 10s
|
|
||||||
enabled: true
|
|
||||||
|
|
||||||
processors:
|
|
||||||
- add_cloud_metadata: ~
|
|
||||||
|
|
||||||
output.elasticsearch:
|
|
||||||
hosts: ["elasticsearch77:9200"]
|
|
||||||
index: "metricbeat-%{+yyyy.MM.dd}"
|
|
||||||
|
|
||||||
setup.template.name: "metricbeat"
|
|
||||||
setup.template.pattern: "metricbeat-*"
|
|
||||||
setup.template.settings:
|
|
||||||
index.number_of_shards: 1
|
|
||||||
index.number_of_replicas: 1
|
|
Loading…
Reference in New Issue
Block a user