Focus release notes
Focus v1.1.5
March 22, 2023
Change
Modified the maximum length of json data that can be input to 65,536 bytes.
Focus v1.1.4
Adding the date and * to the log path
Feature
Added the support for the date (http://strftime.org) and wildcard (*) in the log path.
Focus v1.1.3
Fixing the json input method error
Change
Fixed the collection failure of json input due to code error.
Focus v1.1.2
Guide to eliminated functions
In this version, the collection of json input methods is not made normally due to a code error. It is recommended to upgrade to the version 1.1.3.
The version downloading can be found at the link below.
Focus v1.1.1
Fixed the recovery notification malfunction when setting the notification for metrics collected by the focus module.
A new version of the focus module has been released as shown below.
- Symptom: The recovery notification has problem when setting the notification for metrics collected by the focus module.
- Cause: Incorrect identification of metrics instances in notifications when collecting multiple instances
- Change: By adding the
-pk
option, the instance field for metrics has been assigned.
Data when collecting the restart of POD on K8S
{ "Pod" : "whatap-master-agent-756d6f6567-hpvsc", "Restart" : 0 }
{ "Pod" : "whatap-virtual-david-oberg-754fd79f5f-9s5vd", "Restart" : 147 }
{ "Pod" : "whatap-virtual-david-oberg-754fd79f5f-j4pfw", "Restart" : 141 }
{ "Pod" : "whatap-virtual-stanley-collett-5c8d998bcf-bfh6r", "Restart" : 142 }
{ "Pod" : "whatap-virtual-stanley-collett-5c8d998bcf-vh548", "Restart" : 144 }
{ "Pod" : "whatap-virtual-timothy-warren-79d4869b7c-4b6h6", "Restart" : 145 }
{ "Pod" : "whatap-virtual-timothy-warren-79d4869b7c-65k2h", "Restart" : 145 }
Setting the Pod field for instance identification
kubectl get pod -n virtual2 --no-headers |\
awk '{printf "{ \"Pod\" : \"%s\", \"Restart\" : %s }\n",$1,$4} ' |\
./focus -license $WHATAP_LICENSE \
-pcode $WHATAP_PCODE -server.host $WHATAP_HOST \
-category $CATEGORY -pk Pod
$ ./focus -h
______ WHATAP
/ ____/___ _______ _______
/ /_ / __ \/ ___/ / / / ___/
/ __/ / /_/ / /__/ /_/ (__ )
/_/ \____/\___/\__,_/____/
WhaTap Focus ver 1.1.2
Copyright ⓒ 2019 WhaTap Labs Inc. All rights reserved.
2022/01/20 11:59:30 [error] no project code[-pcode]
usage: focus -pcode <pcode> : project code
...
-pk <fieldname> :[opt] primary key field
Focus v1.1.0
Initial release