WIP: changed project layout | added unified metrics

This commit is contained in:
2024-11-16 22:05:08 +01:00
parent 349a7cff3d
commit f839fa454e
32 changed files with 375 additions and 2 deletions

View File

@@ -0,0 +1,14 @@
server:
name: "global"
metrics:
enabled: true
driver: "prometheus"
collectors:
systemGc: true
systemMemory: true
systemProcess: true
systemThread: true
server: true
world: true
tick: true
events: true

View File

@@ -0,0 +1,16 @@
mode: "HTTP"
http:
host: "0.0.0.0"
port: 9100
authentication:
scheme: "NONE"
username: "username"
password: "password"
pushGateway:
job: "unifiedmetrics"
url: "http://pushgateway:9091"
authentication:
scheme: "NONE"
username: "username"
password: "password"
interval: 10