FeatureFuel
1

feat: add a prometheus scrape endpoint

Source: outline/outline#14681 · opened by @dm1chalak
Currently the only supported method of metric collection for Outline is pushing metrics to a StatsD server using the client configured in Metrics.ts. Prometheus scrape endpoints are generally preferred over pushing metrics, for long-running services, for a number of reasons: • simplified client logic - you expose an endpoint with metric values, an aggregator like Prometheus is responsible for the discovery and scrape configuration • push metrics make it hard to tell if a service is "down" or just hasn't pushed anything in a while • Prometheus is pretty ubiquitous in service monitoring, and it makes sense to support the most popular observability stacks I currently deploy Outline to kubernetes, and in order for Prometheus to scrape metrics I need to use StatsD Exporter sidecar containers and manually maintain mappings so that metrics names and labels are formatted correctly for dashboards and alerts. It would make my life a lot easier if it native…

No pledges yet. Be the first to back this.

Make a pledge

Pledge your monetary support if this feature is added.

$

Comments

No comments yet.

Replying to

Add a comment

What do you think about this feature request?


Similar requests