Skip to content

Comments

log warn when channel is near full#2460

Merged
fgalan merged 6 commits intomasterfrom
task/alarm_channel_full
Apr 22, 2025
Merged

log warn when channel is near full#2460
fgalan merged 6 commits intomasterfrom
task/alarm_channel_full

Conversation

@AlvaroVega
Copy link
Member

@AlvaroVega AlvaroVega commented Apr 15, 2025

#2459

This PR prints warn logs like:
time=2025-04-21T06:59:22.309Z | lvl=WARN | corr=N/A | trans=N/A | srv=N/A | subsrv=N/A | comp=cygnus-ngsi | op=processNewBatches | msg=com.telefonica.iot.cygnus.sinks.NGSISink[525] : High Channel usage: 92.0% in sink postgis-sink

@AlvaroVega AlvaroVega marked this pull request as ready for review April 21, 2025 07:42
@AlvaroVega AlvaroVega changed the title log as error when channel is full log warn when channel is near full Apr 21, 2025
@GregorioBlazquez
Copy link
Collaborator

Isn't there a need to implement this functionality in the other sinks besides NGSI?

@AlvaroVega
Copy link
Member Author

Isn't there a need to implement this functionality in the other sinks besides NGSI?

No, just ngsi.

@AlvaroVega AlvaroVega requested a review from fgalan April 22, 2025 13:30
Copy link
Member

@fgalan fgalan left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@fgalan fgalan merged commit 12f6b2b into master Apr 22, 2025
7 checks passed
@fgalan fgalan deleted the task/alarm_channel_full branch April 22, 2025 16:30
@AlvaroVega AlvaroVega mentioned this pull request Feb 3, 2026
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.

3 participants