Skip to content

Conversation

@rozzilla
Copy link
Contributor

@rozzilla rozzilla commented Jul 1, 2025

Add a few Prometheus metrics that can be then consumed (for instance by watt-admin)

Signed-off-by: Roberto Bianchi <roberto.bianchi@spendesk.com>
@mcollina
Copy link
Member

mcollina commented Jul 1, 2025

CI is failing for low coverage

rozzilla added 2 commits July 2, 2025 09:20
Signed-off-by: Roberto Bianchi <roberto.bianchi@spendesk.com>
Signed-off-by: Roberto Bianchi <roberto.bianchi@spendesk.com>
Copy link
Member

@mcollina mcollina left a comment

Choose a reason for hiding this comment

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

When instantiating @platformatic/kafka, you should also configure it to emit metrics data

Signed-off-by: Roberto Bianchi <roberto.bianchi@spendesk.com>
Copy link
Member

@mcollina mcollina left a comment

Choose a reason for hiding this comment

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

lgtm

rozzilla added 2 commits July 2, 2025 17:35
Signed-off-by: Roberto Bianchi <roberto.bianchi@spendesk.com>
Signed-off-by: Roberto Bianchi <roberto.bianchi@spendesk.com>
Copy link
Member

@mcollina mcollina left a comment

Choose a reason for hiding this comment

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

Are you enabling the kafka metrics?

rozzilla added 2 commits July 3, 2025 11:15
Signed-off-by: Roberto Bianchi <roberto.bianchi@spendesk.com>
Signed-off-by: Roberto Bianchi <roberto.bianchi@spendesk.com>
@rozzilla
Copy link
Contributor Author

rozzilla commented Jul 3, 2025

Are you enabling the kafka metrics?

@mcollina, they were missing in the Consumer instantiated from test/fixtures/kafka-monitor.js. Added on 6ef3bfc

Copy link
Member

@mcollina mcollina left a comment

Choose a reason for hiding this comment

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

lgtm

@mcollina mcollina merged commit 2270af0 into platformatic:main Jul 4, 2025
2 checks passed
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.

2 participants