feat(livekit): enable metrics in livekit configuration

This commit is contained in:
Tobias Zenk 2024-10-22 10:03:18 +02:00
parent 79031506fa
commit 56637965d4
No known key found for this signature in database
GPG key ID: 953FFB020465E686
2 changed files with 4 additions and 0 deletions

View file

@ -98,6 +98,7 @@ livekit_turns_port: 5349
livekit_turn_port: 3478 livekit_turn_port: 3478
livekit_redis_port: 6379 livekit_redis_port: 6379
livekit_jwt_service_external_port: 8888 livekit_jwt_service_external_port: 8888
livekit_metrics_port: 6789
``` ```
The defaults are also used set the log level and manage log sampling (these can The defaults are also used set the log level and manage log sampling (these can

View file

@ -7,6 +7,7 @@ livekit_domain: "{{ famedly_instance_domain }}"
livekit_turnserver_domain: ~ livekit_turnserver_domain: ~
livekit_log_level: "info" livekit_log_level: "info"
livekit_log_sample: true livekit_log_sample: true
livekit_metrics_port: 6789
livekit_redis_enabled: false livekit_redis_enabled: false
livekit_ws_port: 7880 livekit_ws_port: 7880
livekit_rtc_port: 7881 livekit_rtc_port: 7881
@ -72,6 +73,8 @@ livekit_config_basic:
external_tls: true external_tls: true
keys: keys:
secret: "{{ livekit_secret_key }}" secret: "{{ livekit_secret_key }}"
prometheus:
port: "{{ livekit_metrics_port }}"
livekit_config_redis: livekit_config_redis:
redis: redis:
address: "127.0.0.1:{{ livekit_redis_port }}" address: "127.0.0.1:{{ livekit_redis_port }}"