Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature heartbeat #682

Open
wants to merge 19 commits into
base: main
Choose a base branch
from
Open

Conversation

chenjiahui
Copy link

@chenjiahui chenjiahui commented Jul 2, 2024

Proposed Changes:

add the Heartbeat function, you can simply add the following configuration to the loggie.yml configuration file:

Additional documentation:

heartbeat:  
  address: http://127.0.0.1:8000/api/heartbeat  
  interval: 10  
  nodeName: node-01

This configuration enables the Heartbeat feature, where:

  • address specifies the endpoint where the heartbeat requests will be sent, in this case http://127.0.0.1:8000/api/heartbeat.
  • interval defines the interval (in seconds) at which heartbeat messages are sent. In this example, it is set to 10 seconds.
  • nodeName identifies the node sending the heartbeat, in this case named node-01.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants