forked from open-telemetry/opentelemetry-collector
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add SPLUNK_MEMORY_TOTAL_MIB (open-telemetry#48)
Today, SPLUNK_BALLAST_SIZE_MIB needs to be computed and manually configured by a user. Most users do not know or care about the ballast and under normal circumstances they should not need to. Users will understand the total amount of memory allocated to the Collector. As such, introduce a SPLUNK_MEMORY_TOTAL_MIB env var that can be used instead of or in addition to SPLUNK_BALLAST_SIZE_MIB. This has the added bonus that now memory spike and limit env vars are no longer required for non-linux systems. This change is backwards compatible. A few other minor enhancements: - Memory spike/limit env vars are now applied even if SPLUNK_CONFIG is passed - Add logging for custom behavior so configuration is clear - Add accessible endpoints to README
- Loading branch information
Showing
3 changed files
with
281 additions
and
29 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.