sematext / sematext-agent-java

Sematext Monitoring Agent
https://sematext.com/spm
Apache License 2.0
23 stars 9 forks source link

Update TrimUnit function to handle multiple units #41

Closed sivasamyk closed 5 years ago

sivasamyk commented 5 years ago

Provided option to specify multiple units to TrimUnit function. In case of multiple units whichever unit has the longest match will be trimmed.