Code Monkey home page Code Monkey logo

d1_log_aggregation's People

Contributors

gothub avatar leinfelder avatar nahf avatar taojing2002 avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

d1_log_aggregation's Issues

Set up monitoring for d1_log_aggregation service

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

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.