Subversion Repositories SmartDukaan

Rev

Show changed files | Details | Compare with Previous | Blame | RSS feed

Filtering Options

Rev Age Author Path Log message Diff
37395 1 d 3 h amit /trunk/profitmandi-cron/src/main/java/com/smartdukaan/cron/ observability: retire the dead Nagios monitoring path, migrate balance signals to Micrometer

There is no Nagios server and the NRPE daemons have been removed from every
host, so the properties files written under /var/log/services were being
produced for nobody.

Deleted:
- CronMetricsService: zero references. Spring instantiated the @Service so its
constructor registered three meters, but nothing ever incremented them --
cron_execution_* read 0 in prometheus while cron_job_count_total (from
CronJobMonitorAspect) had recorded 1,597 executions.
- NagiosMonitoringScheduledSkeleton.

Removed the nagios properties writes from ScheduledSkeleton (-155 lines) and
KnowlarityCallMonitorScheduler (-46, including its now-purposeless
markTaskComplete helper). These recorded a per-job 0/1 status that
CronJobMonitorAspect already captures properly as success, failure and
duration metrics.

Kept the two signals that are genuinely useful: SMS gateway balance and the
ThinkWalnut recharge wallet balance now publish as Micrometer gauges via the
new BalanceGauges component, scraped from /actuator/prometheus. -1 means 'not
read yet' so a scrape before the first run is distinguishable from a real zero.

No behaviour change to any scheduled job. Compiles clean.
 
26228 2409 d 10 h amit.gupta /trunk/ Fixed Recharge  
24891 2673 d 4 h amit.gupta /trunk/profitmandi-cron/src/main/java/com/smartdukaan/cron/monitored/  
24879 2681 d 12 h govind /trunk/profitmandi-cron/src/main/java/com/smartdukaan/cron/monitored/  
24121 2886 d 7 h govind /trunk/ Target Vs Sale and Update Bill Details  
23794 2987 d 12 h govind /trunk/profitmandi-cron/src/main/java/com/smartdukaan/cron/ For Nagios Monitoring of thinkwalet smscount and oxygen balance  
23755 3007 d 14 h amit.gupta /trunk/profitmandi-cron/src/main/ Added fixed project setup  
23738 3009 d 5 h amit.gupta /trunk/profitmandi-cron/src/main/java/com/smartdukaan/cron/ Fixed issues related to spring  
23731 3009 d 9 h amit.gupta /trunk/profitmandi-cron/src/main/java/com/smartdukaan/cron/monitored/  
23730 3009 d 9 h amit.gupta /trunk/profitmandi-cron/src/main/java/com/smartdukaan/cron/monitored/  
23724 3009 d 16 h amit.gupta /trunk/profitmandi-cron/src/main/java/com/smartdukaan/cron/ Fixed scheduler project  
23723 3009 d 17 h amit.gupta /trunk/profitmandi-cron/ First commit