System Properties
Configure FastStats using system properties
System Property Flags
System properties provide runtime control over FastStats behavior.
These flags only affect the current running server session/instance and are not persisted.
faststats.debug
Enable debug logging for all FastStats projects.
Usage:
java -Dfaststats.debug=true -jar server.jarValues:
true- Enable debug loggingfalse- Disable debug logging
faststats.enabled
Enable or disable FastStats data transmission globally.
Usage:
java -Dfaststats.enabled=false -jar server.jarValues:
true- Enable data transmissionfalse- Disable data transmission
faststats.initial-delay
Configure the initial delay before FastStats starts collecting metrics.
This flag is meant to be used during development to delay or speed up the start of metric collection.
Usage:
java -Dfaststats.initial-delay=5 -jar server.jarValues:
- Time in seconds (default:
30)
faststats.message-length
Configure the maximum length of error messages to capture.
Messages exceeding this length will be truncated, not redacted.
Usage:
java -Dfaststats.message-length=750 -jar server.jarValues:
- Number of characters (default:
500, max:1000)
faststats.stack-trace-length
Configure the maximum length of each stack trace element string.
Usage:
java -Dfaststats.stack-trace-length=400 -jar server.jarValues:
- Number of characters (default:
300, max:500)
faststats.stack-trace-limit
Configure the maximum number of stack trace elements to capture.
Usage:
java -Dfaststats.stack-trace-limit=20 -jar server.jarValues:
- Number of stack trace elements (default:
15, max:50)