dataoneorg / d1_log_aggregation Goto Github PK
View Code? Open in Web Editor NEWThe CN log aggregation component
The CN log aggregation component
Related to #1
Whenever the d1_log_aggregation service encounters issues, it automatically turns off sync for event logs. It would be useful if we have some monitoring system set up so these errors don't go unnoticed and we can take timely action and avoid problems related to unavailable metrics in CN Solr.
Sync issues with d1_log_aggregation service
The d1 log aggregation service running on the MNs periodically syncs the event logs to CN Solr. We use these raw event logs to push to the ELK stack (running on the logproc machine) to compute metrics for our services.
There seems to be some issue with the logic for the event log syncing. Whenever this process encounters some transient errors (network outage, etc.) the logaggreation service retries sync a couple of times and after all unsuccessful attempts, it automatically turns off the d1NodeAggregateLogs
flag.
At this point, the MN no longer syncs the event logs with the CN until the d1NodeAggregateLogs
flag is turned back on manually.
Possibly the logic that needs refactoring to solve this issue. (code block)
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.