init
This commit is contained in:
9
monitoring/elklogs/filebeat/filebeat.yml
Normal file
9
monitoring/elklogs/filebeat/filebeat.yml
Normal file
@@ -0,0 +1,9 @@
|
||||
filebeat.inputs:
|
||||
- type: container
|
||||
paths:
|
||||
- /var/lib/docker/containers/*/*.log
|
||||
processors:
|
||||
- add_docker_metadata: ~
|
||||
|
||||
output.elasticsearch:
|
||||
hosts: ["elasticsearch:9200"]
|
||||
6
monitoring/elklogs/logstash/config/jvm.options
Normal file
6
monitoring/elklogs/logstash/config/jvm.options
Normal file
@@ -0,0 +1,6 @@
|
||||
-Xms1g
|
||||
-Xmx1g
|
||||
-Djava.awt.headless=true
|
||||
-Dfile.encoding=UTF-8
|
||||
-XX:+HeapDumpOnOutOfMemoryError
|
||||
-Djava.security.egd=file:/dev/urandom
|
||||
23
monitoring/grafana-dashboards/dashboard.json
Normal file
23
monitoring/grafana-dashboards/dashboard.json
Normal file
@@ -0,0 +1,23 @@
|
||||
{
|
||||
"dashboard": {
|
||||
"title": "DevOps Windows Dashboard",
|
||||
"panels": [
|
||||
{
|
||||
"title": "Requêtes HTTP",
|
||||
"type": "graph",
|
||||
"targets": [{
|
||||
"expr": "rate(http_requests_total[5m])",
|
||||
"legendFormat": "{{method}} {{endpoint}}"
|
||||
}]
|
||||
},
|
||||
{
|
||||
"title": "Latence",
|
||||
"type": "graph",
|
||||
"targets": [{
|
||||
"expr": "histogram_quantile(0.95, rate(http_request_duration_seconds_bucket[5m]))",
|
||||
"legendFormat": "p95"
|
||||
}]
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user