log4js-node / log4js-node/slack

Rate limiting and/or send interval

Open
#1 0 comments 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
JavaScript
Stars
8
Forks
8
PR merge metrics
No merged PRs in 30d

Description

The slack API has rate limit of 1 message per second, see https://api.slack.com/docs/rate-limits.

The slack adapter should combine multiple log message into one slack message if this rate limit would be exceeded. This could also be solved by introducing a sendInterval option like in the stmp appender.

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by inspecting the Slack adapter and the existing sendInterval option in the stmp appender. Confirm how messages are sent and determine whether batching or an interval best addresses Slack's one-message-per-second limit; done means the adapter respects the limit without losing log messages.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript
Domain
api
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.