-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathexample.env
54 lines (48 loc) · 2.38 KB
/
example.env
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
## Path to YAML configuration file
# DAYZ_EXPORTER_CONFIG_PATH=config.yaml
## Configuration for the exporter listening parameters
# IP address to listen on. '0.0.0.0' means listening on all available network interfaces.
DAYZ_EXPORTER_LISTEN_IP=0.0.0.0
# Port number to listen on for incoming HTTP requests.
DAYZ_EXPORTER_LISTEN_PORT=8098
# HTTP endpoint where Prometheus metrics will be exposed.
DAYZ_EXPORTER_LISTEN_ENDPOINT=/metrics
# Username used for all exporter endpoints.
DAYZ_EXPORTER_LISTEN_USERNAME=metrics
# Password used for all exporter endpoints (Basic Auth disabled if not set).
# DAYZ_EXPORTER_LISTEN_PASSWORD=SomeStrongString
# Protect /health, /health/readiness and /health/liveness with Basic Auth
DAYZ_EXPORTER_LISTEN_HEALTH_AUTH=false
## Configuration for querying the DayZ server (A2S Query)
# IP address of the server to query for information.
DAYZ_EXPORTER_QUERY_IP=127.0.0.1
# Port number for A2S Query to get DayZ server information.
DAYZ_EXPORTER_QUERY_PORT=27016
## Configuration for querying the DayZ Remote Console (Battleye RCON)
# IP address for Battleye RCON. Uses the same IP as the query server.
DAYZ_EXPORTER_RCON_IP=127.0.0.1
# Port number for RCON to interact with the server.
DAYZ_EXPORTER_RCON_PORT=2305
# Password for RCON authentication.
DAYZ_EXPORTER_RCON_PASSWORD=
# Whether to expose ban information via metrics. Set to 'true' to expose bans.
DAYZ_EXPORTER_RCON_EXPOSE_BANS=false
# Size of the buffer used for RCON communication.
DAYZ_EXPORTER_RCON_BUFFER_SIZE=1040
# Timeout (in seconds) for keeping the RCON connection alive.
DAYZ_EXPORTER_RCON_KEEPALIVE_TIMEOUT=30
# Timeout (in seconds) for RCON command execution.
DAYZ_EXPORTER_RCON_DEADLINE_TIMEOUT=5
## Custom labels to be added to the metrics, can be useful for distinguishing between servers or clusters
## Format key1:value1,key2:value2
## Example of data center and rack labels.
# DAYZ_EXPORTER_LABELS="dc:HV-1,rack:U4"
## Path to the GeoIP database for IP geo location. This file is used for enriching player data and bans with location information.
# DAYZ_EXPORTER_GEOIP_DB=./GeoLite2-Country.mmdb
## Logging configuration
# Logging level. Options: 'debug', 'info', 'warn', 'error'.
DAYZ_EXPORTER_LOG_LEVEL=info
# Logging format. Options: 'text' (human-readable) or 'json' (structured).
DAYZ_EXPORTER_LOG_FORMAT=text
# Output destination for logs. Options: 'stderr', 'stdout', or a file path.
DAYZ_EXPORTER_LOG_OUTPUT=stderr