setup grafana, prometheus, jmx
This commit is contained in:
parent
0d81650400
commit
7e497ffd59
17 changed files with 7900 additions and 0 deletions
|
|
@ -3,3 +3,24 @@ plugins {
|
|||
}
|
||||
|
||||
description = "Kafka cluster"
|
||||
|
||||
tasks.dockerEnv {
|
||||
properties(
|
||||
"GRAFANA_VERSION" to libs.versions.grafana,
|
||||
"PROMETHEUS_VERSION" to libs.versions.prometheus,
|
||||
"KAFKA_VERSION" to libs.versions.kafka,
|
||||
|
||||
// Limit JVM Heap Size
|
||||
// "KAFKA_BROKER_HEAP_OPTS" to "-XX:MaxRAMPercentage=70.0",
|
||||
// "KAFKA_CONNECT_HEAP_OPTS" to "-XX:MaxRAMPercentage=70.0",
|
||||
// "SCHEMA_REGISTRY_HEAP_OPTS" to "-XX:MaxRAMPercentage=70.0",
|
||||
// "KAFKA_KSQL_HEAP_OPTS" to "-XX:MaxRAMPercentage=70.0",
|
||||
// "PROMETHEUS_JMX_AGENT_JVM_OPTS" to "-Xmx128M",
|
||||
|
||||
// // Limit container resources
|
||||
// "KAFKA_BROKER_MEM_LIMIT" to "512m",
|
||||
// "KAFKA_CONNECT_MEM_LIMIT" to "512m",
|
||||
// "KAFKA_KSQL_MEM_LIMIT" to "256m",
|
||||
// "SCHEMA_REGISTRY_MEM_LIMIT" to "256m",
|
||||
)
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue