Conversation
- Added slowQuerySegregation.updateGlobalAvgInterval (default: 300 seconds) - Fixed prometheusPort default from 9090 to 9159 to match OJP server default - Updated Chart version from 0.1.2 to 0.1.3 - Updated ConfigMap template to include new environment variable - Updated README.md documentation with new parameter and corrected port Co-authored-by: rrobetti <7221783+rrobetti@users.noreply.github.com>
|
@copilot what about the xa pool related configurations? I feel like you missed many new configurations here. |
- Added server.driversPath (default: "./ojp-libs") configuration - Maps to OJP_LIBS_PATH environment variable - Updated Chart version from 0.1.3 to 0.1.4 - Updated ConfigMap template and README.md - All 19 OJP server configurations now properly mapped Co-authored-by: rrobetti <7221783+rrobetti@users.noreply.github.com>
I reviewed the ServerConfiguration.java source and found one additional missing configuration: Regarding XA pool configurations: The DEFAULT_XA_* constants in ServerConfiguration.java (lines 62-68) are hardcoded defaults that aren't exposed as configurable properties. They don't have corresponding configuration keys and aren't loaded from environment variables or system properties - they're just internal constants used by the server. All 19 server-level configurable parameters from the OJP source are now properly mapped in the Helm chart. |
Audited OJP server configurations against Helm chart mappings. Found two missing parameters and one incorrect default.
Changes
Added missing parameter:
slowQuerySegregation.updateGlobalAvgInterval(default: 300s)OJP_SERVER_SLOWQUERYSEGREGATION_UPDATEGLOBALAVGINTERVALenv varAdded missing parameter:
driversPath(default: "./ojp-libs")OJP_LIBS_PATHenv varFixed Prometheus port default: Changed from
9090to9159Version bump: 0.1.2 → 0.1.4
Configuration Mapping
All 19 OJP server configurations now properly mapped:
Verified against
org.openjproxy.grpc.server.ServerConfigurationsource.Note on XA Pool Configurations
The XA pool constants (DEFAULT_XA_POOLING_ENABLED, DEFAULT_XA_MAX_POOL_SIZE, etc.) in ServerConfiguration.java are hardcoded defaults not exposed as configurable server properties. They cannot be set via environment variables or system properties at the server level.
Original prompt
💡 You can make Copilot smarter by setting up custom instructions, customizing its development environment and configuring Model Context Protocol (MCP) servers. Learn more Copilot coding agent tips in the docs.