matrix-org / matrix-org/mjolnir

Connect bot-sdk's Metrics engine up to Prometheus for finer-grained metrics

Open
#574 0 comments 0 reactions 0 assignees View on GitHub
T-Enhancement
Dominant language
TypeScript
Stars
445
Forks
75
Avg merge
2d 44m
Merged PRs (30d)
3

Description

It won't be perfect, but it'd allow us to measure internal application health like redaction failures and such. Currently we appear to only expose default NodeJS metrics, which aren't detailed enough to make automated decisions on.

In future it'd be nice to also have metrics for actual internal health exclusive of the bot-sdk operations.

Contributor guide

Open the contributing guide

Research direction

Locate the bot-sdk Metrics engine and the existing default NodeJS metrics entry point, then review how Prometheus metrics are currently exposed. Define which internal health signals, including redaction failures, should be exported and verify that the resulting metrics support finer-grained application-health decisions without removing the existing NodeJS metrics.

Written by the indexing model from the issue text.

Assessment

Tech stack
node.js, prometheus, typescript
Domain
backend, observability
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.